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