Question: Is Stephen Tyrone Colbert the birth name of the person who lives in Charleston (whose land area is 330.300132 square kilometers)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <residence> ?e_1 . ?e_1 <pred:name> "Charleston" . ?e_1 <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "330.300132"^^xsd:double . ?e <birth_name> ?pv . ?pv <pred:value> "Stephen Tyrone Colbert" .  }
Program:
function: Find
inputs: Charleston
function: FilterNum
dependencies: 0
inputs: area
330.300132 square kilometre
=
function: Relate
dependencies: 1
inputs: residence
backward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: birth name
function: VerifyStr
dependencies: 4
inputs: Stephen Tyrone Colbert