Skip to content

Commit

Permalink
IMBOR (very) minor patch .02 #1015
Browse files Browse the repository at this point in the history
  • Loading branch information
RiX012 committed Nov 24, 2022
1 parent f9dc3cf commit 6690709
Show file tree
Hide file tree
Showing 21 changed files with 41 additions and 38 deletions.
Binary file modified data/IMBOR-2022 (LinkedData zipfile).zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
13 changes: 7 additions & 6 deletions data/imbor-rest-api-linkset.ttl

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions sparql-query-runner.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"imbor-term": "https://data.crow.nl/imbor/term/",
"imbor-refmodels": "https://data.crow.nl/imbor-ref/def/",
"imbor-meta": "https://data.crow.nl/imbor/aanvullend-metamodel/",
"imbor-refmodels-id": "https://data.crow.nl/imbor-ref/id/",
"quantitykind": "http://qudt.org/vocab/quantitykind/",
"nen2660": "https://w3id.org/nen2660/def#",
"nen2660-term": "https://w3id.org/nen2660/term#",
Expand Down
2 changes: 1 addition & 1 deletion src/transformations/hernoemen-refurls.rq
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prefix nen2660: <https://w3id.org/nen2660/def#>
prefix imbor-term: <https://data.crow.nl/imbor/term/>
prefix imbor: <https://data.crow.nl/imbor/def/>
prefix imbor-refmodels: <https://data.crow.nl/imbor-ref/def/>
prefix mapping: <https://data.crow.nl/imbor-ref/id/>
prefix imbor-refmodels-id: <https://data.crow.nl/imbor-ref/id/>

prefix dct: <http://purl.org/dc/terms/>
prefix geo: <http://www.opengis.net/ont/geosparql#>
Expand Down
4 changes: 2 additions & 2 deletions src/transformations/informatiemodellen.rq
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix imbor-term: <https://data.crow.nl/imbor/term/>
prefix imbor: <https://data.crow.nl/imbor/def/>
prefix imbor-refmodels: <https://data.crow.nl/imbor-ref/def/>
prefix mapping: <https://data.crow.nl/imbor-ref/id/>
prefix imbor-refmodels-id: <https://data.crow.nl/imbor-ref/id/>

prefix dct: <http://purl.org/dc/terms/>
prefix geo: <http://www.opengis.net/ont/geosparql#>
Expand Down Expand Up @@ -37,5 +37,5 @@ insert {

BIND (STRDT(?URL, xsd:anyURI) as ?urlAnyURI)
BIND (STRLANG(?Definitie, "nl") as ?DefinitieNL)
BIND (URI(CONCAT(STR(mapping:), ?refInformatiemodelGUID)) AS ?imUri)
BIND (URI(CONCAT(STR(imbor-refmodels-id:), ?refInformatiemodelGUID)) AS ?imUri)
}
2 changes: 1 addition & 1 deletion src/transformations/mim-attributen.rq
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix imbor-term: <https://data.crow.nl/imbor/term/>
prefix imbor: <https://data.crow.nl/imbor/def/>
prefix imbor-refmodels: <https://data.crow.nl/imbor-ref/def/>
prefix mapping: <https://data.crow.nl/imbor-ref/id/>
prefix imbor-refmodels-id: <https://data.crow.nl/imbor-ref/id/>

prefix dct: <http://purl.org/dc/terms/>
prefix geo: <http://www.opengis.net/ont/geosparql#>
Expand Down
2 changes: 1 addition & 1 deletion src/transformations/mim-domeinwaarden.rq
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix imbor-term: <https://data.crow.nl/imbor/term/>
prefix imbor: <https://data.crow.nl/imbor/def/>
prefix imbor-refmodels: <https://data.crow.nl/imbor-ref/def/>
prefix mapping: <https://data.crow.nl/imbor-ref/id/>
prefix imbor-refmodels-id: <https://data.crow.nl/imbor-ref/id/>

prefix dct: <http://purl.org/dc/terms/>
prefix geo: <http://www.opengis.net/ont/geosparql#>
Expand Down
2 changes: 1 addition & 1 deletion src/transformations/mim-enumeraties.rq
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix imbor-term: <https://data.crow.nl/imbor/term/>
prefix imbor: <https://data.crow.nl/imbor/def/>
prefix imbor-refmodels: <https://data.crow.nl/imbor-ref/def/>
prefix mapping: <https://data.crow.nl/imbor-ref/id/>
prefix imbor-refmodels-id: <https://data.crow.nl/imbor-ref/id/>

prefix dct: <http://purl.org/dc/terms/>
prefix geo: <http://www.opengis.net/ont/geosparql#>
Expand Down
2 changes: 1 addition & 1 deletion src/transformations/mim-klasses.rq
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix imbor-term: <https://data.crow.nl/imbor/term/>
prefix imbor: <https://data.crow.nl/imbor/def/>
prefix imbor-refmodels: <https://data.crow.nl/imbor-ref/def/>
prefix mapping: <https://data.crow.nl/imbor-ref/id/>
prefix imbor-refmodels-id: <https://data.crow.nl/imbor-ref/id/>

prefix dct: <http://purl.org/dc/terms/>
prefix geo: <http://www.opengis.net/ont/geosparql#>
Expand Down
2 changes: 1 addition & 1 deletion src/transformations/mim-relaties.rq
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix imbor-term: <https://data.crow.nl/imbor/term/>
prefix imbor: <https://data.crow.nl/imbor/def/>
prefix imbor-refmodels: <https://data.crow.nl/imbor-ref/def/>
prefix mapping: <https://data.crow.nl/imbor-ref/id/>
prefix imbor-refmodels-id: <https://data.crow.nl/imbor-ref/id/>

prefix dct: <http://purl.org/dc/terms/>
prefix geo: <http://www.opengis.net/ont/geosparql#>
Expand Down
3 changes: 2 additions & 1 deletion src/transformations/minimale-dataset.rq
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ prefix nen2660: <https://w3id.org/nen2660/def#>
prefix imbor-term: <https://data.crow.nl/imbor/term/>
prefix imbor: <https://data.crow.nl/imbor/def/>
prefix imbor-refmodels: <https://data.crow.nl/imbor-ref/def/>
prefix imbor-refmodels-id: <https://data.crow.nl/imbor-ref/id/>

prefix dct: <http://purl.org/dc/terms/>
prefix geo: <http://www.opengis.net/ont/geosparql#>
Expand Down Expand Up @@ -53,7 +54,7 @@ WHERE {
?im csv:refInformatiemodelID ?refInformatiemodel ;
csv:refInformatiemodelGUID ?refInformatiemodelGUID .

BIND (URI(CONCAT(STR(imbor:), ?refInformatiemodelGUID)) AS ?imUri)
BIND (URI(CONCAT(STR(imbor-refmodels-id:), ?refInformatiemodelGUID)) AS ?imUri)
}
}

Expand Down
6 changes: 3 additions & 3 deletions src/transformations/referentiemodel-attributen.rq
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prefix nen2660: <https://w3id.org/nen2660/def#>
prefix imbor-term: <https://data.crow.nl/imbor/term/>
prefix imbor: <https://data.crow.nl/imbor/def/>
prefix imbor-refmodels: <https://data.crow.nl/imbor-ref/def/>
prefix mapping: <https://data.crow.nl/imbor-ref/id/>
prefix imbor-refmodels-id: <https://data.crow.nl/imbor-ref/id/>

prefix dct: <http://purl.org/dc/terms/>
prefix geo: <http://www.opengis.net/ont/geosparql#>
Expand Down Expand Up @@ -42,14 +42,14 @@ insert {
BIND ( STRLANG(?Toelichting, "nl") as ?ToelichtingNL )
BIND ( STRLANG(?Definitie, "nl") as ?DefinitieNL )
BIND ( STRDT(?URI, xsd:anyURI) as ?uriAnyUri )
BIND (URI(CONCAT(STR(mapping:), ?refAttribuutGUID)) AS ?uri)
BIND (URI(CONCAT(STR(imbor-refmodels-id:), ?refAttribuutGUID)) AS ?uri)
}

graph <csv:table/refModel_Informatiemodellen> {
?im csv:refInformatiemodelGUID ?refInformatiemodelGUID ;
csv:refInformatiemodelID ?refInformatiemodel .

BIND (URI(CONCAT(STR(mapping:), ?refInformatiemodelGUID)) AS ?imUri)
BIND (URI(CONCAT(STR(imbor-refmodels-id:), ?refInformatiemodelGUID)) AS ?imUri)
}

}
6 changes: 3 additions & 3 deletions src/transformations/referentiemodel-domeinwaarden.rq
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prefix nen2660: <https://w3id.org/nen2660/def#>
prefix imbor-term: <https://data.crow.nl/imbor/term/>
prefix imbor: <https://data.crow.nl/imbor/def/>
prefix imbor-refmodels: <https://data.crow.nl/imbor-ref/def/>
prefix mapping: <https://data.crow.nl/imbor-ref/id/>
prefix imbor-refmodels-id: <https://data.crow.nl/imbor-ref/id/>

prefix dct: <http://purl.org/dc/terms/>
prefix geo: <http://www.opengis.net/ont/geosparql#>
Expand Down Expand Up @@ -44,14 +44,14 @@ insert {
BIND ( STRLANG(?Toelichting, "nl") as ?ToelichtingNL )
BIND ( STRLANG(?Definitie, "nl") as ?DefinitieNL )
BIND ( STRDT(?URI, xsd:anyURI) as ?uriAnyUri )
BIND (URI(CONCAT(STR(mapping:), ?refDomeinwaardeGUID)) AS ?uri)
BIND (URI(CONCAT(STR(imbor-refmodels-id:), ?refDomeinwaardeGUID)) AS ?uri)
}

graph <csv:table/refModel_Informatiemodellen> {
?im csv:refInformatiemodelGUID ?refInformatiemodelGUID ;
csv:refInformatiemodelID ?refInformatiemodel .

BIND (URI(CONCAT(STR(mapping:), ?refInformatiemodelGUID)) AS ?imUri)
BIND (URI(CONCAT(STR(imbor-refmodels-id:), ?refInformatiemodelGUID)) AS ?imUri)
}

}
2 changes: 1 addition & 1 deletion src/transformations/referentiemodel-mapping-delete-all.rq
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prefix nen2660: <https://w3id.org/nen2660/def#>
prefix imbor-term: <https://data.crow.nl/imbor/term/>
prefix imbor: <https://data.crow.nl/imbor/def/>
prefix imbor-refmodels: <https://data.crow.nl/imbor-ref/def/>
prefix mapping: <https://data.crow.nl/imbor-ref/id/>
prefix imbor-refmodels-id: <https://data.crow.nl/imbor-ref/id/>

prefix dct: <http://purl.org/dc/terms/>
prefix geo: <http://www.opengis.net/ont/geosparql#>
Expand Down
2 changes: 1 addition & 1 deletion src/transformations/referentiemodel-mapping-delete-ref.rq
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prefix nen2660: <https://w3id.org/nen2660/def#>
prefix imbor-term: <https://data.crow.nl/imbor/term/>
prefix imbor: <https://data.crow.nl/imbor/def/>
prefix imbor-refmodels: <https://data.crow.nl/imbor-ref/def/>
prefix mapping: <https://data.crow.nl/imbor-ref/id/>
prefix imbor-refmodels-id: <https://data.crow.nl/imbor-ref/id/>

prefix dct: <http://purl.org/dc/terms/>
prefix geo: <http://www.opengis.net/ont/geosparql#>
Expand Down
2 changes: 1 addition & 1 deletion src/transformations/referentiemodel-mapping-delete.rq
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prefix nen2660: <https://w3id.org/nen2660/def#>
prefix imbor-term: <https://data.crow.nl/imbor/term/>
prefix imbor: <https://data.crow.nl/imbor/def/>
prefix imbor-refmodels: <https://data.crow.nl/imbor-ref/def/>
prefix mapping: <https://data.crow.nl/imbor-ref/id/>
prefix imbor-refmodels-id: <https://data.crow.nl/imbor-ref/id/>

prefix dct: <http://purl.org/dc/terms/>
prefix geo: <http://www.opengis.net/ont/geosparql#>
Expand Down
20 changes: 10 additions & 10 deletions src/transformations/referentiemodel-mapping.rq
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ prefix imbor-term: <https://data.crow.nl/imbor/term/>
prefix imbor: <https://data.crow.nl/imbor/def/>
prefix imbor-domeinwaarde: <https://data.crow.nl/imbor/id/domeinwaarden/>
prefix imbor-refmodels: <https://data.crow.nl/imbor-ref/def/>
prefix mapping: <https://data.crow.nl/imbor-ref/id/>
prefix imbor-refmodels-id: <https://data.crow.nl/imbor-ref/id/>

prefix dct: <http://purl.org/dc/terms/>
prefix geo: <http://www.opengis.net/ont/geosparql#>
Expand Down Expand Up @@ -54,7 +54,7 @@ insert {

optional { ?mapping csv:Toelichting ?Toelichting . }
BIND ( STRLANG(?Toelichting, "nl") as ?ToelichtingNL )
BIND (URI(CONCAT(STR(mapping:), ?MappingGUID)) AS ?mappingUri)
BIND (URI(CONCAT(STR(imbor-refmodels-id:), ?MappingGUID)) AS ?mappingUri)

# Attributen en domeinwaarden komen altijd samen voor (x3): beide zijn een VocabulairID.
optional {
Expand Down Expand Up @@ -94,33 +94,33 @@ insert {
?mapping csv:refAttribuut1 ?refAttribuut1 ; csv:refDomeinwaarde1 ?refDomeinwaarde1 .
graph <csv:table/refModel_Attributen> {
[] csv:refAttribuutID ?refAttribuut1 ; csv:refAttribuutGUID ?refAttribuut1GUID .
BIND (URI(CONCAT(STR(mapping:), ?refAttribuut1GUID)) AS ?refAttribuut1Uri)
BIND (URI(CONCAT(STR(imbor-refmodels-id:), ?refAttribuut1GUID)) AS ?refAttribuut1Uri)
}
graph <csv:table/refModel_Domeinwaarden> {
[] csv:refDomeinwaardeID ?refDomeinwaarde1 ; csv:refDomeinwaardeGUID ?refDomeinwaarde1GUID .
BIND (URI(CONCAT(STR(mapping:), ?refDomeinwaarde1GUID)) AS ?refDomeinwaarde1Uri)
BIND (URI(CONCAT(STR(imbor-refmodels-id:), ?refDomeinwaarde1GUID)) AS ?refDomeinwaarde1Uri)
}
}
optional {
?mapping csv:refAttribuut2 ?refAttribuut2 ; csv:refDomeinwaarde2 ?refDomeinwaarde2 .
graph <csv:table/refModel_Attributen> {
[] csv:refAttribuutID ?refAttribuut2 ; csv:refAttribuutGUID ?refAttribuut2GUID .
BIND (URI(CONCAT(STR(mapping:), ?refAttribuut2GUID)) AS ?refAttribuut2Uri)
BIND (URI(CONCAT(STR(imbor-refmodels-id:), ?refAttribuut2GUID)) AS ?refAttribuut2Uri)
}
graph <csv:table/refModel_Domeinwaarden> {
[] csv:refDomeinwaardeID ?refDomeinwaarde2 ; csv:refDomeinwaardeGUID ?refDomeinwaarde2GUID .
BIND (URI(CONCAT(STR(mapping:), ?refDomeinwaarde2GUID)) AS ?refDomeinwaarde2Uri)
BIND (URI(CONCAT(STR(imbor-refmodels-id:), ?refDomeinwaarde2GUID)) AS ?refDomeinwaarde2Uri)
}
}
optional {
?mapping csv:refAttribuut3 ?refAttribuut3 ; csv:refDomeinwaarde3 ?refDomeinwaarde3 .
graph <csv:table/refModel_Attributen> {
[] csv:refAttribuutID ?refAttribuut3 ; csv:refAttribuutGUID ?refAttribuut3GUID .
BIND (URI(CONCAT(STR(mapping:), ?refAttribuut3GUID)) AS ?refAttribuut3Uri)
BIND (URI(CONCAT(STR(imbor-refmodels-id:), ?refAttribuut3GUID)) AS ?refAttribuut3Uri)
}
graph <csv:table/refModel_Domeinwaarden> {
[] csv:refDomeinwaardeID ?refDomeinwaarde3 ; csv:refDomeinwaardeGUID ?refDomeinwaarde3GUID .
BIND (URI(CONCAT(STR(mapping:), ?refDomeinwaarde3GUID)) AS ?refDomeinwaarde3Uri)
BIND (URI(CONCAT(STR(imbor-refmodels-id:), ?refDomeinwaarde3GUID)) AS ?refDomeinwaarde3Uri)
}
}
}
Expand All @@ -137,13 +137,13 @@ insert {
graph <csv:table/refModel_Objecttypen> {
[] csv:refObjecttypeID ?refObjecttype ; csv:refObjecttypeGUID ?refObjecttypeGUID .

BIND (URI(CONCAT(STR(mapping:), ?refObjecttypeGUID)) AS ?refObjecttypeUri)
BIND (URI(CONCAT(STR(imbor-refmodels-id:), ?refObjecttypeGUID)) AS ?refObjecttypeUri)
}

graph <csv:table/refModel_Informatiemodellen> {
[] csv:refInformatiemodelID ?refInformatiemodel ; csv:refInformatiemodelGUID ?refInformatiemodelGUID .

BIND (URI(CONCAT(STR(mapping:), ?refInformatiemodelGUID)) AS ?imUri)
BIND (URI(CONCAT(STR(imbor-refmodels-id:), ?refInformatiemodelGUID)) AS ?imUri)
}

}
6 changes: 3 additions & 3 deletions src/transformations/referentiemodel-objecttypen.rq
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prefix nen2660: <https://w3id.org/nen2660/def#>
prefix imbor-term: <https://data.crow.nl/imbor/term/>
prefix imbor: <https://data.crow.nl/imbor/def/>
prefix imbor-refmodels: <https://data.crow.nl/imbor-ref/def/>
prefix mapping: <https://data.crow.nl/imbor-ref/id/>
prefix imbor-refmodels-id: <https://data.crow.nl/imbor-ref/id/>

prefix dct: <http://purl.org/dc/terms/>
prefix geo: <http://www.opengis.net/ont/geosparql#>
Expand Down Expand Up @@ -41,14 +41,14 @@ insert {
BIND ( STRLANG(?Toelichting, "nl") as ?ToelichtingNL )
BIND ( STRLANG(?Definitie, "nl") as ?DefinitieNL )
BIND ( STRDT(?URI, xsd:anyURI) as ?uriAnyUri )
BIND (URI(CONCAT(STR(mapping:), ?refObjecttypeGUID)) AS ?uri)
BIND (URI(CONCAT(STR(imbor-refmodels-id:), ?refObjecttypeGUID)) AS ?uri)
}

graph <csv:table/refModel_Informatiemodellen> {
?im csv:refInformatiemodelGUID ?refInformatiemodelGUID ;
csv:refInformatiemodelID ?refInformatiemodel .

BIND (URI(CONCAT(STR(mapping:), ?refInformatiemodelGUID)) AS ?imUri)
BIND (URI(CONCAT(STR(imbor-refmodels-id:), ?refInformatiemodelGUID)) AS ?imUri)
}

}
2 changes: 1 addition & 1 deletion src/transformations/shacl-messages&rules.rq
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ prefix imbor-term: <https://data.crow.nl/imbor/term/>
prefix imbor: <https://data.crow.nl/imbor/def/>
prefix imbor-domeinwaarde: <https://data.crow.nl/imbor/id/domeinwaarden/>
prefix imbor-refmodels: <https://data.crow.nl/imbor-ref/def/>
prefix mapping: <https://data.crow.nl/imbor-ref/id/>
prefix imbor-refmodels-id: <https://data.crow.nl/imbor-ref/id/>

prefix dct: <http://purl.org/dc/terms/>
prefix geo: <http://www.opengis.net/ont/geosparql#>
Expand Down

0 comments on commit 6690709

Please sign in to comment.