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