query-e408760de9c87ee4bcfc5f86b8a69779

rq turtle/ttl

Propertiesinstance of (P31)PubMed publication ID (P698)

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?item ?itemLabel ?_PubMed_ID
WHERE
{
  ?item wdt:P31 wd:Q13442814 ;
        rdfs:label ?itemLabel .
  OPTIONAL { ?item wdt:P698 ?_PubMed_ID. }
  FILTER(CONTAINS(LCASE(?itemLabel), "zika"))
  FILTER (LANG(?itemLabel)="en") 
}
LIMIT 1000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?_PubMed_ID"):::projected v2("?item"):::projected v1("?itemLabel"):::projected c4(["wd:Q13442814"]):::iri f0[["?itemLabel = 'en'"]] f0 --> v1 f1[["contains(lower-case(?itemLabel),'zika')"]] f1 --> v1 v2 --"wdt:P31"--> c4 v2 --"rdfs:label"--> v1 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P698".-> v3 end