Question: Is 4000000074573917 the TOID of the town that is the capital of Kettering which is an administrative division of Northamptonshire?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: Northamptonshire
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Kettering
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: capital of
backward
function: FilterConcept
dependencies: 4
inputs: town
function: QueryAttr
dependencies: 5
inputs: TOID
function: VerifyStr
dependencies: 6
inputs: 4000000074573917
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Kettering" . ?e_2 <contains_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Northamptonshire" .  ?e <TOID> ?pv . ?pv <pred:value> "4000000074573917" .  }
Answer: yes