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