Question: TOID # 7000000000024348 designates which city functioning as a civil parish?
Choices:
Hereford
Santo Domingo
Abidjan
Bergen
Kilkenny
Chichester
Cork
Truro
Chihuahua
Kingston
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: TOID
7000000000024348
function: QFilterStr
dependencies: 1
inputs: subject has role
civil parish
function: FilterConcept
dependencies: 2
inputs: city
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <TOID> ?pv . ?pv <pred:value> "7000000000024348" . [ <pred:fact_h> ?e ; <pred:fact_r> <TOID> ; <pred:fact_t> ?pv ] <subject_has_role> ?qpv . ?qpv <pred:value> "civil parish" .  }
Answer: Truro