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