Question: Who has fewer children, Mark Gordon (the one that was born in New York City) or Nassar?
Choices:
Mark Gordon
James E. Reilly
Rahul Dev Burman
Simon Cowell
Richard Gere
Nassar
Max Fleischer
William Henry Harrison
Paul Simon
Sylvester Stallone
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Mark Gordon
function: And
dependencies: 1
2
function: Find
inputs: Nassar
function: SelectBetween
dependencies: 3
4
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mark Gordon" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "New York City" .   } UNION { ?e <pred:name> "Nassar" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Nassar