added periodo query to rockart
This commit is contained in:
parent
811cd03fdc
commit
a3cb6201dc
|
@ -266,3 +266,28 @@ WHERE {
|
|||
?native_subject skos:narrowMatch ?aat .
|
||||
}
|
||||
};
|
||||
|
||||
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::snd::periodoplus> {
|
||||
?temporal aocat:has_period ?periodO .
|
||||
?temporal aocat:from ?temporalFrom .
|
||||
?temporal aocat:until ?temporalUntil .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::snd::rockart> {
|
||||
?temporal aocat:has_native_period ?native_period .
|
||||
?native_period skos:prefLabel ?native_label .
|
||||
optional {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::snd::periodo> {
|
||||
?periodO skos:altLabel ?native_label .
|
||||
?periodO time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
|
||||
?periodO time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue