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