Question: What city is succeeded by Istanbul (that is the twin administrative body to Plovdiv) and whose ISNI is 0000 0001 2034 9259?
Choices:
Cork
Trieste
Chihuahua
Dundee
Cairo
Kilkenny
Santo Domingo
Constantinople
Bergen
Abidjan
Program:
function: Find
inputs: Plovdiv
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Istanbul
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: follows
forward
function: FilterConcept
dependencies: 4
inputs: city
function: FindAll
function: FilterStr
dependencies: 6
inputs: ISNI
0000 0001 2034 9259
function: FilterConcept
dependencies: 7
inputs: city
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <follows> ?e . ?e_1 <pred:name> "Istanbul" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> "Plovdiv" .  ?e <ISNI> ?pv . ?pv <pred:value> "0000 0001 2034 9259" .  }
Answer: Constantinople