sparql insert for HNM (AAT missing)
This commit is contained in:
parent
420e31d866
commit
f55699a324
|
@ -103,3 +103,30 @@ INSERT {
|
|||
}
|
||||
};
|
||||
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
PREFIX time: <http://www.w3.org/2006/time#>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::hnm::periodoplus> {
|
||||
?temporal aocat:has_period ?periodO .
|
||||
?temporal aocat:from ?temporalFrom .
|
||||
?temporal aocat:until ?temporalUntil .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
|
||||
?temporal aocat:has_native_period ?native_period .
|
||||
?native_period skos:prefLabel ?native_label .
|
||||
optional {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadne/periodo> {
|
||||
?periodO skos:altLabel ?native_label .
|
||||
?periodO dcterms:spatial <http://www.wikidata.org/entity/Q28> .
|
||||
?periodO time:intervalStartedBy ?intervalStartedBy .
|
||||
?intervalStartedBy skos:prefLabel ?temporalFrom .
|
||||
?periodO time:intervalFinishedBy ?intervalFinishedBy .
|
||||
?intervalFinishedBy skos:prefLabel ?temporalUntil .
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue