Question: Out of two people—Fred Williamson or Tom Johnson (born 1928-02-18)—which person has the larger amount of mass?
Choices:
Tom Johnson
Simon Cowell
William Henry Harrison
Sylvester Stallone
Max Fleischer
Paul Simon
Richard Gere
Fred Williamson
David Byrne
Rahul Dev Burman
Answer: Fred Williamson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tom Johnson" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1928-02-18"^^xsd:date . } UNION { ?e <pred:name> "Fred Williamson" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Tom Johnson
function: FilterDate
dependencies: 0
inputs: date of birth
1928-02-18
=
function: Find
inputs: Fred Williamson
function: SelectBetween
dependencies: 1
2
inputs: mass
greater