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