What is the {parent taxon} and the {has fruit type} of {Cashew} ?
What fruit does the cashew come from?
What fruit type and parent taxon does the cashew belong to?
SELECT ?x ?i WHERE { resource:Anacardium_occidentale property:parent_taxon ?x . resource:Anacardium_occidentale property:has_fruit_type ?i }
 SELECT ?ans_1 ?ans_2 WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q34007> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P171> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_1. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q34007> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P4000> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_2. } 
SELECT ?ans_1 ?ans_2 WHERE { wd:Q34007 wdt:P171 ?ans_1 . wd:Q34007 wdt:P4000 ?ans_2 }
Anacardium nut