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