Question: Who is shorter, Eva Longoria or Andy Williams who is 173 centimeters tall?
Choices:
Max Fleischer
William Henry Harrison
Andy Williams
Simon Cowell
Eva Longoria
Sylvester Stallone
Rahul Dev Burman
Paul Simon
David Byrne
James E. Reilly
Program:
function: Find
inputs: Eva Longoria
function: Find
inputs: Andy Williams
function: FilterNum
dependencies: 1
inputs: height
173 centimetre
=
function: SelectBetween
dependencies: 0
2
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Eva Longoria" . } UNION { ?e <pred:name> "Andy Williams" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "173"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Eva Longoria