enrich queries for FI (Iceland) Isleif collections and records
This commit is contained in:
parent
6e9537b17d
commit
91d0108969
|
@ -0,0 +1,90 @@
|
||||||
|
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 skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif> {
|
||||||
|
?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> skos:prefLabel "collection"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif> {
|
||||||
|
?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_type ?t .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||||
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::fi::aatplus> {
|
||||||
|
?record aocat:has_derived_subject ?aat .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi:aat>
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif>
|
||||||
|
WHERE {
|
||||||
|
{
|
||||||
|
?record aocat:has_native_subject ?concept .
|
||||||
|
?concept skos:exactMatch ?aat .
|
||||||
|
}
|
||||||
|
union
|
||||||
|
{
|
||||||
|
?record aocat:has_native_subject ?concept .
|
||||||
|
?concept skos:broadMatch ?aat .
|
||||||
|
}
|
||||||
|
union
|
||||||
|
{
|
||||||
|
?record aocat:has_native_subject ?concept .
|
||||||
|
?concept skos:closeMatch ?aat .
|
||||||
|
}
|
||||||
|
union
|
||||||
|
{
|
||||||
|
?record aocat:has_native_subject ?concept .
|
||||||
|
?concept skos:narrowMatch ?aat .
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif> {
|
||||||
|
?native_period skos:prefLabel ?lab
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif> {
|
||||||
|
?temporal aocat:has_native_period ?native_period .
|
||||||
|
?native_period rdfs:label ?lab
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
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::fi::periodoplus> {
|
||||||
|
?temporal aocat:has_period ?periodO .
|
||||||
|
?temporal aocat:from ?temporalFrom .
|
||||||
|
?temporal aocat:until ?temporalUntil .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif> {
|
||||||
|
?temporal aocat:has_native_period ?native_period .
|
||||||
|
?temporal aocat:from ?temporalFrom .
|
||||||
|
?temporal aocat:until ?temporalUntil .
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
|
@ -255,30 +255,27 @@ USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi:aat>
|
||||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites>
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites>
|
||||||
WHERE {
|
WHERE {
|
||||||
{
|
{
|
||||||
?record aocat:has_native_subject ?native_subject .
|
?record aocat:has_native_subject ?concept .
|
||||||
?concept owl:sameAs ?native_subject .
|
|
||||||
?concept skos:exactMatch ?aat .
|
?concept skos:exactMatch ?aat .
|
||||||
}
|
}
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
?record aocat:has_native_subject ?native_subject .
|
?record aocat:has_native_subject ?concept .
|
||||||
?concept owl:sameAs ?native_subject .
|
|
||||||
?concept skos:broadMatch ?aat .
|
?concept skos:broadMatch ?aat .
|
||||||
}
|
}
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
?record aocat:has_native_subject ?native_subject .
|
?record aocat:has_native_subject ?concept .
|
||||||
?concept owl:sameAs ?native_subject .
|
|
||||||
?concept skos:closeMatch ?aat .
|
?concept skos:closeMatch ?aat .
|
||||||
}
|
}
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
?record aocat:has_native_subject ?native_subject .
|
?record aocat:has_native_subject ?concept .
|
||||||
?concept owl:sameAs ?native_subject .
|
|
||||||
?concept skos:narrowMatch ?aat .
|
?concept skos:narrowMatch ?aat .
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
PREFIX time: <http://www.w3.org/2006/time#>
|
PREFIX time: <http://www.w3.org/2006/time#>
|
||||||
|
|
Loading…
Reference in New Issue