Question: Who is taller, Tony Richardson (the one whose date of birth is 1971-12-12) or Michael McDonald (the one whose mass is 232 pound)?
Choices:
William Henry Harrison
David Byrne
Tony Richardson
Rahul Dev Burman
Michael McDonald
Sylvester Stallone
Richard Gere
Paul Simon
James E. Reilly
Max Fleischer
Answer: Michael McDonald
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tony Richardson" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1971-12-12"^^xsd:date . } UNION { ?e <pred:name> "Michael McDonald" . ?e <mass> ?pv_2 . ?pv_2 <pred:unit> "pound" . ?pv_2 <pred:value> "232"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Tony Richardson
function: FilterDate
dependencies: 0
inputs: date of birth
1971-12-12
=
function: Find
inputs: Michael McDonald
function: FilterNum
dependencies: 2
inputs: mass
232 pound
=
function: SelectBetween
dependencies: 1
3
inputs: height
greater