Question: What language is used by the ethnic group of Jesse Eisenberg?
Choices:
Irish
Turkish
Indonesian
Scots
German
Telugu
Polish
Romanian
Bengali
Gujarati
Program:
function: Find
inputs: Jesse Eisenberg
function: Relate
dependencies: 0
inputs: ethnic group
forward
function: FilterConcept
dependencies: 1
inputs: ethnic group
function: Relate
dependencies: 2
inputs: languages spoken, written or signed
forward
function: FilterConcept
dependencies: 3
inputs: language
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language" . ?e_1 <languages_spoken,_written_or_signed> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "ethnic group" . ?e_2 <ethnic_group> ?e_1 . ?e_2 <pred:name> "Jesse Eisenberg" .   }
Answer: Polish