Question: Which astronaut, Michael Collins or Buzz Aldrin, more enjoyed their time in outer space?
Choices:
William Henry Harrison
Michael Collins
David Byrne
Sylvester Stallone
Buzz Aldrin
James E. Reilly
Richard Gere
Max Fleischer
Rahul Dev Burman
Paul Simon
Answer: Buzz Aldrin
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Buzz Aldrin" .  } UNION { ?e <pred:name> "Michael Collins" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "astronaut" .   } ?e <time_in_space> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Buzz Aldrin
function: Find
inputs: astronaut
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: Michael Collins
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: time in space
greater