Question: Which one, Buzz Aldrin or Bill Nelson (the one that has the religion Presbyterianism), has less time staying in space?
Choices:
Buzz Aldrin
Max Fleischer
Sylvester Stallone
Simon Cowell
David Byrne
Bill Nelson
James E. Reilly
Richard Gere
Paul Simon
William Henry Harrison
Answer: Bill Nelson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Buzz Aldrin" .  } UNION { ?e <pred:name> "Bill Nelson" . ?e <religion> ?e_1 . ?e_1 <pred:name> "Presbyterianism" .   } ?e <time_in_space> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Buzz Aldrin
function: Find
inputs: Presbyterianism
function: Relate
dependencies: 1
inputs: religion
backward
function: Find
inputs: Bill Nelson
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: time in space
less