Question: Does Heather Locklear or Shahrukh Khan have less height?
Choices:
James E. Reilly
William Henry Harrison
Paul Simon
Richard Gere
Sylvester Stallone
Heather Locklear
Max Fleischer
Shahrukh Khan
Rahul Dev Burman
David Byrne
Program:
function: Find
inputs: Heather Locklear
function: Find
inputs: Shahrukh Khan
function: SelectBetween
dependencies: 0
1
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Heather Locklear" .  } UNION { ?e <pred:name> "Shahrukh Khan" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Heather Locklear