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