Question: Is Naomi Watts or Megan Fox shorter in height?
Choices:
Richard Gere
Naomi Watts
Simon Cowell
James E. Reilly
Rahul Dev Burman
William Henry Harrison
Max Fleischer
Sylvester Stallone
Megan Fox
Paul Simon
Program:
function: Find
inputs: Naomi Watts
function: Find
inputs: Megan Fox
function: SelectBetween
dependencies: 0
1
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Naomi Watts" .  } UNION { ?e <pred:name> "Megan Fox" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Megan Fox