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