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