Question: Does the town that is the birthplace of Maggie Smith (the one that is the citizen of United Kingdom), have its TOID equal to 4000000074579136?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Maggie Smith" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "United Kingdom" .  ?e <TOID> ?pv . ?pv <pred:value> "4000000074579136" .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Maggie Smith
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: town
function: QueryAttr
dependencies: 5
inputs: TOID
function: VerifyStr
dependencies: 6
inputs: 4000000074579136