What is the {pharmaceutical product} for {has active ingredient} of {niacin}
What are the pharmaceutical niacin's active ingredients?
What are the active ingredients of the pharmaceutical product niacin
SELECT DISTINCT ?t WHERE { ?t property:has_active_ingredient resource:niacin . ?t rdf:type ontology:pharmaceutical_product }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3781> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q134658> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q28885102> } 
 select distinct ?sbj where { ?sbj wdt:P3781 wd:Q134658 . ?sbj wdt:P31 wd:Q28885102 } 
Niaspan B3-500-Gr Niacor