Question: Who has fewer children, Bill Murray (the one whose CANTIC-ID is a1217449x) or Jack Black?
Choices:
William Henry Harrison
David Byrne
Bill Murray
Max Fleischer
Rahul Dev Burman
James E. Reilly
Jack Black
Simon Cowell
Paul Simon
Richard Gere
Answer: Jack Black
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bill Murray" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> "a1217449x" . } UNION { ?e <pred:name> "Jack Black" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Bill Murray
function: FilterStr
dependencies: 0
inputs: CANTIC-ID
a1217449x
function: Find
inputs: Jack Black
function: SelectBetween
dependencies: 1
2
inputs: number of children
less