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