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