added aat mappings

This commit is contained in:
Enrico Ottonello 2021-07-23 12:05:13 +02:00
parent d584b932e8
commit 405f623a4c
1 changed files with 39 additions and 0 deletions

View File

@ -221,4 +221,43 @@ WHERE {
?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/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::fasti::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?native_subject_label .
?aat_subject skos:prefLabel ?native_subject_label .
?aat_subject skos:exactMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?native_subject_label .
?aat_subject skos:prefLabel ?native_subject_label .
?aat_subject skos:broadMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?native_subject_label .
?aat_subject skos:prefLabel ?native_subject_label .
?aat_subject skos:closeMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?native_subject_label .
?aat_subject skos:prefLabel ?native_subject_label .
?aat_subject skos:narrowMatch ?aat .
}
};