What is {disease treated} of {niacin}, that has {used for treatment} is {cerivastatin} ?
What disease was once handled with niacin that was used for treatment of cerivastatin?
What disease was treated with niacin that was used for treatment of cerivastatin?
SELECT ?k WHERE { ?k property:drug_used_for_treatment resource:cerivastatin . resource:niacin property:medical_condition_treated ?k }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q134658> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2175>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2176> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q423439> . }
SELECT ?answer WHERE { wd:Q134658 wdt:P2175 ?answer . ?answer wdt:P2176 wd:Q423439}
familial hyperlipidemia