query-4907d611c0f72f9ea1c238af902e27fc

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 schema: <http://schema.org/>
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 ?itemLabel ?fisher ?bartsch ?passavant ?CD ?Kurth ?image ?cat 


WHERE { 
   { 
  SELECT DISTINCT ?item WHERE {
    ?item wdt:P31 wd:Q18219090.
     {?item p:P528 [ pq:P972 wd:Q100320351; ps:P528 ?fisher] } UNION
     {?item p:P528 [ pq:P972 wd:Q18327311;  ps:P528 ?bartsch] . } UNION
     {?item p:P528 [ pq:P972 wd:Q101157511; ps:P528 ?passavant] . } UNION
     {?item p:P528 [ pq:P972 wd:Q101181018; ps:P528 ?CD] . } UNION
     {?item p:P528 [ pq:P972 wd:Q101542418; ps:P528 ?Kurth] . } 
  }            
}.
  optional{?item p:P528 [ pq:P972 wd:Q100320351; ps:P528 ?fisher] . }
  optional{?item p:P528 [ pq:P972 wd:Q18327311;  ps:P528 ?bartsch] . }
  optional{?item p:P528 [ pq:P972 wd:Q101157511; ps:P528 ?passavant] . }
  optional{?item p:P528 [ pq:P972 wd:Q101181018; ps:P528 ?CD] . }
  optional{?item p:P528 [ pq:P972 wd:Q101542418; ps:P528 ?Kurth] . }
  optional{?item wdt:P18 ?image .}
  optional{?item wdt:P179 ?series .}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
  #optional{   ?commonsSitelink schema:about ?item; schema:isPartOf <https://commons.wikimedia.org/>; schema:name ?cat . }
} ORDER BY ?Kurth ?fisher

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v6("?CD"):::projected v1("?Kurth"):::projected v4("?bartsch"):::projected v2("?fisher"):::projected v7("?image"):::projected v3("?item"):::projected v5("?passavant"):::projected v8("?series") a1((" ")) a2((" ")) a3((" ")) a4((" ")) a5((" ")) a6((" ")) a7((" ")) a8((" ")) a9((" ")) a10((" ")) c10(["wd:Q101542418"]):::iri c16(["en"]):::literal c2(["wd:Q18219090"]):::iri c8(["wd:Q101157511"]):::iri c14(["bd:serviceParam"]):::iri c9(["wd:Q101181018"]):::iri c7(["wd:Q18327311"]):::iri c4(["wd:Q100320351"]):::iri v3 --"p:direct/P31"--> c2 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; subgraph union2[" Union "] subgraph union2l[" "] style union2l fill:#abf,stroke-dasharray: 3 3; subgraph union3[" Union "] subgraph union3l[" "] style union3l fill:#abf,stroke-dasharray: 3 3; a5 --"p:qualifier/P972"--> c10 a5 --"p:statement/P528"--> v1 v3 --"p:P528"--> a5 end subgraph union3r[" "] style union3r fill:#abf,stroke-dasharray: 3 3; a4 --"p:qualifier/P972"--> c9 a4 --"p:statement/P528"--> v6 v3 --"p:P528"--> a4 end union3r <== or ==> union3l end end subgraph union2r[" "] style union2r fill:#abf,stroke-dasharray: 3 3; a3 --"p:qualifier/P972"--> c8 a3 --"p:statement/P528"--> v5 v3 --"p:P528"--> a3 end union2r <== or ==> union2l end end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; a2 --"p:qualifier/P972"--> c7 a2 --"p:statement/P528"--> v4 v3 --"p:P528"--> a2 end union1r <== or ==> union1l end end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; a1 --"p:qualifier/P972"--> c4 a1 --"p:statement/P528"--> v2 v3 --"p:P528"--> a1 end union0r <== or ==> union0l end subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; a6 -."p:qualifier/P972".-> c4 a6 --"p:statement/P528"--> v2 v3 --"p:P528"--> a6 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; a7 -."p:qualifier/P972".-> c7 a7 --"p:statement/P528"--> v4 v3 --"p:P528"--> a7 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; a8 -."p:qualifier/P972".-> c8 a8 --"p:statement/P528"--> v5 v3 --"p:P528"--> a8 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; a9 -."p:qualifier/P972".-> c9 a9 --"p:statement/P528"--> v6 v3 --"p:P528"--> a9 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; a10 -."p:qualifier/P972".-> c10 a10 --"p:statement/P528"--> v1 v3 --"p:P528"--> a10 end subgraph optional5["(optional)"] style optional5 fill:#bbf,stroke-dasharray: 5 5; v3 -."p:direct/P18".-> v7 end subgraph optional6["(optional)"] style optional6 fill:#bbf,stroke-dasharray: 5 5; v3 -."p:direct/P179".-> v8 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c14 --"wikibase:language"--> c16 end