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