Question: Is the area of a French department, with the capital Versailles (postal code 78000) under 400 hectare ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "departments of France" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Versailles" . ?e_1 <postal_code> ?pv_1 . ?pv_1 <pred:value> "78000" . ?e <area> ?pv . ?pv <pred:unit> "hectare" . ?pv <pred:value> ?v . FILTER ( ?v < "400"^^xsd:double ) .  }
Program:
function: Find
inputs: Versailles
function: FilterStr
dependencies: 0
inputs: postal code
78000
function: Relate
dependencies: 1
inputs: capital
backward
function: FilterConcept
dependencies: 2
inputs: departments of France
function: QueryAttr
dependencies: 3
inputs: area
function: VerifyNum
dependencies: 4
inputs: 400 hectare
<