Question: Which has fewer children, Barbara Hershey or Charles Bronson (Munzinger IBA 00000014618)?
Choices:
Rahul Dev Burman
Max Fleischer
David Byrne
Sylvester Stallone
Barbara Hershey
Paul Simon
Simon Cowell
William Henry Harrison
Charles Bronson
James E. Reilly
Program:
function: Find
inputs: Barbara Hershey
function: Find
inputs: Charles Bronson
function: FilterStr
dependencies: 1
inputs: Munzinger IBA
00000014618
function: SelectBetween
dependencies: 0
2
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Barbara Hershey" . } UNION { ?e <pred:name> "Charles Bronson" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> "00000014618" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Barbara Hershey