Give me {essential medicine} that {pregnancy category} {Australian pregnancy category D} and which contains the word {warfarin} in their name
Tell me the essential medicine that contains the word warfarin in its name for Australian pregnancy category D?
Tell me the essential medicine for the pregnancy category of the Australian pregnancy category D that contains the word warfarin in it's name?
SELECT DISTINCT ?x WHERE { ?x property:pregnancy_category resource:Australian pregnancy category D . FILTER ( CONTAINS ( LCASE ( ?x ) , 'warfarin' ) ) . ?x rdf:type ontology:essential_medicine }
SELECT DISTINCT ?sbj ?sbj_label { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P31> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q35456>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3489> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q28123568>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'warfarin')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q35456 . ?sbj wdt:P3489 wd:Q28123568 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'warfarin')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 