queries for Oslo and UMEA/SEAD
This commit is contained in:
parent
6418d27d32
commit
a86f131143
|
@ -2,14 +2,14 @@ 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 skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll> {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll> {
|
||||
?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::iaa_survey::coll> {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll> {
|
||||
?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> .
|
||||
|
@ -20,14 +20,14 @@ INSERT {
|
|||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::iaa_survey::periodoplus> {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oslo::periodoplus> {
|
||||
?temporal aocat:has_period ?nativePeriod .
|
||||
?temporal aocat:from ?temporalFrom .
|
||||
?temporal aocat:until ?temporalUntil .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll> {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll> {
|
||||
?temporal aocat:has_native_period ?nativePeriod .
|
||||
?temporal aocat:from ?temporalFrom .
|
||||
?temporal aocat:until ?temporalUntil .
|
||||
|
@ -38,45 +38,40 @@ PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
|||
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/ariadneplus::iaa_survey::periodo> {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oslo::periodo> {
|
||||
?nativePeriod skos:prefLabel ?periodLabel .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll> {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll> {
|
||||
?temporal aocat:has_native_period ?nativePeriod .
|
||||
?nativePeriod rdfs:label ?periodLabel .
|
||||
?nativePeriod skos:prefLabel ?periodLabel .
|
||||
}
|
||||
};
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::iaa_survey::aatplus> {
|
||||
?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#>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oslo::aatplus> {
|
||||
?record aocat:has_derived_subject ?aat .
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::aat>
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll>
|
||||
WHERE {
|
||||
{
|
||||
?record aocat:has_native_subject ?native_subject .
|
||||
?native_subject skos:exactMatch ?aat .
|
||||
}
|
||||
union
|
||||
{
|
||||
?record aocat:has_native_subject ?native_subject .
|
||||
?native_subject skos:broadMatch ?aat .
|
||||
}
|
||||
union
|
||||
{
|
||||
?record aocat:has_native_subject ?native_subject .
|
||||
?native_subject skos:closeMatch ?aat .
|
||||
}
|
||||
union
|
||||
{
|
||||
?record aocat:has_native_subject ?native_subject .
|
||||
?native_subject skos:narrowMatch ?aat .
|
||||
}
|
||||
};
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll>
|
||||
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#>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::aat> {
|
||||
?aat skos:prefLabel ?prefLabel .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll>
|
||||
WHERE {
|
||||
?record aocat:has_derived_subject ?aat .
|
||||
?aat skos:prefLabel ?prefLabel .
|
||||
};
|
|
@ -0,0 +1,129 @@
|
|||
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 skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts> {
|
||||
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
|
||||
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts> {
|
||||
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||
}
|
||||
};
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts> {
|
||||
?record aocat:was_issued ?x .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts>
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll>
|
||||
WHERE {
|
||||
?record aocat:is_part_of ?collection .
|
||||
?collection aocat:was_issued ?x .
|
||||
MINUS{
|
||||
?record aocat:was_issued ?date
|
||||
}
|
||||
};
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts> {
|
||||
?record aocat:was_modified ?x .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts>
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll>
|
||||
WHERE {
|
||||
?record aocat:is_part_of ?collection .
|
||||
?collection aocat:was_modified ?x .
|
||||
MINUS{
|
||||
?record aocat:was_modified ?date
|
||||
}
|
||||
};
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts> {
|
||||
?record aocat:has_access_rights ?x .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts>
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll>
|
||||
WHERE {
|
||||
?record aocat:is_part_of ?collection .
|
||||
?collection aocat:has_access_rights ?x .
|
||||
MINUS{
|
||||
?record aocat:has_access_rights ?ar
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX time: <http://www.w3.org/2006/time#>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oslo::periodoplus> {
|
||||
?temporal aocat:has_period ?aat .
|
||||
?temporal aocat:from ?temporalFrom .
|
||||
?temporal aocat:until ?temporalUntil .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/ariadneplus::oslo::periodo>
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts>
|
||||
WHERE {
|
||||
?temporal aocat:has_native_period ?nativePeriod .
|
||||
?nativePeriod skos:prefLabel ?nativeLabel .
|
||||
?aat skos:inScheme <http://n2t.net/ark:/99152/p04h98q> .
|
||||
?aat skos:altLabel ?nativeLabel .
|
||||
?aat time:intervalStartedBy ?intervalStartedBy .
|
||||
?intervalStartedBy time:hasDateTimeDescription ?sdesc .
|
||||
?sdesc time:year ?temporalFrom .
|
||||
?aat time:intervalFinishedBy ?intervalFinishedBy .
|
||||
?intervalFinishedBy time:hasDateTimeDescription ?fdesc .
|
||||
?fdesc time:year ?temporalUntil
|
||||
};
|
||||
|
||||
|
||||
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::oslo::aatplus> {
|
||||
?record aocat:has_derived_subject ?aat_subject .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::aat>
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts>
|
||||
WHERE {
|
||||
{
|
||||
?record aocat:has_native_subject ?native_subject .
|
||||
?aat_native_subject skos:exactMatch ?aat_subject .
|
||||
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) 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/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) 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/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) 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/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) as ?uppercase_native_subject)
|
||||
filter(?uppercase_native_subject=?aat_native_subject)
|
||||
}
|
||||
};
|
|
@ -0,0 +1,129 @@
|
|||
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 skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test> {
|
||||
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
|
||||
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test> {
|
||||
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||
}
|
||||
};
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test> {
|
||||
?record aocat:was_issued ?x .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test>
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll>
|
||||
WHERE {
|
||||
?record aocat:is_part_of ?collection .
|
||||
?collection aocat:was_issued ?x .
|
||||
MINUS{
|
||||
?record aocat:was_issued ?date
|
||||
}
|
||||
};
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test> {
|
||||
?record aocat:was_modified ?x .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test>
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll>
|
||||
WHERE {
|
||||
?record aocat:is_part_of ?collection .
|
||||
?collection aocat:was_modified ?x .
|
||||
MINUS{
|
||||
?record aocat:was_modified ?date
|
||||
}
|
||||
};
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test> {
|
||||
?record aocat:has_access_rights ?x .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test>
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll>
|
||||
WHERE {
|
||||
?record aocat:is_part_of ?collection .
|
||||
?collection aocat:has_access_rights ?x .
|
||||
MINUS{
|
||||
?record aocat:has_access_rights ?ar
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX time: <http://www.w3.org/2006/time#>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oslo::periodoplus> {
|
||||
?temporal aocat:has_period ?aat .
|
||||
?temporal aocat:from ?temporalFrom .
|
||||
?temporal aocat:until ?temporalUntil .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/ariadneplus::oslo::periodo>
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test>
|
||||
WHERE {
|
||||
?temporal aocat:has_native_period ?nativePeriod .
|
||||
?nativePeriod skos:prefLabel ?nativeLabel .
|
||||
?aat skos:inScheme <http://n2t.net/ark:/99152/p04h98q> .
|
||||
?aat skos:altLabel ?nativeLabel .
|
||||
?aat time:intervalStartedBy ?intervalStartedBy .
|
||||
?intervalStartedBy time:hasDateTimeDescription ?sdesc .
|
||||
?sdesc time:year ?temporalFrom .
|
||||
?aat time:intervalFinishedBy ?intervalFinishedBy .
|
||||
?intervalFinishedBy time:hasDateTimeDescription ?fdesc .
|
||||
?fdesc time:year ?temporalUntil
|
||||
};
|
||||
|
||||
|
||||
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::oslo::aatplus> {
|
||||
?record aocat:has_derived_subject ?aat_subject .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::aat>
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test>
|
||||
WHERE {
|
||||
{
|
||||
?record aocat:has_native_subject ?native_subject .
|
||||
?aat_native_subject skos:exactMatch ?aat_subject .
|
||||
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) 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/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) 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/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) 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/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) as ?uppercase_native_subject)
|
||||
filter(?uppercase_native_subject=?aat_native_subject)
|
||||
}
|
||||
};
|
|
@ -0,0 +1,30 @@
|
|||
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 skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::sead::aatplus> {
|
||||
?coll aocat:has_derived_subject ?derivedSubject .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll> {
|
||||
?coll rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
|
||||
?coll aocat:has_derived_subject ?derivedSubject .
|
||||
}
|
||||
};
|
||||
|
||||
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 skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::aat> {
|
||||
?derivedSubject skos:prefLabel ?prefLabel .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll> {
|
||||
?coll rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
|
||||
?coll aocat:has_derived_subject ?derivedSubject .
|
||||
?derivedSubject skos:prefLabel ?prefLabel .
|
||||
}
|
||||
};
|
|
@ -0,0 +1,132 @@
|
|||
#inherit from the collection the publisher, contributor, owner, responsible, ARIADNEsubject, native subject, derived_subject (it is in the mapping),
|
||||
#access policy and access rights
|
||||
|
||||
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 skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
|
||||
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
|
||||
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
|
||||
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||
}
|
||||
};
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
|
||||
?record aocat:was_issued ?x .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll>
|
||||
WHERE {
|
||||
?record aocat:is_part_of ?collection .
|
||||
?collection aocat:was_issued ?x .
|
||||
MINUS{
|
||||
?record aocat:was_issued ?date
|
||||
}
|
||||
};
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
|
||||
?record aocat:was_modified ?x .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll>
|
||||
WHERE {
|
||||
?record aocat:is_part_of ?collection .
|
||||
?collection aocat:was_modified ?x .
|
||||
MINUS{
|
||||
?record aocat:was_modified ?date
|
||||
}
|
||||
};
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
|
||||
?record aocat:has_access_rights ?x .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll>
|
||||
WHERE {
|
||||
?record aocat:is_part_of ?collection .
|
||||
?collection aocat:has_access_rights ?x .
|
||||
MINUS{
|
||||
?record aocat:has_access_rights ?ar
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX time: <http://www.w3.org/2006/time#>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::sead::periodoplus> {
|
||||
?temporal aocat:has_period ?aat .
|
||||
?temporal aocat:from ?temporalFrom .
|
||||
?temporal aocat:until ?temporalUntil .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/ariadneplus::sead::periodo>
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
|
||||
WHERE {
|
||||
?temporal aocat:has_native_period ?nativePeriod .
|
||||
?nativePeriod skos:prefLabel ?nativeLabel .
|
||||
?aat skos:inScheme <http://n2t.net/ark:/99152/p04h98q> .
|
||||
?aat skos:altLabel ?nativeLabel .
|
||||
?aat time:intervalStartedBy ?intervalStartedBy .
|
||||
?intervalStartedBy time:hasDateTimeDescription ?sdesc .
|
||||
?sdesc time:year ?temporalFrom .
|
||||
?aat time:intervalFinishedBy ?intervalFinishedBy .
|
||||
?intervalFinishedBy time:hasDateTimeDescription ?fdesc .
|
||||
?fdesc time:year ?temporalUntil
|
||||
};
|
||||
|
||||
|
||||
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::sead::aatplus> {
|
||||
?record aocat:has_derived_subject ?aat_subject .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::aat>
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
|
||||
WHERE {
|
||||
{
|
||||
?record aocat:has_native_subject ?native_subject .
|
||||
?aat_native_subject skos:exactMatch ?aat_subject .
|
||||
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/sead/", ucase(strafter(str(?native_subject),"UO/")))) 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/sead/", ucase(strafter(str(?native_subject),"UO/")))) 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/sead/", ucase(strafter(str(?native_subject),"UO/")))) 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/sead/", ucase(strafter(str(?native_subject),"UO/")))) as ?uppercase_native_subject)
|
||||
filter(?uppercase_native_subject=?aat_native_subject)
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue