Question: Who has fewer children, Harrison Ford, who has a Munzinger IBA of 00000017487, or Jennifer Garner?
Choices:
Paul Simon
Rahul Dev Burman
Harrison Ford
Sylvester Stallone
James E. Reilly
William Henry Harrison
Max Fleischer
Jennifer Garner
Richard Gere
Simon Cowell
Program:
function: Find
inputs: Harrison Ford
function: FilterStr
dependencies: 0
inputs: Munzinger IBA
00000017487
function: Find
inputs: Jennifer Garner
function: SelectBetween
dependencies: 1
2
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Harrison Ford" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> "00000017487" . } UNION { ?e <pred:name> "Jennifer Garner" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jennifer Garner