Question: Does Simon Cowell or Felicity Huffman have fewer children?
Choices:
William Henry Harrison
David Byrne
James E. Reilly
Babyface
Simon Cowell
Max Fleischer
Felicity Huffman
Richard Gere
Paul Simon
Sylvester Stallone
Program:
function: Find
inputs: Simon Cowell
function: Find
inputs: Felicity Huffman
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Simon Cowell" .  } UNION { ?e <pred:name> "Felicity Huffman" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Simon Cowell