Question: Which person who was born in 1766 has the occupation of politician?
Choices:
Gordon Brown
Thomas Hobbes
James Brown
Amitabh Bachchan
William Gibson
Gerald Ford
William Henry Harrison
Nancy Pelosi
Sylvester Stallone
Max Fleischer
Answer: James Brown
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <date_of_birth> ?pv . ?pv <pred:year> 1766 . ?e <occupation> ?e_1 . ?e_1 <pred:name> "politician" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of birth
1766
=
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: politician
function: Relate
dependencies: 3
inputs: occupation
backward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6