Question: Julia Roberts' partner studied at which university?
Choices:
Carnegie Mellon University
Royal Academy of Music
Marquette University
Lowell High School
University of Helsinki
George Washington University
University of Pittsburgh
University of Nottingham
University of Toledo
University of California, Santa Barbara
Program:
function: Find
inputs: Julia Roberts
function: Relate
dependencies: 0
inputs: partner
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: educated at
forward
function: FilterConcept
dependencies: 3
inputs: university
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e_1 <educated_at> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <partner> ?e_2 . ?e_2 <pred:name> "Julia Roberts" .   }
Answer: University of California, Santa Barbara