query-37b941c12fa04ee350b715970190fbbf

rq turtle/ttl

Propertiesinstance of (P31)occupation (P106)

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT DISTINCT ?item WHERE {
?item wdt:P31 wd:Q5. 
?item wdt:P106 wd:Q2309784  
Minus {
?article schema:about ?item. 
?article schema:inLanguage "en". 
FILTER (SUBSTR(str(?article), 1, 25) = "https://en.wikipedia.org/")
}
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?article") v1("?item"):::projected c2(["wd:Q5"]):::iri c10(["en"]):::literal c4(["wd:Q2309784"]):::iri v1 --"wdt:P31"--> c2 v1 --"wdt:P106"--> c4 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; f1[["substring(str(?article),'1^^xsd:integer','25^^xsd:integer') = 'https://en.wikipedia.org/'"]] f1 --> v2 v2 --"schema:about"--> v1 v2 --"schema:inLanguage"--> c10 end