forked from acdh-oeaw/dha-ontology
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsparql.txt
28 lines (23 loc) · 1.13 KB
/
sparql.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix dc: <http://purl.org/dc/elements/1.1/>
prefix dct: <http://purl.org/dc/terms/>
prefix dha: <https://digital-humanities.at/schema#>
prefix premis: <http://www.loc.gov/premis/rdf/v1#>
select * where { ?oid a dha:RepoObject.
?pid dha:isMetadataDescriptionOf ?oid.
?pid ?p ?o.
filter regex(str(?p), "dc.*")
}
select * where { ?oid a dha:RepoObject.
?oid dha:hasAnnotationDescription ?description.
?description ?p ?o
}
select * where { ?oid a dha:RepoObject.
?oid dha:hasPreservationDescription ?description.
?description dha:hasLicense ?license
}
select * where { ?collection dha:hasType ?type.
?pid dha:isMetadataDescriptionOf ?collection.
?pid ?p ?o.
filter regex(str(?p), "dc.*")
}