Question: Who has fewer children, Sigourney Weaver or Jennifer Ehle?
Choices:
Sylvester Stallone
James E. Reilly
Paul Simon
David Byrne
Sigourney Weaver
Rahul Dev Burman
Richard Gere
Jennifer Ehle
Simon Cowell
William Henry Harrison
Program:
function: Find
inputs: Sigourney Weaver
function: Find
inputs: Jennifer Ehle
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sigourney Weaver" .  } UNION { ?e <pred:name> "Jennifer Ehle" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sigourney Weaver