query-c20f3a1df29a5f6775c4fb5017e45877

rq turtle/ttl

TODO

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT distinct ?item ?creator ?style where {
  ?item wdt:P31/wdt:P279* wd:Q838948 .
  ?item wdt:P170 ?creator .
  filter not exists {?item wdt:P135 ?style .}
  ?item wdt:P170?/wdt:P135 ?style.
  ?item wdt:P18 ?image .
  }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?creator"):::projected v4("?image") v1("?item"):::projected v2("?style"):::projected a1((" ")) a2((" ")) c4(["wd:Q838948"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"wdt:P135"--> e0v2 e0v1("?item"):::projected e0v2("?style"):::projected end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c1 f0 --> v2 v1 --"wdt:P135"--> v2 v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c4 v1 --"wdt:P170"--> v3 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P170"--> a2 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; end union0r <== or ==> union0l end a2 --"wdt:P135"--> v2 v1 --"wdt:P18"--> v4