Question: What is the higher education institution located in Halifax, capital of Nova Scotia?
Choices:
Dalhousie University
Pennsylvania State University
Creighton University
Case Western Reserve University
University of Ottawa
McMaster University
Schulich School of Law
McNeese State University
Imperial College London
University of Manchester
Answer: Dalhousie University
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "higher education institution" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Halifax" . ?e_2 <capital> ?e_1 . ?e_2 <pred:name> "Nova Scotia" .   }
Program:
function: Find
inputs: Nova Scotia
function: Relate
dependencies: 0
inputs: capital
forward
function: Find
inputs: Halifax
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: higher education institution
function: What
dependencies: 5