query-b9f54e92973876757830a7fea320f00d
Search for missing descriptions in a target language.
Can be input for Q29032512
SELECT ?item ?itemLabel ?genderLabel ?occupationLabel ?domainLabel ?positionLabel ?itemDescription WHERE { ?item wdt:P31 wd:Q5. # instance of human ?item wdt:P27 wd:Q31. # country of citizenship Belgium optional{ ?item wdt:P21 ?gender.} optional{ ?item wdt:P106 ?occupation.} optional{ ?item wdt:P101 ?domain.} optional{ ?item wdt:P39 ?position.} SERVICE wikibase:label { bd:serviceParam wikibase:language "nl,fr,en,de,it,es,pt,no". } FILTER(NOT EXISTS { ?item schema:description ?itemdesc. FILTER(LANG(?itemdesc) = "nl") # with missing Dutch description }) } order by ?itemLabel Search for missing descriptions in a target language.
Can be input for Q29032512
SELECT ?item ?itemLabel ?genderLabel ?occupationLabel ?domainLabel ?positionLabel ?itemDescription WHERE { ?item wdt:P31 wd:Q5. # instance of human ?item wdt:P27 wd:Q31. # country of citizenship Belgium optional{ ?item wdt:P21 ?gender.} optional{ ?item wdt:P106 ?occupation.} optional{ ?item wdt:P101 ?domain.} optional{ ?item wdt:P39 ?position.} SERVICE wikibase:label { bd:serviceParam wikibase:language "nl,fr,en,de,it,es,pt,no". } FILTER(NOT EXISTS { ?item schema:description ?itemdesc. FILTER(LANG(?itemdesc) = "nl") # with missing Dutch description }) } order by ?itemLabel Search for missing descriptions in a target language.
Can be input for Q29032512
SELECT ?item ?itemLabel ?genderLabel ?occupationLabel ?domainLabel ?positionLabel ?itemDescription WHERE { ?item wdt:P31 wd:Q5. # instance of human ?item wdt:P27 wd:Q31. # country of citizenship Belgium optional{ ?item wdt:P21 ?gender.} optional{ ?item wdt:P106 ?occupation.} optional{ ?item wdt:P101 ?domain.} optional{ ?item wdt:P39 ?position.} SERVICE wikibase:label { bd:serviceParam wikibase:language "nl,fr,en,de,it,es,pt,no". } FILTER(NOT EXISTS { ?item schema:description ?itemdesc. FILTER(LANG(?itemdesc) = "nl") # with missing Dutch description }) } order by ?itemLabel
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Search for missing descriptions in a target language.
#Can be input for Q29032512
SELECT ?item ?itemLabel ?genderLabel ?occupationLabel ?domainLabel ?positionLabel ?itemDescription WHERE {
?item wdt:P31 wd:Q5. # instance of human
?item wdt:P27 wd:Q31. # country of citizenship Belgium
optional{ ?item wdt:P21 ?gender.}
optional{ ?item wdt:P106 ?occupation.}
optional{ ?item wdt:P101 ?domain.}
optional{ ?item wdt:P39 ?position.}
SERVICE wikibase:label { bd:serviceParam wikibase:language "nl,fr,en,de,it,es,pt,no". }
FILTER(NOT EXISTS {
?item schema:description ?itemdesc.
FILTER(LANG(?itemdesc) = "nl") # with missing Dutch description
})
}
order by ?itemLabel
Query found at
- https://www.wikidata.org/wiki/User:Amitie_10g/Sandbox/Wikidata:SPARQL_query_service/queries/examples/maintenance
- https://www.wikidata.org/wiki/User:Amitie_10g/Sandbox/Wikidata:SPARQL_query_service/queries/examples/maintenance/en
- https://www.wikidata.org/wiki/User:Amitie_10g/Sandbox/Wikidata:SPARQL_query_service/queries/examples/maintenance/es
- https://www.wikidata.org/wiki/User:Amitie_10g/Sandbox/Wikidata:SPARQL_query_service/queries/examples/maintenance/zh