What is {WHO INN} of {treated by} of {impotence} ?
What WHO Hotel is treated by feebleness?
What is {WHO Hotel} of {treated by} of {feebleness} ?
SELECT ?f WHERE { ?d property:World_Health_Organisation_International_Nonproprietary_Name ?f . resource:erectile_dysfunction property:drug_used_for_treatment ?d }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q184674> . ?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/P2275> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q184674 wdt:P2176 ?X . ?X wdt:P2275 ?answer}