User:Geertivp/training/Wikidata Query/Female brewer
Example query
[edit]The following query uses these:
- Items: human (Q5) , female (Q6581072) , brewer (Q836904)
- Properties: instance of (P31) , sex or gender (P21) , occupation (P106) , family name (P734) , date of birth (P569) , date of death (P570) , country of citizenship (P27)
SELECT ?item ?itemLabel ?lastnameLabel ?birthdate ?deathdate ?nationalityLabel ?itemDescription WHERE { ?item wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; wdt:P106 wd:Q836904. optional { ?item wdt:P734 ?lastname . } optional { ?item wdt:P569 ?birthdate . } optional { ?item wdt:P570 ?deathdate . } optional { ?item wdt:P27 ?nationality . } SERVICE wikibase:label { bd:serviceParam wikibase:language "nl,en,fr,de,es,it". } } ORDER BY ?itemLabel
The additional columns allow to verify the consistency of the Description.