Question: James Bond (native name James Bond) studied at which school?
Choices:
University of Cambridge
Harrow School
Upper Canada College
Rugby School
National School of Drama
Eton College
Phillips Exeter Academy
Winchester College
Trinity College
Wellington College
Program:
function: Find
inputs: James Bond
function: FilterStr
dependencies: 0
inputs: name in native language
James Bond
function: Relate
dependencies: 1
inputs: educated at
forward
function: FilterConcept
dependencies: 2
inputs: school
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "school" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "James Bond" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> "James Bond" .   }
Answer: Harrow School