query-9bc5a5e74403be26a60df7942a26197a
YoavR
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#>
SELECT ?item ?itemLabel
WHERE
{
?item wdt:P31 wd:Q5 . # Human
?item wdt:P734 wd:Q37494439 . # Surname is Ruth
MINUS
{
?article schema:about ?item .
?article schema:isPartOf <https://he.wikipedia.org/> . # No article at hewiki
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,he". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?article")
v1("?item"):::projected
c11(["#91;AUTO_LANGUAGE#93;,en,he"]):::literal
c4(["wd:Q37494439"]):::iri
c7([https://he.wikipedia.org/]):::iri
c9(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
v1 --"wdt:P31"--> c2
v1 --"wdt:P734"--> c4
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v2 --"schema:about"--> v1
v2 --"schema:isPartOf"--> c7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end