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