query-e1241d9e3b93db1ca055b8fc7e544e0b
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 ?wdt (COUNT(*) AS ?cnt) WHERE {
#SELECT ?item WHERE {
?tour wdt:P279 wd:Q7700500 .
wikibase:WikibaseItem ^wikibase:propertyType/wikibase:directClaim ?wdt .
[] ?wdt ?tour .
FILTER(?tour != wd:Q50301185) .
# ?item wdt:P31 ?tour .
# FILTER(?wdt = wdt:P31) .
} GROUP BY ?wdt
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?cnt")
v1("?tour")
v2("?wdt"):::projected
a2((" "))
a1((" "))
c3(["wd:Q7700500"]):::iri
c5(["wikibase:WikibaseItem"]):::iri
f0[["?tour != 'wd:Q50301185'"]]
f0 --> v1
v1 --"wdt:P279"--> c3
a1 --"wikibase:propertyType"--> c5
a1 --"wikibase:directClaim"--> v2
a2 -->v2--> v1
bind2[/"count(*)"/]
bind2 --as--o v3