What is {had role} of {used for treatment} of {pellagra} ?
By whom is Pellagra used?
Who uses Pellagra?
SELECT ?v WHERE { resource:pellagra property:drug_used_for_treatment ?h . ?h property:subject_has_role ?v }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q221441> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2176>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2868> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q221441 wdt:P2176 ?X . ?X wdt:P2868 ?answer}
vitamin B vitamin B hypolipidemic vasodilator agent Vitamin B3 complex vitamin B Enzyme activator