query-25fe432ef5cdd344faf6c946b69e4b36

rq turtle/ttl

Remove from output. How to do this? (Q18432165)43rd Chess Olympiad , (Q2109886)42nd Chess Olympiad , (Q194811)2nd unofficial Chess Olympiad , (Q166246)1st unofficial Chess Olympiad , (Q194793)3rd unofficial Chess Olympiad From this query I would like to remove all item entries where the Olympiad is one of the following:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?id ?olimpLabel
WHERE 
{
  ?olimp wdt:P31 wd:Q428303 .
  ?item p:P1344 ?stat .

  ?stat ps:P1344 ?olimp .

  FILTER NOT EXISTS {?stat pq:P1351 ?test . } 
  ?item wdt:P3940 ?id. 

  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?id"):::projected v4("?item"):::projected v3("?olimp") v1("?stat") v2("?test") c8(["bd:serviceParam"]):::iri c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal c3(["wd:Q428303"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"p:qualifier/P1351"--> e0v2 e0v1("?stat"):::projected e0v2("?test"):::projected end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c1 f0 --> v2 v1 --"p:qualifier/P1351"--> v2 v3 --"p:direct/P31"--> c3 v4 --"p:P1344"--> v1 v1 --"p:statement/P1344"--> v3 v4 --"p:direct/P3940"--> v5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end