|
|
|
@ -72,3 +72,51 @@ USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>:
|
|
|
|
|
filter(?uppercase_native_subject=?aat_native_subject)
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#if you need to copy triples from the data graph to the aat/aatplus graph:
|
|
|
|
|
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::<PROVIDER>::aatplus> {
|
|
|
|
|
?record aocat:has_derived_subject ?aat_subject .
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<COLL>>
|
|
|
|
|
WHERE {
|
|
|
|
|
?record aocat:has_derived_subject ?aat_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/ariadneplus::<PROVIDER>::aat> {
|
|
|
|
|
?aat_subject skos:prefLabel ?label .
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<COLL>>
|
|
|
|
|
WHERE {
|
|
|
|
|
?record aocat:has_derived_subject ?aat_subject .
|
|
|
|
|
?aat_subject skos:prefLabel ?label
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#it could the case there is no prefLabel in the data graph: we have to find it somewhere (if there is not, then we might have a problem)
|
|
|
|
|
# note that the ?label comes with the language tag
|
|
|
|
|
|
|
|
|
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
|
|
|
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
|
|
|
PREFIX skosxl: <http://www.w3.org/2008/05/skos-xl#>
|
|
|
|
|
PREFIX gvp: <http://vocab.getty.edu/ontology#>
|
|
|
|
|
INSERT {
|
|
|
|
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::<PROVIDER>::aat> {
|
|
|
|
|
?aat_subject skos:prefLabel ?label .
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
USING <http://vocab.getty.edu/aat/>
|
|
|
|
|
USING <https://ariadne-infrastructure.eu/ariadneplus::<PROVIDER>::aatplus>
|
|
|
|
|
WHERE {
|
|
|
|
|
?record aocat:has_derived_subject ?aat_subject .
|
|
|
|
|
?aat_subject rdf:type gvp:Concept .
|
|
|
|
|
?aat_subject gvp:prefLabelGVP ?lab .
|
|
|
|
|
?lab gvp:term ?label .
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|