query-964a1d4c51002c962527f0838246f7cd

rq turtle/ttl

TODO

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT distinct ?item ?itemLabel 
WHERE 
{
  ?item wdt:P1938 ?GId .          # has a Gutenberg ID
  ?item wdt:P21 wd:Q6581072 .     # is female
  ?item wdt:P27 ?UK               # UK citizenship
  VALUES ?UK {wd:Q174193 wd:Q145} # in the broadest sense
  ?work wdt:P50 ?item .           # author of a work
  ?work wdt:P577 ?date.           # which has a publication date
  FILTER("1836-00-00"^^xsd:date <= ?date &&
         ?date < "1902-00-00"^^xsd:dat)  # between these two dates
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?GId") v5("?UK") v1("?date") v2("?item"):::projected v5("?work") c10(["bd:serviceParam"]):::iri c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal c5(["wd:Q6581072"]):::iri f0[["'1836-00-00^^xsd:date' <= ?date?date < s1902-00-00^^<http://www.w3.org/2001/XMLSchema#dat>'"]] f0 --> v1 v2 --"wdt:P1938"--> v3 v2 --"wdt:P21"--> c5 v2 --"wdt:P27"--> v5 bind1[/VALUES ?UK/] bind1-->v5 bind10(["wd:Q174193"]) bind10 --> bind1 bind11(["wd:Q145"]) bind11 --> bind1 v5 --"wdt:P50"--> v2 v5 --"wdt:P577"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end