updated enrich queries for ARUP CAS AMCR
This commit is contained in:
parent
ca72fab5d9
commit
6c577c0126
|
@ -107,15 +107,12 @@ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
INSERT {
|
INSERT {
|
||||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
|
||||||
?s aocat:was_issued ?created_on .
|
?s aocat:was_issued ?created_on .
|
||||||
?s aocat:was_modified ?created_on .
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
|
||||||
WHERE {
|
WHERE {
|
||||||
?s rdf:type aocat:AO_Collection .
|
|
||||||
?s aocat:was_created_on ?created_on .
|
?s aocat:was_created_on ?created_on .
|
||||||
MINUS {
|
MINUS {
|
||||||
?s rdf:type aocat:AO_Collection .
|
|
||||||
?s aocat:was_issued ?issued .
|
?s aocat:was_issued ?issued .
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -126,18 +123,36 @@ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
INSERT {
|
INSERT {
|
||||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
|
||||||
?s aocat:was_issued ?created_on .
|
|
||||||
?s aocat:was_modified ?created_on .
|
?s aocat:was_modified ?created_on .
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
|
||||||
WHERE {
|
WHERE {
|
||||||
?s rdf:type aocat:AO_Collection .
|
|
||||||
?s aocat:was_created_on ?created_on .
|
?s aocat:was_created_on ?created_on .
|
||||||
MINUS {
|
MINUS {
|
||||||
?s rdf:type aocat:AO_Collection .
|
?s aocat:was_modified ?modified .
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
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#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
|
||||||
?s aocat:was_issued ?issued .
|
?s aocat:was_issued ?issued .
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::CollectionInfo>
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
|
||||||
|
WHERE {
|
||||||
|
?c rdf:type aocat:AO_Collection .
|
||||||
|
?s aocat:is_part_of ?c .
|
||||||
|
?c aocat:was_issued ?issued .
|
||||||
|
MINUS {
|
||||||
|
?s aocat:was_issued ?x .
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
@ -149,57 +164,20 @@ INSERT {
|
||||||
?s aocat:was_modified ?issued .
|
?s aocat:was_modified ?issued .
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::CollectionInfo>
|
||||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
|
||||||
WHERE {
|
WHERE {
|
||||||
?s rdf:type aocat:AO_Collection .
|
?c rdf:type aocat:AO_Collection .
|
||||||
?s aocat:was_issued ?issued .
|
?s aocat:is_part_of ?c .
|
||||||
|
?c aocat:was_modified ?issued .
|
||||||
MINUS {
|
MINUS {
|
||||||
?s rdf:type aocat:AO_Collection .
|
?s aocat:was_modified ?x .
|
||||||
?s aocat:was_modified ?modified .
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
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#>
|
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
||||||
INSERT {
|
|
||||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
|
|
||||||
?s aocat:was_issued ?created_on .
|
|
||||||
?s aocat:was_modified ?created_on .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
|
|
||||||
WHERE {
|
|
||||||
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
||||||
?s aocat:was_created_on ?created_on .
|
|
||||||
MINUS {
|
|
||||||
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
||||||
?s aocat:was_issued ?issued .
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
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#>
|
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
||||||
INSERT {
|
|
||||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
|
|
||||||
?s aocat:was_modified ?issued .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
|
|
||||||
WHERE {
|
|
||||||
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
||||||
?s aocat:was_created_on ?created_on .
|
|
||||||
?s aocat:was_issued ?issued .
|
|
||||||
MINUS {
|
|
||||||
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
||||||
?s aocat:was_created_on ?created_on .
|
|
||||||
?s aocat:was_issued ?issued .
|
|
||||||
?s aocat:was_modified ?modified .
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
@ -920,4 +898,57 @@ PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||||
?native_period skos:prefLabel ?periodO_source_label .
|
?native_period skos:prefLabel ?periodO_source_label .
|
||||||
bind (str(?periodO_source_label) as ?periodO_source_label_str)
|
bind (str(?periodO_source_label) as ?periodO_source_label_str)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
|
||||||
|
?s aocat:was_issued "0000-01-01"^^xsd:date .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
|
||||||
|
WHERE {
|
||||||
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
MINUS {
|
||||||
|
?s aocat:was_issued ?issued .
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
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#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
|
||||||
|
?s aocat:was_modified "0000-01-01"^^xsd:date .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
|
||||||
|
WHERE {
|
||||||
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
MINUS {
|
||||||
|
?s aocat:was_modified ?issued .
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
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#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
|
||||||
|
?s aocat:has_original_id ?label .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
|
||||||
|
WHERE {
|
||||||
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
?s rdfs:label ?label .
|
||||||
|
MINUS {
|
||||||
|
?s aocat:has_original_id ?x
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue