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