query-3b8f416c671866702e66fd4e9c308c69

rq turtle/ttl

Find all annotations with term "toxocariasis", showing the article in which the term is found. SELECT ?item ?article ?term WHERE {?item wdt:P3 wd:Q5. ?item wdt:P15 ?term. ?item wdt:P20 ?article. FILTER (?term = "toxocariasis") }

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
#Find all annotations with term "toxocariasis", showing the article in which the term is found.
SELECT ?item ?article ?term 
  WHERE {?item wdt:P3 wd:Q5.
         ?item wdt:P15 ?term.
         ?item wdt:P20 ?article.
        FILTER (?term = "toxocariasis")
         }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?article"):::projected v2("?item"):::projected v1("?term"):::projected c3(["wd:Q5"]):::iri f0[["?term = 'toxocariasis'"]] f0 --> v1 v2 --"wdt:P3"--> c3 v2 --"wdt:P15"--> v1 v2 --"wdt:P20"--> v3