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