Question: Which person is Zachary Taylor's (the one that is the member of political party Whig Party) child?
Choices:
Salman Rushdie
Richard Taylor
Rahul Dev Burman
William Henry Harrison
Max Fleischer
Simon Cowell
Sylvester Stallone
Wyatt Cenac
David Byrne
Neymar
Program:
function: Find
inputs: Whig Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: Zachary Taylor
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: child
forward
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_1 <child> ?e . ?e_1 <pred:name> "Zachary Taylor" . ?e_1 <member_of_political_party> ?e_2 . ?e_2 <pred:name> "Whig Party" .   }
Answer: Richard Taylor