Question: Who has more children, Rosanna Arquette or Sandra Bullock?
Choices:
Sandra Bullock
David Byrne
Rahul Dev Burman
William Henry Harrison
Rosanna Arquette
Sylvester Stallone
Max Fleischer
Simon Cowell
Paul Simon
Richard Gere
Program:
function: Find
inputs: Rosanna Arquette
function: Find
inputs: Sandra Bullock
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rosanna Arquette" .  } UNION { ?e <pred:name> "Sandra Bullock" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sandra Bullock