Question: For the landform located in Puerto Rico (the one whose inflation rate is 3.9 percentage), how many seas are its terrain feature?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sea" . ?e_1 <located_on_terrain_feature> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "landform" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Puerto Rico" . ?e_3 <inflation_rate> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> "3.9"^^xsd:double .   }
Program:
function: Find
inputs: Puerto Rico
function: FilterNum
dependencies: 0
inputs: inflation rate
3.9 percentage
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: landform
function: Relate
dependencies: 3
inputs: located on terrain feature
forward
function: FilterConcept
dependencies: 4
inputs: sea
function: Count
dependencies: 5