query-a7d1f711ccd6551fb495793e66d90032
people who don’t speak (P1412) their native language (P103) SELECT ?person ?personLabel ?languageLabel WHERE { ?article schema:about ?person . ?article schema:isPartOf https://or.wikipedia.org/ . ?person wdt:P31 wd:Q5; wdt:P103 ?language. MINUS { ?person wdt:P1412 ?language. } SERVICE wikibase:label { bd:serviceParam wikibase: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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# people who don’t speak (P1412) their native language (P103)
SELECT ?person ?personLabel ?languageLabel WHERE {
?article schema:about ?person . ?article schema:isPartOf <https://or.wikipedia.org/> .
?person wdt:P31 wd:Q5;
wdt:P103 ?language.
MINUS { ?person wdt:P1412 ?language. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?article")
v3("?language")
v2("?person"):::projected
c9(["bd:serviceParam"]):::iri
c5(["wd:Q5"]):::iri
c11(["en"]):::literal
c3([https://or.wikipedia.org/]):::iri
v1 --"schema:about"--> v2
v1 --"schema:isPartOf"--> c3
v2 --"wdt:P31"--> c5
v2 --"wdt:P103"--> v3
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P1412"--> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end