sparql insert for pp
This commit is contained in:
parent
bd44bc6fa5
commit
a9a0526bcf
|
@ -0,0 +1,60 @@
|
|||
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::pp::fieldworks> {
|
||||
?s aocat:was_modified ?issued .
|
||||
}
|
||||
}
|
||||
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::pp::fieldworks>
|
||||
WHERE {
|
||||
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
|
||||
?s aocat:was_issued ?issued .
|
||||
MINUS {
|
||||
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
|
||||
?s aocat:was_issued ?issued .
|
||||
?s aocat:was_modified ?modified .
|
||||
}
|
||||
};
|
||||
|
||||
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::pp::fieldworks> {
|
||||
?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::pp::fieldworks> {
|
||||
?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::pp::fieldworks> {
|
||||
?s aocat:has_temporal_coverage <https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> .
|
||||
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Temporal_Region> .
|
||||
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdfs:label "Not provided" .
|
||||
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::pp::fieldworks> {
|
||||
?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_temporal_coverage ?tc .
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue