query-cbb06d03498176602b91368ac0da66c4

rq turtle/ttl

TODO

Use at

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/>
SELECT ?q ?section ?volume ?page WHERE {
  ?q p:P1343 ?node .
  ?node ps:P1343 wd:Q17377889 ;
        pq:P958 ?section .
  FILTER ( STRSTARTS(?section, "M" ) )
  OPTIONAL { ?node pq:P304 ?page }
  OPTIONAL { ?node pq:P478 ?volume }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?node") v4("?page"):::projected v2("?q"):::projected v1("?section"):::projected v5("?volume"):::projected c4(["wd:Q17377889"]):::iri f0[["starts-with(?section,'M')"]] f0 --> v1 v2 --"p:P1343"--> v3 v3 --"p:statement/P1343"--> c4 v3 --"p:qualifier/P958"--> v1 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."p:qualifier/P304".-> v4 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v3 -."p:qualifier/P478".-> v5 end