Question: Who has fewer children, Lucy Lawless or Giuseppe Verdi (the one that is the movement Romanticism)?
Choices:
David Byrne
William Henry Harrison
Paul Simon
Max Fleischer
Lucy Lawless
Sylvester Stallone
Giuseppe Verdi
Simon Cowell
Rahul Dev Burman
Richard Gere
Program:
function: Find
inputs: Lucy Lawless
function: Find
inputs: Romanticism
function: Relate
dependencies: 1
inputs: movement
backward
function: Find
inputs: Giuseppe Verdi
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lucy Lawless" .  } UNION { ?e <pred:name> "Giuseppe Verdi" . ?e <movement> ?e_1 . ?e_1 <pred:name> "Romanticism" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Giuseppe Verdi