Question: Who has fewer children, Alicia Silverstone or Adam Smith (the one that is educated at Fordham University)?
Choices:
Simon Cowell
Max Fleischer
Rahul Dev Burman
Sylvester Stallone
Alicia Silverstone
Adam Smith
William Henry Harrison
Paul Simon
James E. Reilly
Richard Gere
Program:
function: Find
inputs: Alicia Silverstone
function: Find
inputs: Fordham University
function: Relate
dependencies: 1
inputs: educated at
backward
function: Find
inputs: Adam Smith
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alicia Silverstone" .  } UNION { ?e <pred:name> "Adam Smith" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "Fordham University" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Alicia Silverstone