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