query-a29eadfe443e9e29cf220c44d579b75c
Of course, sifting through all those external-IDs used as refs will be a huge task. WD times out even on a count query:
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT (count(*) as ?c) {
?wd wikibase:propertyType wikibase:ExternalId; wikibase:reference ?wdr.
?ref ?wdr ?id.
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?c")
v4("?id")
v3("?ref")
v1("?wd")
v2("?wdr")
c2(["wikibase:ExternalId"]):::iri
v1 --"wikibase:propertyType"--> c2
v1 --"wikibase:reference"--> v2
v3 -->v2--> v4
bind1[/"count(*)"/]
bind1 --as--o v5