PREFIX aocat:
PREFIX rdf:
PREFIX skos:
INSERT {
GRAPH {
?s aocat:has_type .
rdf:type .
skos:prefLabel "Collection"
}
}
WHERE {
GRAPH {
?s rdf:type .
MINUS {
?s rdf:type .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat:
PREFIX skos:
INSERT {
GRAPH {
?record aocat:has_derived_subject ?aat_subject .
}
}
USING
USING
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)
}
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)
}
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)
}
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)
}
};
PREFIX dcterms:
INSERT {
GRAPH {
?periodO ?pred ?o .
?o ?pred2 ?o2 .
?o2 ?pred3 ?o3 .
}
}
WHERE {
GRAPH {
?periodO dcterms:spatial .
?periodO ?pred ?o .
optional {
?o ?pred2 ?o2 .
optional {
?o2 ?pred3 ?o3 .
}
}
}
};
PREFIX skos:
PREFIX aocat:
PREFIX time:
INSERT {
GRAPH {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
}
WHERE {
GRAPH {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};