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