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