query-4f663adee2fc00c446c3c4d2d3c2aef9

rq turtle/ttl

Get all scientific articles with "engineering" in the item label 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), "engineering")) FILTER (LANG(?itemLabel)="en")

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#>
#Get all scientific articles with "engineering" in the item label
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), "engineering"))
  FILTER (LANG(?itemLabel)="en")

Query found at