Question: Regarding a group of organisms known by a particular common name depicted by Bangor (121 mm wide), is its life expectancy higher than 12.5 years ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "group of organisms known by one particular common name" . ?e_1 <depicts> ?e . ?e_1 <pred:name> "Bangor" . ?e_1 <width> ?pv_1 . ?pv_1 <pred:unit> "millimetre" . ?pv_1 <pred:value> "121"^^xsd:double . ?e <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v > "12.5"^^xsd:double ) .  }
Program:
function: Find
inputs: Bangor
function: FilterNum
dependencies: 0
inputs: width
121 millimetre
=
function: Relate
dependencies: 1
inputs: depicts
forward
function: FilterConcept
dependencies: 2
inputs: group of organisms known by one particular common name
function: QueryAttr
dependencies: 3
inputs: life expectancy
function: VerifyNum
dependencies: 4
inputs: 12.5 year
>