Question: Which has less mass, Chris Martin born on 1986-06-02 or Joe Jackson whose mass is 78 kilograms?
Choices: Simon Cowell
Rahul Dev Burman
David Byrne
Sylvester Stallone
Richard Gere
Paul Simon
Joe Jackson
Max Fleischer
James E. Reilly
William Henry Harrison
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Martin" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1986-06-02"^^xsd:date . } UNION { ?e <pred:name> "Joe Jackson" . ?e <mass> ?pv_2 . ?pv_2 <pred:unit> "kilogram" . ?pv_2 <pred:value> "78"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Chris Martin
function: FilterDate
dependencies: 0
inputs: date of birth
1986-06-02
=
function: Find
inputs: Joe Jackson
function: FilterNum
dependencies: 2
inputs: mass
78 kilogram
=
function: SelectBetween
dependencies: 1
3
inputs: mass
less
Answer: Joe Jackson