Question: Who is taller, Bruce Campbell whose ISNI is 0000 0000 8402 988X or Joely Richardson?
Choices:
Rahul Dev Burman
Sylvester Stallone
Joely Richardson
David Byrne
James E. Reilly
Paul Simon
Simon Cowell
Max Fleischer
Richard Gere
Bruce Campbell
Program:
function: Find
inputs: Bruce Campbell
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0000 8402 988X
function: Find
inputs: Joely Richardson
function: SelectBetween
dependencies: 1
2
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bruce Campbell" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0000 8402 988X" . } UNION { ?e <pred:name> "Joely Richardson" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bruce Campbell