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