Question: Who is taller, Alicia Keys or Richard Harris (the one whose mass is 120 kilogram)?
Choices:
Rahul Dev Burman
Max Fleischer
Richard Gere
Alicia Keys
Simon Cowell
William Henry Harrison
Sylvester Stallone
Richard Harris
James E. Reilly
Paul Simon
Answer: Richard Harris
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alicia Keys" . } UNION { ?e <pred:name> "Richard Harris" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "kilogram" . ?pv_1 <pred:value> "120"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Alicia Keys
function: Find
inputs: Richard Harris
function: FilterNum
dependencies: 1
inputs: mass
120 kilogram
=
function: SelectBetween
dependencies: 0
2
inputs: height
greater