User:PAC2/Template:Notebook Given name

From Wikidata
Jump to navigation Jump to search

This notebook explore a few questions about given names.

How many people have as given name ?

[edit]
SELECT (COUNT (?item) as ?count) WHERE {
  ?item wdt:P735 wd:.
}
Try it!

What is the instance of items with given name  ?

[edit]
SELECT ?nature ?natureLabel (COUNT(?item) AS ?count) WHERE {
  ?item wdt:P735 wd:;
    wdt:P31 ?nature.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
GROUP BY ?nature ?natureLabel
ORDER BY DESC (?count)
Try it!