Question: Does Richard Dreyfuss or Michael Moore (whose official website is http://www.michaelmoore.org.uk/) have fewer children?
Choices:
Simon Cowell
James E. Reilly
David Byrne
Richard Dreyfuss
Sylvester Stallone
Richard Gere
Max Fleischer
Michael Moore
Paul Simon
William Henry Harrison
Program:
function: Find
inputs: Richard Dreyfuss
function: Find
inputs: Michael Moore
function: FilterStr
dependencies: 1
inputs: official website
http://www.michaelmoore.org.uk/
function: SelectBetween
dependencies: 0
2
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Richard Dreyfuss" . } UNION { ?e <pred:name> "Michael Moore" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.michaelmoore.org.uk/" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Michael Moore