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