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