Question: Who has fewer children, Giuseppe Verdi (the one whose official website is http://www.giuseppeverdi.it/) or Shahrukh Khan?
Choices:
James E. Reilly
David Byrne
Sylvester Stallone
Max Fleischer
Shahrukh Khan
Giuseppe Verdi
Paul Simon
Richard Gere
William Henry Harrison
Simon Cowell
Program:
function: Find
inputs: Giuseppe Verdi
function: FilterStr
dependencies: 0
inputs: official website
http://www.giuseppeverdi.it/
function: Find
inputs: Shahrukh Khan
function: SelectBetween
dependencies: 1
2
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Giuseppe Verdi" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.giuseppeverdi.it/" . } UNION { ?e <pred:name> "Shahrukh Khan" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Giuseppe Verdi