Question: What is the ISNI of the person who lives in Derbyshire (the one that shares border with Staffordshire)?
Choices:
0000 0004 0616 1649
0000 0001 0783 2836
0000 0000 5514 1047
0000 0001 1040 8673
0000 0003 7468 8920
0000 0001 1456 1843
0000 0004 0405 8330
0000 0001 2165 7333
0000 0001 1443 5740
0000 0001 1625 1937
Answer: 0000 0001 1040 8673
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <residence> ?e_1 . ?e_1 <pred:name> "Derbyshire" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> "Staffordshire" .  ?e <ISNI> ?pv .  }
Program:
function: Find
inputs: Staffordshire
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Derbyshire
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: residence
backward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: ISNI