Question: Which has more mass, Tom Johnson who was born on 1928-02-18 or Ron Howard who is 76 inches tall?
Choices: Sylvester Stallone
David Byrne
Richard Gere
Ron Howard
Tom Johnson
Simon Cowell
William Henry Harrison
Paul Simon
James E. Reilly
Rahul Dev Burman
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> "Ron Howard" . ?e <height> ?pv_2 . ?pv_2 <pred:unit> "inch" . ?pv_2 <pred:value> "76"^^xsd:double . } ?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: Ron Howard
function: FilterNum
dependencies: 2
inputs: height
76 inch
=
function: SelectBetween
dependencies: 1
3
inputs: mass
greater
Answer: Ron Howard