What is the {pharmaceutical product} for {active ingredient in} of {diazepam}
What is the name of the active ingredient in diazepam?
What is the active ingredient in diazepam?
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:pharmaceutical_product . resource:diazepam property:active_ingredient_in ?y }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q210402> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3780> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q28885102> } 
 select distinct ?obj where { wd:Q210402 wdt:P3780 ?obj . ?obj wdt:P31 wd:Q28885102 } 
Diastat Valium