Question: What's the name of the market town located in the city borough identified with a TOID of 7000000000016758?
Choices:
Bury St Edmunds
Burnley
Chesterfield
epic film
project management
Carmarthen
Pontefract
Hitchin
Wakefield
The Man in the Iron Mask
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: TOID
7000000000016758
function: FilterConcept
dependencies: 1
inputs: metropolitan borough
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 3
inputs: market town
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "market town" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "metropolitan borough" . ?e_1 <TOID> ?pv_1 . ?pv_1 <pred:value> "7000000000016758" .   }
Answer: Pontefract