Question: Which city with BA licence plate code is Cardiff's twinned administrative body?
Choices:
Chihuahua
Kingston
Trieste
Bergen
Santo Domingo
Bratislava
Bari
Abidjan
Kilkenny
Dundee
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: licence plate code
BA
function: FilterConcept
dependencies: 1
inputs: city
function: Find
inputs: Cardiff
function: Relate
dependencies: 3
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <licence_plate_code> ?pv . ?pv <pred:value> "BA" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Cardiff" .  }
Answer: Bari