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