Question: Which person was born before 1985 and drafted by the Toronto Maple Leafs?
Choices:
Jeff Daniels
Tim Armstrong
William Henry Harrison
George Miller
Max Fleischer
Tim Duncan
Lauren Holly
Carlos Ruiz
Michael Jackson
Richard Gere
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of birth
1985
<
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Toronto Maple Leafs
function: Relate
dependencies: 3
inputs: drafted by
backward
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 <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1985 ) . ?e <drafted_by> ?e_1 . ?e_1 <pred:name> "Toronto Maple Leafs" .  }
Answer: Tim Armstrong