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