Question: What city is the twinned administrative body of Barcelona which is the filming location of The Sea Inside and whose demonym is hispalense?
Choices:
Kingston
Seville
Shanghai
Algiers
Buenos Aires
Cork
Cairo
Trieste
Isfahan
Kilkenny
Program:
function: Find
inputs: The Sea Inside
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: Barcelona
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 4
inputs: city
function: FindAll
function: FilterStr
dependencies: 6
inputs: demonym
hispalense
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 <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Barcelona" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> "The Sea Inside" .  ?e <demonym> ?pv . ?pv <pred:value> "hispalense" .  }
Answer: Seville