query-79036c139b94cdaffa111955d37f50cd
Archaeologists with an article on the English Wikipedia and no ADS ID SELECT ?person ?personLabel ?article WHERE {
?person wdt:P31 wd:Q5 . # person
?person wdt:P106*/wdt:P279* wd:Q3621491 . # archaeologist
?article schema:about ?person .
?article schema:isPartOf <https://en.wikipedia.org/>. # with an article on en.wiki
MINUS { ?person wdt:P6734 [] } .
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#>
#Archaeologists with an article on the English Wikipedia and no ADS ID
SELECT ?person ?personLabel ?article WHERE {
?person wdt:P31 wd:Q5 . # person
?person wdt:P106*/wdt:P279* wd:Q3621491 . # archaeologist
?article schema:about ?person .
?article schema:isPartOf <https://en.wikipedia.org/>. # with an article on en.wiki
MINUS { ?person wdt:P6734 [] } .
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;
v2("?article"):::projected
v1("?person"):::projected
a2((" "))
a1((" "))
c13(["en"]):::literal
c5(["wd:Q3621491"]):::iri
c8([https://en.wikipedia.org/]):::iri
c11(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
v1 --"wdt:P31"--> c2
v1 --"wdt:P106"--> a1
a1 --"wdt:P279"--> c5
v2 --"schema:about"--> v1
v2 --"schema:isPartOf"--> c8
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P6734"--> a2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end