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