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