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