Skip to content

Commit

Permalink
Automated backup of SPARQL queries
Browse files Browse the repository at this point in the history
  • Loading branch information
rschalkrce committed Oct 11, 2024
1 parent 525d0e9 commit 17c2165
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
9 changes: 5 additions & 4 deletions LDV/RM-bouwstijl.rq
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ prefix ceo: <https://linkeddata.cultureelerfgoed.nl/def/ceo#>
prefix skos: <http://www.w3.org/2004/02/skos/core#>
prefix rn: <https://data.cultureelerfgoed.nl/term/id/rn/>

select ?rijksmonumentnummer ?bouwstijl ?bouwstijlLabel ?bouwstijlUri ?zuiverheid
select ?rijksmonumentnummer ?bouwstijl ?bouwstijlLabel ?bouwstijlUri ?zuiverheid ?toelichting

where
{
Expand All @@ -21,8 +21,9 @@ where
}
?rijksmonument ceo:rijksmonumentnummer ?rijksmonumentnummer.
?rijksmonument ceo:heeftStijlEnCultuur ?bouwstijl.
?rijksmonument ceo:heeftStijlEnCultuur/ceo:heeftStijlEnCultuurNaam ?bouwstijlUri.
?rijksmonument ceo:heeftStijlEnCultuur/ceo:heeftStijlEnCultuurNaam/skos:prefLabel ?bouwstijlLabel.
?rijksmonument ceo:heeftStijlEnCultuur/ceo:heeftZuiverheid/skos:prefLabel ?zuiverheid.
?bouwstijl ceo:heeftStijlEnCultuurNaam ?bouwstijlUri.
?bouwstijlUri skos:prefLabel ?bouwstijlLabel.
?bouwstijl ceo:heeftZuiverheid/skos:prefLabel ?zuiverheid.
optional { ?bouwstijl ceo:kennisregistratieToelichting ?toelichting. }
}
}
5 changes: 3 additions & 2 deletions LDV/RM-datering.rq
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ prefix ceo: <https://linkeddata.cultureelerfgoed.nl/def/ceo#>
prefix skos: <http://www.w3.org/2004/02/skos/core#>
prefix rn: <https://data.cultureelerfgoed.nl/term/id/rn/>

select ?rijksmonumentnummer ?gebeurtenisNaam ?beginDatum ?eindDatum ?indicatienauwkeurigheid
select ?rijksmonumentnummer ?gebeurtenisNaam ?beginDatum ?eindDatum ?indicatienauwkeurigheid ?toelichting

where
{
Expand All @@ -21,8 +21,9 @@ where
}
?rijksmonument ceo:heeftGebeurtenis ?gebeurtenis.
?gebeurtenis ceo:heeftDatering ?datering.
?rijksmonument ceo:heeftGebeurtenis/ceo:heeftGebeurtenisNaam/skos:prefLabel ?gebeurtenisNaam.
?gebeurtenis ceo:heeftGebeurtenisNaam/skos:prefLabel ?gebeurtenisNaam.
optional { ?gebeurtenis ceo:heeftDatering/ceo:heeftIndicatieNauwkeurigheid/skos:prefLabel ?indicatienauwkeurigheid. }
optional { ?gebeurtenis ceo:kennisregistratieToelichting ?toelichting. }
optional {
?datering ceo:heeftBeginDatering ?beginDatering.
?beginDatering ceo:datum ?beginDatum.
Expand Down
6 changes: 4 additions & 2 deletions LDV/RM-kennisdata-register.rq
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ prefix ceo: <https://linkeddata.cultureelerfgoed.nl/def/ceo#>
prefix skos: <http://www.w3.org/2004/02/skos/core#>
prefix rn: <https://data.cultureelerfgoed.nl/term/id/rn/>

select distinct ?rijksmonument ?rijksmonumentnummer ?gebeurtenisNaam ?beginDatum ?eindDatum ?indicatienauwkeurigheid ?bouwstijl ?bouwstijlLabel ?bouwstijlUri ?zuiverheid ?actorLabel ?rol ?plaatsActor ?link
select distinct ?rijksmonument ?rijksmonumentnummer ?toelichting ?gebeurtenisNaam ?beginDatum ?eindDatum ?indicatienauwkeurigheid ?bouwstijl ?bouwstijlLabel ?bouwstijlUri ?zuiverheid ?actorLabel ?rol ?plaatsActor ?link
where {
graph graph:instanties-rce {
?rijksmonument ceo:rijksmonumentnummer ?rijksmonumentnummer.
Expand All @@ -21,6 +21,9 @@ where {
?rijksmonument ceo:heeftJuridischeStatus <https://data.cultureelerfgoed.nl/term/id/rn/3e79bb7c-b459-4998-a9ed-78d91d069227>.
}

# Toelichting toevoegen indien aanwezig
optional {?rijksmonument ceo:heeftKennisregistratie/ceo:kennisregistratieToelichting ?toelichting. }

# Gebeurtenissen en datering
?rijksmonument ceo:heeftGebeurtenis ?gebeurtenis.
?gebeurtenis ceo:heeftGebeurtenisNaam/skos:prefLabel ?gebeurtenisNaam.
Expand Down Expand Up @@ -65,4 +68,3 @@ where {
}
}
}
limit 500

0 comments on commit 17c2165

Please sign in to comment.