query-51e2028ddd19ec684b0a2904e46f53c6

rq turtle/ttl

Items with ?itemsubclass of (P279)border (Q133346) and ?iteminstance of (P31)border checkpoint (Q757292) should be removed so I'm going to remove it soon from the items matched by this query: (Q133346)border (P279)subclass of ?item on a bunch of items. I don't think both these statements in conjunction makes sense, I think (Q757292)border checkpoint (P31)instance of ?item and (Q133346)border (P279)subclass of ?item: You added both Wlodek k1@

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel WHERE {
  ?item wdt:P279 wd:Q133346.
  ?item wdt:P31 / wdt:P279 wd:Q757292.
  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; v1("?item"):::projected a1((" ")) c6(["bd:serviceParam"]):::iri c2(["wd:Q133346"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal c4(["wd:Q757292"]):::iri v1 --"wdt:P279"--> c2 v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end