|
|
|
@ -207,32 +207,28 @@ WHERE {
|
|
|
|
|
{
|
|
|
|
|
?record aocat:has_native_subject ?native_subject .
|
|
|
|
|
?native_subject skos:prefLabel ?nativeLabel .
|
|
|
|
|
?match_subject skos:prefLabel ?matchedLabel .
|
|
|
|
|
?match_subject skos:prefLabel ?nativeLabel .
|
|
|
|
|
?match_subject skos:exactMatch ?aat_subject .
|
|
|
|
|
filter(str(?nativeLabel) = str(?matchedLabel))
|
|
|
|
|
}
|
|
|
|
|
union
|
|
|
|
|
{
|
|
|
|
|
?record aocat:has_native_subject ?native_subject .
|
|
|
|
|
?native_subject skos:prefLabel ?nativeLabel .
|
|
|
|
|
?match_subject skos:prefLabel ?matchedLabel .
|
|
|
|
|
?match_subject skos:prefLabel ?nativeLabel .
|
|
|
|
|
?match_subject skos:broadMatch ?aat_subject .
|
|
|
|
|
filter(str(?nativeLabel) = str(?matchedLabel))
|
|
|
|
|
}
|
|
|
|
|
union
|
|
|
|
|
{
|
|
|
|
|
?record aocat:has_native_subject ?native_subject .
|
|
|
|
|
?native_subject skos:prefLabel ?nativeLabel .
|
|
|
|
|
?match_subject skos:prefLabel ?matchedLabel .
|
|
|
|
|
?match_subject skos:prefLabel ?nativeLabel .
|
|
|
|
|
?match_subject skos:closeMatch ?aat_subject .
|
|
|
|
|
filter(str(?nativeLabel) = str(?matchedLabel))
|
|
|
|
|
}
|
|
|
|
|
union
|
|
|
|
|
{
|
|
|
|
|
?record aocat:has_native_subject ?native_subject .
|
|
|
|
|
?native_subject skos:prefLabel ?nativeLabel .
|
|
|
|
|
?match_subject skos:prefLabel ?matchedLabel .
|
|
|
|
|
?match_subject skos:prefLabel ?nativeLabel .
|
|
|
|
|
?match_subject skos:narrowMatch ?aat_subject .
|
|
|
|
|
filter(str(?nativeLabel) = str(?matchedLabel))
|
|
|
|
|
}
|
|
|
|
|
};
|