Question: Who has fewer children, Alanis Morissette or Robert De Niro (the one whose Munzinger IBA is 00000016428?
Choices:
Simon Cowell
Alanis Morissette
Richard Gere
Paul Simon
Robert De Niro
Sylvester Stallone
James E. Reilly
Max Fleischer
David Byrne
William Henry Harrison
Program:
function: Find
inputs: Alanis Morissette
function: Find
inputs: Robert De Niro
function: FilterStr
dependencies: 1
inputs: Munzinger IBA
00000016428
function: SelectBetween
dependencies: 0
2
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alanis Morissette" . } UNION { ?e <pred:name> "Robert De Niro" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> "00000016428" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Alanis Morissette