query-336cdee18e926b0020bff44b1bfc7f16

rq turtle/ttl

. (Q17441029)Monet: Catalogue Raisonné -> (P972)catalog -> # -> (P528)catalog code & (Q3305213)painting -> (P31)instance of For works by Monet missing a Wildenstein number, see:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?pic ?itemLabel ?collection ?collectionLabel WHERE {
  ?item wdt:P170 wd:Q296.
  OPTIONAL { ?item wdt:P18 ?pic. }
  MINUS { ?item wdt:P31 wd:Q15727816. }
  MINUS {
    ?item p:P528 _:b0.
    _:b0 pq:P972 wd:Q17441029.
    _:b0 ps:P528 ?catcode.
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  OPTIONAL { ?item wdt:P195 ?collection. }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?catcode") v4("?collection"):::projected v1("?item"):::projected v2("?pic"):::projected a1((" ")) c5(["wd:Q15727816"]):::iri c8(["wd:Q17441029"]):::iri c11(["bd:serviceParam"]):::iri c13(["#91;AUTO_LANGUAGE#93;,en"]):::literal c2(["wd:Q296"]):::iri v1 --"p:direct/P170"--> c2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."p:direct/P18".-> v2 end subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v1 --"p:direct/P31"--> c5 end subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; v1 --"p:P528"--> a1 a1 --"p:qualifier/P972"--> c8 a1 --"p:statement/P528"--> v3 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c11 --"wikibase:language"--> c13 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v1 -."p:direct/P195".-> v4 end