query-b772fb1b9083e41c041bf26521c9c1af
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT (COUNT(DISTINCT(?item)) AS ?count) WHERE {
VALUES ?item {wd:Q51386615 wd:Q51386780 wd:Q51387474 wd:Q51393955 wd:Q51397119 wd:Q51398128 wd:Q51399298 wd:Q51405549 wd:Q51420395} .
?item wdt:P4327 ?bhl .
# ?item wdt:P1144 ?lccn .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?bhl")
v3("?count")
v1("?item"):::projected
bind0[/VALUES ?item/]
bind0-->v1
bind00(["wd:Q51386615"])
bind00 --> bind0
bind01(["wd:Q51386780"])
bind01 --> bind0
bind02(["wd:Q51387474"])
bind02 --> bind0
bind03(["wd:Q51393955"])
bind03 --> bind0
bind04(["wd:Q51397119"])
bind04 --> bind0
bind05(["wd:Q51398128"])
bind05 --> bind0
bind06(["wd:Q51399298"])
bind06 --> bind0
bind07(["wd:Q51405549"])
bind07 --> bind0
bind08(["wd:Q51420395"])
bind08 --> bind0
v1 --"wdt:P4327"--> v2
bind2[/"count(?item)"/]
v1 --o bind2
bind2 --as--o v3