delete query to remove people from publishers' list

This commit is contained in:
Alessia Bardi 2023-04-14 16:35:56 +02:00
parent cd76bbbd9e
commit 9be853912e
1 changed files with 12 additions and 1 deletions

View File

@ -101,4 +101,15 @@ WHERE {
?s aocat:has_landing_page ?lpResource .
BIND (STR(?lpResource) as ?label)
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
WITH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::UIBK::himat_ord>
DELETE {?s ?p ?o} where {
FILTER (?s = <https://ariadne-infrastructure.eu/aocat/Collection/UIBK/3333c1d96de4099fb2b723368d319a39>)
FILTER (?p = <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/has_publisher>).
?s ?p ?o .
?o rdfs:label ?l.
FILTER (?o = <https://ariadne-infrastructure.eu/aocat/Agent/UIBK/de25a1739308b7527f4a15b7a9811075>||?o = <https://ariadne-infrastructure.eu/aocat/Agent/UIBK/31b42deeabc13f784778503ed48a94ea>)
}