User:PAC2/Template:Notebook Given name/Documentation
This notebook explore a few questions about given names.
How many people have Ada (Q346047) as given name ? edit
SELECT (COUNT (?item) as ?count) WHERE {
?item wdt:P735 wd:Q346047.
}
What is the instance of items with given name Ada (Q346047) ? edit
SELECT ?nature ?natureLabel (COUNT(?item) AS ?count) WHERE {
?item wdt:P735 wd:Q346047;
wdt:P31 ?nature.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
GROUP BY ?nature ?natureLabel
ORDER BY DESC (?count)