Question: What borough in the United Kingdom includes the capital of Bournemouth (the residence of Robert Louis Stevenson)?
Choices:
Vietnam War
Chennai
Stockton-on-Tees
1960 Winter Olympics
stearic acid
Bournemouth
Trevor Howard
Santa Fe
Gotha
Eriq La Salle
Answer: Bournemouth
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "borough in the United Kingdom" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Bournemouth" . ?e_2 <residence> ?e_1 . ?e_2 <pred:name> "Robert Louis Stevenson" .   }
Program:
function: Find
inputs: Robert Louis Stevenson
function: Relate
dependencies: 0
inputs: residence
forward
function: Find
inputs: Bournemouth
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: capital
backward
function: FilterConcept
dependencies: 4
inputs: borough in the United Kingdom
function: What
dependencies: 5