Question: What university is headquartered in the location of a big city which is the birthplace of Chuck Norris (the one that died in West Palm Beach) ?
Choices:
University of Utah
Pennsylvania State University
Art Center College of Design
University of Manchester
University of Auckland
Utrecht University
University of Hamburg
Peking University
Imperial College London
McNeese State University
Answer: Art Center College of Design
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "big city" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Chuck Norris" . ?e_2 <place_of_death> ?e_3 . ?e_3 <pred:name> "West Palm Beach" .   }
Program:
function: Find
inputs: West Palm Beach
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Chuck Norris
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: big city
function: Relate
dependencies: 5
inputs: headquarters location
backward
function: FilterConcept
dependencies: 6
inputs: university
function: What
dependencies: 7