query-f44600a0f2b7091836dad6c7512507d4

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel 
where
{
   {
select ?item where
{
  ?item wdt:P106 wd:Q10873124.
  ?item wdt:P1440 ?fide .
  minus {
           ?item p:P1087 [pq:P585 ?date ] .
           FILTER ( month(?date)=1 && year(?date)=2012 ) .
        }
  } limit 100 }  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("?date") v2("?fide") v1("?item"):::projected a1((" ")) c9(["bd:serviceParam"]):::iri c2(["wd:Q10873124"]):::iri c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"p:direct/P106"--> c2 v1 --"p:direct/P1440"--> v2 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; f1[["month-from-dateTime(?date) = '1^^xsd:integer'year-from-dateTime(?date) = '2012^^xsd:integer'"]] f1 --> v3 a1 --"p:qualifier/P585"--> v3 v1 --"p:P1087"--> a1 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end