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