What is <has fruit type> of <nut> ?
[]
Which is the fruit type of nut?
SELECT DISTINCT ?y WHERE { ?y property:has_fruit_type resource:nut }
select distinct ?answer where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject>  ?answer. ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P4000> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q11009>. }
select distinct ?answer where { ?answer wdt:P4000 wd:Q11009}
Corylus avellana Castanea Cynomorium Corylus Fagaceae Fagus sylvatica Euphorbia Corylus colurna Betulaceae Stachys Dipsacaceae Alnus glutinosa Echium Carpinus betulus Humulus Cyperus papyrus Eriophorum Quercus robur Nothofagus Dipterocarpus Carya illinoinensis Corylus americana Juglans californica Corylus cornuta Corylus heterophylla Corylus sieboldiana Corylus chinensis Fagus crenata Fagus orientalis Fagus japonica Corylus maxima Geum aleppicum Acrocomia Corylus colchica Corylus mandshurica Corylus ferox Fagales Anacardium occidentale Basil