Question: Does Steve McQueen (who is educated at Goldsmiths, University of London) or Marlee Matlin have fewer children?
Choices:
Marlee Matlin
James E. Reilly
David Byrne
Paul Simon
Steve McQueen
Rahul Dev Burman
Sylvester Stallone
William Henry Harrison
Simon Cowell
Richard Gere
Program:
function: Find
inputs: Goldsmiths, University of London
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Steve McQueen
function: And
dependencies: 1
2
function: Find
inputs: Marlee Matlin
function: SelectBetween
dependencies: 3
4
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Steve McQueen" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "Goldsmiths, University of London" .   } UNION { ?e <pred:name> "Marlee Matlin" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Steve McQueen