What is the {vegetable} for {this taxon is source of} of {eggplant}
Where are eggplants grown?
Where are eggplants grown?
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:vegetable . resource:eggplant property:this_taxon_is_source_of ?m }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7540> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1672> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q11004> } 
 select distinct ?obj where { wd:Q7540 wdt:P1672 ?obj . ?obj wdt:P31 wd:Q11004 } 
eggplant