Question: What market town's official website is http://www.pontefractus.co.uk/ and location is in Wakefield (whose TOID is 7000000000016758)?
Choices:
Houston Dynamo
Mali
The Prize
Hitchin
Burnley
Chesterfield
Don Ameche
Bury St Edmunds
Pontefract
Carmarthen
Answer: Pontefract
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "market town" . ?e <official_website> ?pv . ?pv <pred:value> "http://www.pontefractus.co.uk/" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Wakefield" . ?e_1 <TOID> ?pv_1 . ?pv_1 <pred:value> "7000000000016758" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.pontefractus.co.uk/
function: FilterConcept
dependencies: 1
inputs: market town
function: Find
inputs: Wakefield
function: FilterStr
dependencies: 3
inputs: TOID
7000000000016758
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 5
inputs: market town
function: And
dependencies: 2
6
function: What
dependencies: 7