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