Wikidata SPARQL GND
SELECT ?id { ?item wdt:P31 wd:Q5. ?item wdt:P227 ?id. ?item wikibase:sitelinks ?sl. FILTER (?sl >= 1). }
SELECT ?id { ?item wdt:P31 wd:Q5. ?item wdt:P227 ?id. FILTER EXISTS { ?article schema:about ?item . ?article schema:isPartOf <https://de.wikipedia.org/> } }
SELECT (COUNT(DISTINCT(?item)) AS ?count_item) (COUNT(DISTINCT(?id)) AS ?count_did) (COUNT(?id) AS ?count_id) { ?item wdt:P31 wd:Q5. ?item wdt:P227 ?id. }