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