Question: Does English-speaking Mark Harmon or does Kate Beckinsale have the fewer kids?
Choices:
Paul Simon
William Henry Harrison
Richard Gere
Sylvester Stallone
David Byrne
Kate Beckinsale
Simon Cowell
Rahul Dev Burman
Mark Harmon
Max Fleischer
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Mark Harmon
function: And
dependencies: 1
2
function: Find
inputs: Kate Beckinsale
function: SelectBetween
dependencies: 3
4
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mark Harmon" . ?e <languages_spoken,_written_or_signed> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "Kate Beckinsale" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kate Beckinsale