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