You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.2 KiB
SPARQL
27 lines
1.2 KiB
SPARQL
#PERIODO ENRICHMENT
|
|
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#>
|
|
INSERT {
|
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::<provider>::periodoplus> {
|
|
?temporal aocat:has_period ?periodO .
|
|
?temporal aocat:from ?temporalFrom .
|
|
?temporal aocat:until ?temporalUntil .
|
|
}
|
|
}
|
|
WHERE {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<provider>::<coll>> {
|
|
?temporal aocat:has_native_period ?native_period .
|
|
?native_period skos:prefLabel ?native_label .
|
|
optional {
|
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::<provider>::periodo> {
|
|
?periodO skos:altLabel ?native_label .
|
|
?periodO skos:inScheme <PROVIDER_PERIODO_SCHEME_URL> .
|
|
?periodO time:intervalStartedBy ?intervalStartedBy .
|
|
?intervalStartedBy skos:prefLabel ?temporalFrom .
|
|
?periodO time:intervalFinishedBy ?intervalFinishedBy .
|
|
?intervalFinishedBy skos:prefLabel ?temporalUntil .
|
|
}
|
|
}
|
|
}
|
|
}; |