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