<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Ok Pieter, we passen het nog aan. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Mvg</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Christophe</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Van:</b> Fannes Pieter <pieter.fannes@vlaanderen.be><br>
<b>Verzonden:</b> dinsdag 9 augustus 2022 14:41<br>
<b>Aan:</b> Geirnaert Steven <steven.geirnaert@vlaanderen.be>; De Blende Christophe <christophe.deblende@vlaanderen.be><br>
<b>CC:</b> phoenix@list.omgeving.vlaanderen.be <phoenix@list.omgeving.vlaanderen.be><br>
<b>Onderwerp:</b> Re: Gebruik nisref vocab als bron voor fusiegemeentes </font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Dag Christophe, </div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
De query is ok en werkt in dit geval wel maar je voegt er best de inScheme property bij (zie hieronder). Die zorgt dat je enkel naar codes in de refnis lijsten zoekt (er zitten ook mappings in naar concepten uit andere lijsten):</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<i>PREFIX xs: <http://www.w3.org/2001/XMLSchema#></i>
<div><i>PREFIX dc: <http://purl.org/dc/elements/1.1/></i></div>
<div><i>PREFIX skos: <http://www.w3.org/2004/02/skos/core#></i></div>
<div><i><br>
</i></div>
<div><i>select distinct ?old ?new</i></div>
<div><i>where {</i></div>
<div><i>  ?s skos:inScheme <http://vocab.belgif.be/auth/refnis2019>;</i></div>
<div><i>      dc:type "gemeente"^^xs:string;</i></div>
<div><i>      skos:notation ?new;</i></div>
<div><i>      skos:narrowMatch ?o.</i></div>
<div><i>  ?o skos:inScheme <http://vocab.belgif.be/auth/refnis1995>;</i></div>
<div><i>      dc:type "gemeente"^^xs:string;</i></div>
<div><i>      skos:notation ?old. </i></div>
<div><i>  FILTER (?old != ?new)</i></div>
<div><i>}</i></div>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<i>order by ?new ?old</i></div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<i><br>
</i></div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<a id="OWAAM836139" class="x_t0qjo x_mention x_ms-bgc-nlr x_ms-fcl-b" href="mailto:steven.geirnaert@vlaanderen.be">@Geirnaert Steven</a>  Hieronder de fouten die gecorrigeerd zouden moeten worden:</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<ul>
<li>http://vocab.belgif.be/auth/refnis2019/58001 heeft een incorrecte skos:notation property. Dit moet de waarde 58001 hebben en niet 55022</li><li style="display:block"><br>
</li><li>http://vocab.belgif.be/auth/refnis2019/12041 mist een skos:narrowMatch relatie naar http://vocab.belgif.be/auth/refnis1995/12034</li><li style="display:block">(Puurs (12030) en Sint-Amand​s (12034) zijn gefusioneerd naar Puurs-Sint-Amands (12041)</li><li style="display:block"><br>
</li><li>http://vocab.belgif.be/auth/refnis2019/72043 heeft een skos:exactMatch relatie naar http://vocab.belgif.be/auth/refnis1995/72029. Dit moet een skos:narrowMatch relatie zijn.</li><li style="display:block">(Overpelt (72029) en Neerpelt (72025) zijn gefusioneerd naar Pelt (72043))</li><li style="display:block"><br>
</li><li>http://vocab.belgif.be/auth/refnis2019/20001  en http://vocab.belgif.be/auth/refnis2019/20002 hebben een ongeldige relatie skos:broadMatch naar een onbestaand concept http://vocab.belgif.be/auth/refnis1995/20000:</li><ul style="list-style-type:circle">
<li>http://vocab.belgif.be/auth/refnis2019/20001 moet een skos:exactMatch relatie hebben naar http://vocab.belgif.be/auth/refnis1995/20001</li><li class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
http://vocab.belgif.be/auth/refnis2019/20002 moet een skos:exactMatch relatie hebben naar http://vocab.belgif.be/auth/refnis1995/20002
<br>
</li></ul>
</ul>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<i></i></div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Geirnaert Steven <steven.geirnaert@vlaanderen.be><br>
<b>Sent:</b> 09 August 2022 10:00<br>
<b>To:</b> De Blende Christophe <christophe.deblende@vlaanderen.be>; Fannes Pieter <pieter.fannes@vlaanderen.be><br>
<b>Cc:</b> phoenix@list.omgeving.vlaanderen.be <phoenix@list.omgeving.vlaanderen.be><br>
<b>Subject:</b> Re: Gebruik nisref vocab als bron voor fusiegemeentes </font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_x_MsoNormal, li.x_x_MsoNormal, div.x_x_MsoNormal
        {margin:0cm;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif}
span.x_x_E-mailStijl20
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:70.85pt 70.85pt 70.85pt 70.85pt}
ol
        {margin-bottom:0cm}
ul
        {margin-bottom:0cm}
-->
</style>
<div lang="NL-BE" style="word-wrap:break-word">
<div class="x_x_WordSection1">
<p class="x_x_MsoNormal"><span style="font-size:11.0pt">Dag Christophe,</span></p>
<p class="x_x_MsoNormal"><span style="font-size:11.0pt">Ik heb nog geen contact opgenomen, want ik verwachtte eerst nog de fouten door te krijgen om te kunnen melden, hiermee kan ik wel al gaan vragen, maar ik overleg eerst met Pieter om te horen of hij nog
 zaken heeft,</span></p>
<p class="x_x_MsoNormal"><span style="font-size:11.0pt">Mvg,</span></p>
<p class="x_x_MsoNormal"><span style="font-size:11.0pt">Steven </span></p>
<p class="x_x_MsoNormal"><span style="font-size:11.0pt"> </span></p>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_x_MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt; color:black">Van:
</span></b><span style="font-size:12.0pt; color:black">De Blende Christophe <christophe.deblende@vlaanderen.be><br>
<b>Datum: </b>dinsdag, 9 augustus 2022 om 09:17<br>
<b>Aan: </b>Geirnaert Steven <steven.geirnaert@vlaanderen.be>, Fannes Pieter <pieter.fannes@vlaanderen.be><br>
<b>CC: </b>phoenix@list.omgeving.vlaanderen.be <phoenix@list.omgeving.vlaanderen.be><br>
<b>Onderwerp: </b>Gebruik nisref vocab als bron voor fusiegemeentes </span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black">Dag Pieter, Steven, </span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black">in DSI hebben we een test uitgevoerd om de mapping te vinden van de fusie gemeentes. </span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black">Via volgende query zijn we erin geslaagd. </span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black">        SELECT ?old ?new
</span></p>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black">        WHERE {</span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black">          ?s</span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black">             skos:narrowMatch ?o;</span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black">             dc:type "gemeente";</span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black">             skos:notation ?new.</span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black">          ?o dc:type "gemeente";</span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black">             skos:notation ?old.</span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black">          FILTER(?old != ?new)</span></p>
</div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black">        }</span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black">We merken echter dat er 2 mappings ontbreken aangeduid in het geel:</span></p>
</div>
<div>
<ul type="disc">
<li class="x_x_MsoNormal" style="color:black"><span style="font-size:12.0pt; background:yellow">Overpelt (72029</span><span style="font-size:12.0pt">) en Neerpelt (72025) zijn gefusioneerd naar Pelt (72043)</span></li><li class="x_x_MsoNormal" style="color:black"><span style="font-size:12.0pt">Puurs (12030) en
<span style="background:yellow">Sint-Amand​s (12034)</span> zijn gefusioneerd naar Puurs-Sint-Amands (12041)</span></li></ul>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black"><a id="OWAAM386715" href="mailto:steven.geirnaert@vlaanderen.be"><span style="font-family:"Calibri",sans-serif; text-decoration:none">@Geirnaert Steven</span></a> ik dacht dat jij hier achter
 ging zitten om dit bij de authentieke bron in orde te krijgen. Is daar al iets mee gebeurt?</span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black"><a id="OWAAM916551" href="mailto:pieter.fannes@vlaanderen.be"><span style="font-family:"Calibri",sans-serif; text-decoration:none">@Fannes Pieter</span></a> kan je eens nagaan of de sparql
 query in orde is? Maar we vermoeden van wel, daar de data lijkt te kloppen.</span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black">Mvg</span></p>
</div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black">Christophe</span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>