What is the {vaccine} for {vaccine for} of {chickenpox}
Whats the vaccine for chickenpox?
What is the vaccine for chickenpox?
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:vaccine . ?u property:vaccine_for resource:chickenpox }
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/P1924> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q44727> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q134808> } 
 select distinct ?sbj where { ?sbj wdt:P1924 wd:Q44727 . ?sbj wdt:P31 wd:Q134808 } 