Question: Is the area of a city, where Tony Thomas (the one whose ISNI is 0000 0001 0788 0264) was born, more than 40 square km ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Tony Thomas" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0001 0788 0264" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v > "40"^^xsd:double ) .  }
Program:
function: Find
inputs: Tony Thomas
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 0788 0264
function: Relate
dependencies: 1
inputs: place of birth
forward
function: FilterConcept
dependencies: 2
inputs: city
function: QueryAttr
dependencies: 3
inputs: area
function: VerifyNum
dependencies: 4
inputs: 40 square kilometre
>