Question: Who is buried at the College of William & Mary and whose date of birth is before 1872?
Choices:
John Hughes
L. Frank Baum
Ben Johnson
John Davis
Sylvester Stallone
William Henry Harrison
James Madison
Thomas Hardy
Grover Cleveland
Max Fleischer
Program:
function: Find
inputs: College of William & Mary
function: Relate
dependencies: 0
inputs: place of burial
backward
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterYear
dependencies: 3
inputs: date of birth
1872
<
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_burial> ?e_1 . ?e_1 <pred:name> "College of William & Mary" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1872 ) .  }
Answer: James Madison