query-271891f87035bd31761cd3eec827954c
Translators with only one language spoken, written or signed SELECT ?person ?personLabel ?languageLabel WHERE { { SELECT ?person (SAMPLE(?language) AS ?language) WHERE { ?person wdt:P31 wd:Q5; wdt:P106 wd:Q333634; wdt:P1412 ?language. } GROUP BY ?person ?personLabel HAVING(COUNT(?language) = 1) } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
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 bd: <http://www.bigdata.com/rdf#>
#Translators with only one language spoken, written or signed
SELECT ?person ?personLabel ?languageLabel WHERE {
{
SELECT ?person (SAMPLE(?language) AS ?language) WHERE {
?person wdt:P31 wd:Q5;
wdt:P106 wd:Q333634;
wdt:P1412 ?language.
}
GROUP BY ?person ?personLabel
HAVING(COUNT(?language) = 1)
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?_anon_42b5416610844a34809f33a099ae9de1122936")
v4("?language")
v1("?person"):::projected
a1((" "))
c8(["bd:serviceParam"]):::iri
c3(["wd:Q5"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c5(["wd:Q333634"]):::iri
f0[[" = '1^^xsd:integer'"]]
f0 --> a1
v1 --"wdt:P31"--> c3
v1 --"wdt:P106"--> c5
v1 --"wdt:P1412"--> v4
bind3[/"count(?language)"/]
v4 --o bind3
bind3 --as--o v3
bind4[/"sample(?language)"/]
v4 --o bind4
bind4 --as--o v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end