enrichment query for CNRS-MASA OpenArcheo

This commit is contained in:
Alessia Bardi 2022-06-29 15:57:20 +02:00
parent c4ee769054
commit e0196416c5
1 changed files with 35 additions and 0 deletions

View File

@ -145,3 +145,38 @@ INSERT {
}
};
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::openarchaeo::aatplus> {
?s aocat:has_derived_subject ?aat .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::openarchaeo::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::openarchaeo::ttl>
WHERE {
{
?s aocat:has_native_subject ?native_subject .
?concept owl:sameAs ?native_subject .
?concept skos:exactMatch ?aat .
}
union
{
?s aocat:has_native_subject ?native_subject .
?concept owl:sameAs ?native_subject .
?concept skos:broadMatch ?aat .
}
union
{
?s aocat:has_native_subject ?native_subject .
?concept owl:sameAs ?native_subject .
?concept skos:closeMatch ?aat .
}
union
{
?s aocat:has_native_subject ?native_subject .
?concept owl:sameAs ?native_subject .
?concept skos:narrowMatch ?aat .
}
};