enrichment queries for IAVP (to be revised) and fixed AAT for DIME
This commit is contained in:
parent
b592dcbc9e
commit
58e292e734
|
@ -141,3 +141,29 @@ WHERE {
|
|||
}
|
||||
};
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::aarhusdime::aatplus> {
|
||||
?record aocat:has_derived_subject ?aat .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::aarhusdime::oai>
|
||||
WHERE {
|
||||
?record aocat:has_derived_subject ?aat .
|
||||
};
|
||||
|
||||
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::aarhusdime::aat> {
|
||||
?derivedSubject skos:prefLabel ?label .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::aarhusdime::oai>
|
||||
WHERE {
|
||||
?record aocat:has_derived_subject ?derivedSubject .
|
||||
?derivedSubject skos:prefLabel ?label .
|
||||
};
|
||||
|
||||
|
|
|
@ -0,0 +1,77 @@
|
|||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iavp::collection> {
|
||||
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
|
||||
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
|
||||
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iavp::collection> {
|
||||
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
|
||||
MINUS {
|
||||
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
|
||||
?s aocat:has_type ?t .
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iavp::0> {
|
||||
?s aocat:has_publisher ?publisher .
|
||||
?publisher aocat:has_email ?email .
|
||||
?publisher aocat:has_homepage ?homepage .
|
||||
?publisher aocat:has_name ?name .
|
||||
?publisher rdfs:label ?label .
|
||||
?publisher rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent>
|
||||
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iavp::collection> {
|
||||
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
|
||||
?s aocat:has_publisher ?publisher .
|
||||
?publisher aocat:has_email ?email .
|
||||
?publisher aocat:has_homepage ?homepage .
|
||||
?publisher aocat:has_name ?name .
|
||||
?publisher rdfs:label ?label .
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
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::iavp::aatplus> {
|
||||
?record aocat:has_derived_subject ?aat .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iavp::0> {
|
||||
?record aocat:has_native_subject ?ns.
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iavp::aat> {
|
||||
{
|
||||
?ns skos:closeMatch ?aat .
|
||||
}
|
||||
union
|
||||
{
|
||||
?ns skos:exactMatch ?aat .
|
||||
}
|
||||
union
|
||||
{
|
||||
?ns skos:narrowMatch ?aat .
|
||||
}
|
||||
union
|
||||
{
|
||||
?ns skos:broadMatch ?aat .
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue