Question: Which person was born in Wakefield (the one that is the capital of West Yorkshire)?
Choices:
Tim Bevan
Max Fleischer
Bill Nelson
Richard Gere
Sylvester Stallone
David Byrne
Paul S. Fox
William Henry Harrison
Rahul Dev Burman
Simon Cowell
Program:
function: Find
inputs: West Yorkshire
function: Relate
dependencies: 0
inputs: capital of
backward
function: Find
inputs: Wakefield
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
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 <place_of_birth> ?e_1 . ?e_1 <pred:name> "Wakefield" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> "West Yorkshire" .   }
Answer: Bill Nelson