enrichment queries for reperti and aree datasets from MIBAC

master
Alessia Bardi 1 year ago
parent 3a16c934c2
commit 11b439c955

@ -0,0 +1,68 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::mibac::aatplus> {
?record aocat:has_derived_subject ?derived_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::aree>
WHERE {
{
?record aocat:has_derived_subject ?derived_subject .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::aat> {
?derived_subject skos:prefLabel ?dslabel .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::aree>
WHERE {
{
?record aocat:has_derived_subject ?derived_subject .
?derived_subject skos:prefLabel ?dslabel .
}
};
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::mibac::periodoplus> {
?temporal aocat:has_period ?native_period .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::aree> {
?temporal aocat:has_native_period ?native_period .
?native_period rdfs:label|skos:prefLabel ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::mibac::periodo> {
?native_period skos:prefLabel ?native_label .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::aree> {
?temporal aocat:has_native_period ?native_period .
?native_period rdfs:label|skos:prefLabel ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};

@ -0,0 +1,68 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::mibac::aatplus> {
?record aocat:has_derived_subject ?derived_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::reperti>
WHERE {
{
?record aocat:has_derived_subject ?derived_subject .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::aat> {
?derived_subject skos:prefLabel ?dslabel .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::reperti>
WHERE {
{
?record aocat:has_derived_subject ?derived_subject .
?derived_subject skos:prefLabel ?dslabel .
}
};
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::mibac::periodoplus> {
?temporal aocat:has_period ?native_period .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::reperti> {
?temporal aocat:has_native_period ?native_period .
?native_period rdfs:label|skos:prefLabel ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::mibac::periodo> {
?native_period skos:prefLabel ?native_label .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::reperti> {
?temporal aocat:has_native_period ?native_period .
?native_period rdfs:label|skos:prefLabel ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};
Loading…
Cancel
Save