Question: Which university is headquartered in Calgary?
Choices:
Northwestern University
University of Calgary
McNeese State University
University of Warsaw
University of Manchester
Boston College
Case Western Reserve University
Imperial College London
Pennsylvania State University
University of Nottingham
Program:
function: Find
inputs: Calgary
function: Relate
dependencies: 0
inputs: headquarters location
backward
function: FilterConcept
dependencies: 1
inputs: university
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Calgary" .   }
Answer: University of Calgary