added aat mappings to bm pas

This commit is contained in:
Enrico Ottonello 2022-06-14 13:02:01 +02:00
parent 2c34545405
commit ae13edb870
2 changed files with 80 additions and 2 deletions

View File

@ -166,4 +166,43 @@ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
?temporal aocat:from ?from . ?temporal aocat:from ?from .
?temporal aocat:until ?until . ?temporal aocat:until ?until .
} }
}; };
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::bmpas::aatplus> {
?record aocat:has_derived_subject ?aat_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::artefacts>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:exactMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/BMPAS/", ucase(strafter(str(?native_subject),"BMPAS/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:broadMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/BMPAS/", ucase(strafter(str(?native_subject),"BMPAS/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:closeMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/BMPAS/", ucase(strafter(str(?native_subject),"BMPAS/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:narrowMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/BMPAS/", ucase(strafter(str(?native_subject),"BMPAS/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
};

View File

@ -166,4 +166,43 @@ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
?temporal aocat:from ?from . ?temporal aocat:from ?from .
?temporal aocat:until ?until . ?temporal aocat:until ?until .
} }
}; };
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::bmpas::aatplus> {
?record aocat:has_derived_subject ?aat_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::coins>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:exactMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/BMPAS/", ucase(strafter(str(?native_subject),"BMPAS/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:broadMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/BMPAS/", ucase(strafter(str(?native_subject),"BMPAS/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:closeMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/BMPAS/", ucase(strafter(str(?native_subject),"BMPAS/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:narrowMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/BMPAS/", ucase(strafter(str(?native_subject),"BMPAS/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
};