Question: What is the higher learning institution that is the educational site of Gary Cooper (who is educated at Grinnell College)?
Choices:
Cardiff University
Grinnell College
Denison University
San Francisco State University
Carleton College
University of Sheffield
Colorado College
University of Iowa
Trinity College
Hampshire College
Program:
function: Find
inputs: Grinnell College
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Gary Cooper
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: higher education institution
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "higher education institution" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Gary Cooper" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "Grinnell College" .   }
Answer: Grinnell College