added periodo matching
This commit is contained in:
parent
5823916782
commit
b2a54f4204
|
@ -323,4 +323,29 @@ WHERE {
|
|||
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/INRAP/", ucase(strafter(str(?native_subject),"Inrap/")))) as ?uppercase_native_subject)
|
||||
filter(?uppercase_native_subject=?aat_native_subject)
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
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::dolia::periodoplus> {
|
||||
?temporal aocat:has_period ?periodO .
|
||||
?temporal aocat:from ?temporalFrom .
|
||||
?temporal aocat:until ?temporalUntil .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dolia::test> {
|
||||
?temporal aocat:has_native_period ?native_period .
|
||||
?native_period skos:prefLabel ?p_label .
|
||||
optional {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::dolia::periodo> {
|
||||
?periodO skos:altLabel ?p_label .
|
||||
?periodO time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
|
||||
?periodO time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue