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