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