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