Question: Which human lives in Toledo (which is the capital of Lucas County)?
Choices:
Forest Whitaker
Sylvester Stallone
Max Fleischer
Rich Sommer
Mark Irwin
Rahul Dev Burman
William Henry Harrison
David Byrne
Richard Gere
David Beckham
Program:
function: Find
inputs: Lucas County
function: Relate
dependencies: 0
inputs: capital of
backward
function: Find
inputs: Toledo
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: residence
backward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <residence> ?e_1 . ?e_1 <pred:name> "Toledo" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> "Lucas County" .   }
Answer: Rich Sommer