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