added aat matching - NARA patched to NABUNKEN on aat subject
This commit is contained in:
parent
f8e6e04e82
commit
4abe06904b
|
@ -270,4 +270,43 @@ GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::nara::field
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
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::nara::aatplus> {
|
||||||
|
?record aocat:has_derived_subject ?aat_subject .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::nara::aat>
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::nara::fieldworkreport>
|
||||||
|
WHERE {
|
||||||
|
{
|
||||||
|
?record aocat:has_native_subject ?native_subject .
|
||||||
|
?aat_native_subject skos:exactMatch ?aat_subject .
|
||||||
|
bind (IRI(replace( str(?aat_native_subject), "NARA", "NABUNKEN")) as ?patched_aat_native_subject)
|
||||||
|
filter(?native_subject=?patched_aat_native_subject)
|
||||||
|
}
|
||||||
|
union
|
||||||
|
{
|
||||||
|
?record aocat:has_native_subject ?native_subject .
|
||||||
|
?aat_native_subject skos:broadMatch ?aat_subject .
|
||||||
|
bind (IRI(replace( str(?aat_native_subject), "NARA", "NABUNKEN")) as ?patched_aat_native_subject)
|
||||||
|
filter(?native_subject=?patched_aat_native_subject)
|
||||||
|
}
|
||||||
|
union
|
||||||
|
{
|
||||||
|
?record aocat:has_native_subject ?native_subject .
|
||||||
|
?aat_native_subject skos:closeMatch ?aat_subject .
|
||||||
|
bind (IRI(replace( str(?aat_native_subject), "NARA", "NABUNKEN")) as ?patched_aat_native_subject)
|
||||||
|
filter(?native_subject=?patched_aat_native_subject)
|
||||||
|
}
|
||||||
|
union
|
||||||
|
{
|
||||||
|
?record aocat:has_native_subject ?native_subject .
|
||||||
|
?aat_native_subject skos:narrowMatch ?aat_subject .
|
||||||
|
bind (IRI(replace( str(?aat_native_subject), "NARA", "NABUNKEN")) as ?patched_aat_native_subject)
|
||||||
|
filter(?native_subject=?patched_aat_native_subject)
|
||||||
|
}
|
||||||
};
|
};
|
Loading…
Reference in New Issue