Question: Does Mark Harmon, whose ISNI is 0000 0000 8103 8238, or Oliver Stone have a greater number of children?
Choices:
William Henry Harrison
Oliver Stone
Paul Simon
Sylvester Stallone
Simon Cowell
Rahul Dev Burman
Max Fleischer
Richard Gere
Mark Harmon
James E. Reilly
Program:
function: Find
inputs: Oliver Stone
function: Find
inputs: Mark Harmon
function: FilterStr
dependencies: 1
inputs: ISNI
0000 0000 8103 8238
function: SelectBetween
dependencies: 0
2
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oliver Stone" . } UNION { ?e <pred:name> "Mark Harmon" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0000 8103 8238" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Oliver Stone