query-7f7004f12353020eea1c1c5546f11384

rq turtle/ttl

TODO

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?item ?title ?pdate ?pmid ?pmcid ?doi
{
  VALUES ?pw { wd:Q82069695 }
  VALUES ?top { wd:Q7202 wd:Q128406 wd:Q908902 }
  ?item p:P921 [ ps:P921 ?pw].
  ?item p:P921 [ ps:P921 ?top].
  ?item wdt:P1476 ?title.
  ?item wdt:P577 ?pdate.
  OPTIONAL { 
    ?item wdt:P698 ?pmid.
  }
  OPTIONAL { 
    ?item wdt:P932 ?pmcid.
  }
  OPTIONAL { 
    ?item wdt:P356 ?doi.
  }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v8("?doi"):::projected v3("?item"):::projected v5("?pdate"):::projected v7("?pmcid"):::projected v6("?pmid"):::projected v1("?pw") v4("?title"):::projected v2("?top") a1((" ")) a2((" ")) bind0[/VALUES ?pw/] bind0-->v1 bind00(["wd:Q82069695"]) bind00 --> bind0 bind1[/VALUES ?top/] bind1-->v2 bind10(["wd:Q7202"]) bind10 --> bind1 bind11(["wd:Q128406"]) bind11 --> bind1 bind12(["wd:Q908902"]) bind12 --> bind1 a1 --"p:statement/P921"--> v1 v3 --"p:P921"--> a1 a2 --"p:statement/P921"--> v2 v3 --"p:P921"--> a2 v3 --"p:direct/P1476"--> v4 v3 --"p:direct/P577"--> v5 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."p:direct/P698".-> v6 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v3 -."p:direct/P932".-> v7 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v3 -."p:direct/P356".-> v8 end