updated queries for tutorial
This commit is contained in:
parent
6dfdcb806f
commit
d055c3a38c
|
@ -1,3 +1,15 @@
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
|
||||||
|
?record aocat:is_part_of <https://ariadne-infrastructure.eu/aocat/Collection/ADS/8D520B07-78F5-3A8E-AD61-580FCFF7218E>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
|
||||||
|
WHERE {
|
||||||
|
?record rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
};
|
||||||
|
|
||||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
INSERT {
|
INSERT {
|
||||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
|
||||||
|
|
|
@ -10,6 +10,73 @@ WHERE {
|
||||||
?record rdf:type aocat:AO_Individual_Data_Resource .
|
?record rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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::ads::test> {
|
||||||
|
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/ADS/NOT_PROVIDED> .
|
||||||
|
<https://ariadne-infrastructure.eu/aocat/Concept/ADS/NOT_PROVIDED> skos:prefLabel "Not provided" .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
|
||||||
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
MINUS {
|
||||||
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
?s aocat:has_native_subject ?ns .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
|
||||||
|
?s aocat:has_title "Title not provided" .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
|
||||||
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
MINUS {
|
||||||
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
?s aocat:has_title ?title .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
|
||||||
|
?record aocat:was_modified ?date .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
|
||||||
|
WHERE {
|
||||||
|
?record aocat:is_part_of ?collection .
|
||||||
|
?collection aocat:was_modified ?date .
|
||||||
|
MINUS {
|
||||||
|
?record aocat:was_modified ?x .
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
|
||||||
|
?record aocat:was_issued ?date .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
|
||||||
|
WHERE {
|
||||||
|
?record aocat:is_part_of ?collection .
|
||||||
|
?collection aocat:was_issued ?date .
|
||||||
|
MINUS {
|
||||||
|
?record 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/>
|
||||||
INSERT {
|
INSERT {
|
||||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
|
||||||
|
|
Loading…
Reference in New Issue