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