query-9ba14897494af747c1f1c0e8d65992ca

rq turtle/ttl

Query of Properties Missing inverse label item (P7087) for helping create this query!) TagishsimonHere's a query for showing all of the proeprties that are missing P7087. (Thanks to

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:P31/wdt:P279* wd:Q18616576.
  FILTER NOT EXISTS {?item wdt:P7087 [] .} # Omit properties that have an "inverse label item" statement.
  FILTER NOT EXISTS {?item wdt:P1696 [] .} # Omit properties that have an "inverse property" statement.
  FILTER NOT EXISTS {?item wdt:P31/wdt:P279* wd:Q15720608 .} # Omit quantifiers (comment this line to show.)
  ?item wikibase:propertyType wikibase:WikibaseItem. # Only show properties with "item" datatypes.
  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 a3((" ")) a2((" ")) a4((" ")) a1((" ")) c10(["bd:serviceParam"]):::iri c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal c3(["wd:Q15720608"]):::iri c6(["wd:Q18616576"]):::iri c8(["wikibase:WikibaseItem"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"wdt:P31"--> e0a1 e0a1 --"wdt:P279"--> e0c3 e0v1("?item"):::projected e0a1((" ")):::projected e0c3(["wd:Q15720608"]):::iri end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c1 f0 --> a1 f0 --> c2 f0 --> c3 v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 f1[["not "]] subgraph f1e1["Exists Clause"] e1v1 --"wdt:P1696"--> e1a1 e1v1("?item"):::projected e1a1((" ")):::projected end f1--EXISTS--> f1e1 f1 --> v1 f1 --> c4 f1 --> a2 v1 --"wdt:P1696"--> a2 f2[["not "]] subgraph f2e2["Exists Clause"] e2v1 --"wdt:P7087"--> e2a1 e2v1("?item"):::projected e2a1((" ")):::projected end f2--EXISTS--> f2e2 f2 --> v1 f2 --> c5 f2 --> a3 v1 --"wdt:P7087"--> a3 v1 --"wdt:P31"--> a4 a4 --"wdt:P279"--> c6 v1 --"wikibase:propertyType"--> c8 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end