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