Question: What is the TOID of the unitary authority of England whose capital is Blackpool (having the official name Blackpool)?
Choices:
4000000074572682
7000000000011164
4000000074543049
4000000074566708
7000000000001255
7000000000011199
4000000074551209
7000000000038861
4000000074546481
4000000074580405
Answer: 7000000000038861
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "unitary authority of England" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Blackpool" . ?e_1 <official_name> ?pv_1 . ?pv_1 <pred:value> "Blackpool" . ?e <TOID> ?pv .  }
Program:
function: Find
inputs: Blackpool
function: FilterStr
dependencies: 0
inputs: official name
Blackpool
function: Relate
dependencies: 1
inputs: capital of
forward
function: FilterConcept
dependencies: 2
inputs: unitary authority of England
function: QueryAttr
dependencies: 3
inputs: TOID