Question: Which county town is in West Dorset?
Choices:
Ipswich
Northampton
Oxford
Dorchester
Guildford
Bedford
Maidstone
Warwick
Reading
Aylesbury
Program:
function: Find
inputs: West Dorset
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: county town
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county town" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "West Dorset" .   }
Answer: Dorchester