fixed AAT enrichment for UKPool
This commit is contained in:
parent
156ee92498
commit
df1fd92628
|
@ -53,45 +53,50 @@ WHERE {
|
|||
?collection aocat:has_access_rights ?accessRights .
|
||||
};
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
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::oeaw::aatplus> {
|
||||
?record aocat:has_derived_subject ?aat_subject .
|
||||
}
|
||||
}
|
||||
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oeaw::aatplus> {
|
||||
?record aocat:has_derived_subject ?aat_subject .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::aat>
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::sites>
|
||||
WHERE {
|
||||
WHERE {
|
||||
{
|
||||
?record aocat:has_native_subject ?native_subject .
|
||||
?aat_native_subject skos:exactMatch ?aat_subject .
|
||||
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OEAW/", ucase(strafter(str(?native_subject),"OEAW/")))) as ?uppercase_native_subject)
|
||||
filter(?uppercase_native_subject=?aat_native_subject)
|
||||
?native_subject skos:prefLabel ?nativeLabel .
|
||||
?match_subject skos:prefLabel ?matchedLabel .
|
||||
?match_subject skos:exactMatch ?aat_subject .
|
||||
filter(str(?nativeLabel) = str(?matchedLabel))
|
||||
}
|
||||
union
|
||||
union
|
||||
{
|
||||
?record aocat:has_native_subject ?native_subject .
|
||||
?aat_native_subject skos:broadMatch ?aat_subject .
|
||||
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OEAW/", ucase(strafter(str(?native_subject),"OEAW/")))) as ?uppercase_native_subject)
|
||||
filter(?uppercase_native_subject=?aat_native_subject)
|
||||
?native_subject skos:prefLabel ?nativeLabel .
|
||||
?match_subject skos:prefLabel ?matchedLabel .
|
||||
?match_subject skos:broadMatch ?aat_subject .
|
||||
filter(str(?nativeLabel) = str(?matchedLabel))
|
||||
}
|
||||
union
|
||||
union
|
||||
{
|
||||
?record aocat:has_native_subject ?native_subject .
|
||||
?aat_native_subject skos:closeMatch ?aat_subject .
|
||||
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OEAW/", ucase(strafter(str(?native_subject),"OEAW/")))) as ?uppercase_native_subject)
|
||||
filter(?uppercase_native_subject=?aat_native_subject)
|
||||
?native_subject skos:prefLabel ?nativeLabel .
|
||||
?match_subject skos:prefLabel ?matchedLabel .
|
||||
?match_subject skos:closeMatch ?aat_subject .
|
||||
filter(str(?nativeLabel) = str(?matchedLabel))
|
||||
}
|
||||
union
|
||||
union
|
||||
{
|
||||
?record aocat:has_native_subject ?native_subject .
|
||||
?aat_native_subject skos:narrowMatch ?aat_subject .
|
||||
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OEAW/", ucase(strafter(str(?native_subject),"OEAW/")))) as ?uppercase_native_subject)
|
||||
filter(?uppercase_native_subject=?aat_native_subject)
|
||||
?native_subject skos:prefLabel ?nativeLabel .
|
||||
?match_subject skos:prefLabel ?matchedLabel .
|
||||
?match_subject skos:narrowMatch ?aat_subject .
|
||||
filter(str(?nativeLabel) = str(?matchedLabel))
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
INSERT {
|
||||
|
|
Loading…
Reference in New Issue