PeriodO enrichment for Thanados via labels of native_periods

This commit is contained in:
Alessia Bardi 2022-06-29 17:32:51 +02:00
parent e0196416c5
commit 055f5ce4dd
1 changed files with 26 additions and 0 deletions

View File

@ -381,6 +381,32 @@ WHERE {
?periodO_URI time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
};
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/>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::thanados::periodoplus> {
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
USING <https://ariadne-infrastructure.eu/ariadne/periodo>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api>
WHERE {
?temporal aocat:has_native_period ?np .
?np skos:prefLabel ?y
?periodO_URI skos:prefLabel ?l .
?periodO_URI time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
?periodO_URI time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
};