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