query-bd3ceb5160c0989e7cd86fb2b2be248d
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property (COUNT(?entity) AS ?use)
WHERE
{
?property wikibase:claim ?claim.
FILTER NOT EXISTS { ?property wdt:P7087 []. } # No inverse label item
FILTER NOT EXISTS { ?property wdt:P31/wdt:P279* wd:Q43649390. } # Not an instance of a subclass of Wikidata identifikator
?entity ?claim [].
}
GROUP BY ?property
ORDER BY DESC(?use)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?claim")
v4("?entity"):::projected
v2("?property"):::projected
v5("?use")
a2((" "))
a3((" "))
a1((" "))
c3(["wd:Q43649390"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P31"--> e0a1
e0a1 --"wdt:P279"--> e0c3
e0v1("?property"):::projected
e0a1((" ")):::projected
e0c3(["wd:Q43649390"]):::iri
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> c1
f0 --> a1
f0 --> c2
f0 --> c3
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
f1[["not "]]
subgraph f1e1["Exists Clause"]
e1v1 --"wdt:P7087"--> e1a1
e1v1("?property"):::projected
e1a1((" ")):::projected
end
f1--EXISTS--> f1e1
f1 --> v2
f1 --> c4
f1 --> a2
v2 --"wdt:P7087"--> a2
v2 --"wikibase:claim"--> v3
v4 -->v3--> a3
bind3[/"count(?entity)"/]
v4 --o bind3
bind3 --as--o v5