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