Question: What human settlement is the capital of County Wexford?
Choices:
Orange
Exeter
Wexford
Red Bank
Ridgewood
Belleville
Whanganui
Princeton
Livingston
Montclair
Program:
function: Find
inputs: County Wexford
function: Relate
dependencies: 0
inputs: capital
forward
function: FilterConcept
dependencies: 1
inputs: human settlement
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human settlement" . ?e_1 <capital> ?e . ?e_1 <pred:name> "County Wexford" .   }
Answer: Wexford