fix for periodO match
This commit is contained in:
parent
fa1e888dad
commit
26c5714107
|
@ -244,15 +244,14 @@ WHERE {
|
|||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
|
||||
?temporal aocat:has_native_period ?native_period .
|
||||
?native_period skos:prefLabel ?native_label .
|
||||
optional {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodo> {
|
||||
?periodO skos:altLabel ?native_label .
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodo> {
|
||||
?periodO skos:altLabel ?lowercase_native_label .
|
||||
?periodO skos:inScheme <http://n2t.net/ark:/99152/p0kh9ds> .
|
||||
?periodO time:intervalStartedBy ?intervalStartedBy .
|
||||
?intervalStartedBy skos:prefLabel ?temporalFrom .
|
||||
?periodO time:intervalFinishedBy ?intervalFinishedBy .
|
||||
?intervalFinishedBy skos:prefLabel ?temporalUntil .
|
||||
}
|
||||
}
|
||||
BIND(ucase(?lowercase_native_label) as ?native_label)
|
||||
}
|
||||
}
|
||||
};
|
|
@ -151,17 +151,16 @@ WHERE {
|
|||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::398> {
|
||||
?temporal aocat:has_native_period ?native_period .
|
||||
?native_period skos:prefLabel ?native_label .
|
||||
optional {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodo> {
|
||||
?periodO skos:altLabel ?native_label .
|
||||
?periodO skos:inScheme <http://n2t.net/ark:/99152/p0kh9ds> .
|
||||
?periodO time:intervalStartedBy ?intervalStartedBy .
|
||||
?intervalStartedBy skos:prefLabel ?temporalFrom .
|
||||
?periodO time:intervalFinishedBy ?intervalFinishedBy .
|
||||
?intervalFinishedBy skos:prefLabel ?temporalUntil .
|
||||
}
|
||||
?temporal aocat:has_native_period ?native_period .
|
||||
?native_period skos:prefLabel ?native_label .
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodo> {
|
||||
?periodO skos:altLabel ?lowercase_native_label .
|
||||
?periodO skos:inScheme <http://n2t.net/ark:/99152/p0kh9ds> .
|
||||
?periodO time:intervalStartedBy ?intervalStartedBy .
|
||||
?intervalStartedBy skos:prefLabel ?temporalFrom .
|
||||
?periodO time:intervalFinishedBy ?intervalFinishedBy .
|
||||
?intervalFinishedBy skos:prefLabel ?temporalUntil .
|
||||
BIND(ucase(?lowercase_native_label) as ?native_label)
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
|
@ -1,3 +1,23 @@
|
|||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::snd::zip> {
|
||||
?s aocat:has_temporal_coverage <https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> .
|
||||
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Temporal_Region> .
|
||||
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdfs:label "Not provided" .
|
||||
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::snd::zip> {
|
||||
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
|
||||
MINUS {
|
||||
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
|
||||
?s aocat:has_temporal_coverage ?tc .
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
|
|
Loading…
Reference in New Issue