query-52bcb96630c5e9afb6d4d55578b0fc18

rq turtle/ttl

...and their proeedings!

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 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 DISTINCT ?series ?seriesLabel ?seriesNunber ?p ?pLabel ?title ?publication ?publicationLabel ?isbn ?doi
WHERE 
{
  {
    {?p wdt:P921 wd:Q54837} UNION {?p wdt:P921 wd:Q515701} {?p wdt:P921 wd:Q33002955}
    ?p wdt:P31 wd:Q2020153 .
  } UNION {
    ?p wdt:P179 ?s .
    {?s wdt:P921 wd:Q54837} UNION {?s wdt:P921 wd:Q515701}
    ?s wdt:P31 wd:Q47258130 .
  }
  OPTIONAL {?p p:P179 ?statement1 . ?statement1 ps:P179 ?series . OPTIONAL {?statement1 pq:P1545 ?seriesNunber} .}
  OPTIONAL {?p wdt:P1476 ?title }
  OPTIONAL {?p wdt:P580 ?start}
  OPTIONAL {?p wdt:P580 ?end}
  OPTIONAL {?p wdt:P856 ?website}
  OPTIONAL {?publication wdt:P4745 ?p. ?publication wdt:P212 ?isbn. ?publication wdt:P356 ?doi}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" . }
} ORDER BY ASC(?seriesLabel) xsd:integer(?seriesNunber) ASC(?pLabel) ASC(?start)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v14("?doi"):::projected v10("?end") v13("?isbn"):::projected v5("?p"):::projected v3("?pLabel"):::projected v12("?publication"):::projected v6("?s") v8("?series"):::projected v1("?seriesLabel"):::projected v2("?seriesNunber"):::projected v4("?start") v7("?statement1") v9("?title"):::projected v11("?website") c2(["wd:Q54837"]):::iri c3(["wd:Q515701"]):::iri c6(["wd:Q2020153"]):::iri c4(["wd:Q33002955"]):::iri c8(["wd:Q47258130"]):::iri c19(["bd:serviceParam"]):::iri c21(["de,en"]):::literal subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v5 --"p:direct/P179"--> v6 subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; v6 --"p:direct/P921"--> c3 end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v6 --"p:direct/P921"--> c2 end union1r <== or ==> union1l end v6 --"p:direct/P31"--> c8 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; subgraph union2[" Union "] subgraph union2l[" "] style union2l fill:#abf,stroke-dasharray: 3 3; v5 --"p:direct/P921"--> c3 end subgraph union2r[" "] style union2r fill:#abf,stroke-dasharray: 3 3; v5 --"p:direct/P921"--> c2 end union2r <== or ==> union2l end v5 --"p:direct/P921"--> c4 v5 --"p:direct/P31"--> c6 end union0r <== or ==> union0l end subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v5 -."p:P179".-> v7 v7 --"p:statement/P179"--> v8 subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v7 -."p:qualifier/P1545".-> v2 end end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v5 -."p:direct/P1476".-> v9 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v5 -."p:direct/P580".-> v4 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v5 -."p:direct/P580".-> v10 end subgraph optional5["(optional)"] style optional5 fill:#bbf,stroke-dasharray: 5 5; v5 -."p:direct/P856".-> v11 end subgraph optional6["(optional)"] style optional6 fill:#bbf,stroke-dasharray: 5 5; v12 -."p:direct/P4745".-> v5 v12 --"p:direct/P212"--> v13 v12 --"p:direct/P356"--> v14 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c19 --"wikibase:language"--> c21 end