Question: Which TOID corresponds to Dorset, the location of West Dorset?
Choices:
4000000074563985
4000000074559815
4000000074560267
4000000074566708
7000000000016518
4000000074545582
7000000000014362
4000000074572014
7000000000015934
country/wales
Answer: 7000000000014362
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Dorset" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "West Dorset" .  ?e <TOID> ?pv .  }
Program:
function: Find
inputs: West Dorset
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Dorset
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: TOID