Question: What person holds the position whose age of candidacy is under 40 years old (this statement's series ordinal is 31)?
Choices: Max Fleischer
William Henry Harrison
Thomas Jefferson
George W. Bush
Richard Nixon
Herbert Hoover
William McKinley
Dwight D. Eisenhower
Richard Gere
Sylvester Stallone
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <position_held> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "position" . ?e_1 <age_of_candidacy> ?pv . ?pv <pred:unit> "years old" . ?pv <pred:value> ?v . FILTER ( ?v < "40"^^xsd:double ) .  [ <pred:fact_h> ?e ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_1 ] <series_ordinal> ?qpv . ?qpv <pred:value> "31" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: age of candidacy
40 years old
<
function: FilterConcept
dependencies: 1
inputs: position
function: Relate
dependencies: 2
inputs: position held
backward
function: QFilterStr
dependencies: 3
inputs: series ordinal
31
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
Answer: Herbert Hoover