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