enrich queries for OEAW UKPool
This commit is contained in:
parent
5a9c30250b
commit
22f7455ec2
|
@ -5,7 +5,7 @@ INSERT {
|
||||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::CollectionInfo> {
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::CollectionInfo> {
|
||||||
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
|
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
|
||||||
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
|
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
|
||||||
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
|
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "Collection"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
WHERE {
|
WHERE {
|
||||||
|
@ -56,4 +56,43 @@ USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::Colle
|
||||||
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OEAW/", ucase(strafter(str(?native_subject),"OEAW/")))) as ?uppercase_native_subject)
|
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OEAW/", ucase(strafter(str(?native_subject),"OEAW/")))) as ?uppercase_native_subject)
|
||||||
filter(?uppercase_native_subject=?aat_native_subject)
|
filter(?uppercase_native_subject=?aat_native_subject)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oeaw::periodo> {
|
||||||
|
?periodO ?pred ?o .
|
||||||
|
?o ?pred2 ?o2 .
|
||||||
|
?o2 ?pred3 ?o3 .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/ariadne/periodo> {
|
||||||
|
?periodO dcterms:spatial <http://www.wikidata.org/entity/Q40> .
|
||||||
|
?periodO ?pred ?o .
|
||||||
|
optional {
|
||||||
|
?o ?pred2 ?o2 .
|
||||||
|
optional {
|
||||||
|
?o2 ?pred3 ?o3 .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
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::oeaw::periodoplus> {
|
||||||
|
?temporal aocat:has_period ?periodO .
|
||||||
|
?temporal aocat:from ?from .
|
||||||
|
?temporal aocat:until ?until .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::CollectionInfo> {
|
||||||
|
?temporal aocat:has_period ?periodO .
|
||||||
|
?temporal aocat:from ?from .
|
||||||
|
?temporal aocat:until ?until .
|
||||||
|
}
|
||||||
|
};
|
|
@ -91,4 +91,53 @@ USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::sites
|
||||||
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OEAW/", ucase(strafter(str(?native_subject),"OEAW/")))) as ?uppercase_native_subject)
|
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OEAW/", ucase(strafter(str(?native_subject),"OEAW/")))) as ?uppercase_native_subject)
|
||||||
filter(?uppercase_native_subject=?aat_native_subject)
|
filter(?uppercase_native_subject=?aat_native_subject)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oeaw::periodo> {
|
||||||
|
?periodO ?pred ?o .
|
||||||
|
?o ?pred2 ?o2 .
|
||||||
|
?o2 ?pred3 ?o3 .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/ariadne/periodo> {
|
||||||
|
?periodO dcterms:spatial <http://www.wikidata.org/entity/Q40> .
|
||||||
|
?periodO ?pred ?o .
|
||||||
|
optional {
|
||||||
|
?o ?pred2 ?o2 .
|
||||||
|
optional {
|
||||||
|
?o2 ?pred3 ?o3 .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
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::oeaw::periodoplus> {
|
||||||
|
?temporal aocat:has_period ?periodO .
|
||||||
|
?temporal aocat:from ?temporalFrom .
|
||||||
|
?temporal aocat:until ?temporalUntil .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::sites> {
|
||||||
|
?temporal aocat:has_native_period ?native_period .
|
||||||
|
?native_period skos:prefLabel ?native_label .
|
||||||
|
optional {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oeaw::periodo> {
|
||||||
|
?periodO skos:altLabel ?native_label .
|
||||||
|
?periodO time:intervalStartedBy ?intervalStartedBy .
|
||||||
|
?intervalStartedBy time:hasDateTimeDescription ?startTimeDescr .
|
||||||
|
?startTimeDescr time:year ?temporalFrom .
|
||||||
|
?periodO time:intervalFinishedBy ?intervalFinishedBy .
|
||||||
|
?intervalFinishedBy time:hasDateTimeDescription ?finishedTimeDescr .
|
||||||
|
?finishedTimeDescr time:year ?temporalUntil .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
Loading…
Reference in New Issue