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