query-e52b57ec6757f77eb4ecdc052cfa65bd

rq turtle/ttl

Female ODNB novelists missing on enWP SELECT ?item WHERE { ?item wdt:P1415 ?dummy0 . OPTIONAL { ?wiki0 schema:about ?item . FILTER(SUBSTR(STR(?wiki0),1,24) = "https://en.wikipedia.org") . } FILTER(!bound(?wiki0)) ?item wdt:P106 wd:Q6625963 . ?item wdt:P21 wd:Q6581072 . }

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
#Female ODNB novelists missing on enWP
SELECT ?item WHERE {
  ?item wdt:P1415 ?dummy0 .
  OPTIONAL {
    ?wiki0 schema:about ?item .
    FILTER(SUBSTR(STR(?wiki0),1,24) = "https://en.wikipedia.org") .
  }
  FILTER(!bound(?wiki0))
  ?item wdt:P106 wd:Q6625963 .
  ?item wdt:P21 wd:Q6581072 .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?dummy0") v2("?item"):::projected v1("?wiki0") c9(["wd:Q6581072"]):::iri c7(["wd:Q6625963"]):::iri f0[["not bound(?wiki0)"]] f0 --> v1 v2 --"wdt:P1415"--> v3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."schema:about".-> v2 end v2 --"wdt:P106"--> c7 v2 --"wdt:P21"--> c9