Question: What is Jamaica's area (the one that is located in or next to Caribbean Sea)?
Choices:
5363.28 square kilometre
26.544865 square kilometre
75.318873 square kilometre
1622 square kilometre
70.340872 square kilometre
144.72724 square kilometre
3452 square kilometre
43.345054 square kilometre
207.78 square kilometre
11190 square kilometre
Program:
function: Find
inputs: Caribbean Sea
function: Relate
dependencies: 0
inputs: located in or next to body of water
backward
function: Find
inputs: Jamaica
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: area
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Jamaica" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> "Caribbean Sea" .  ?e <area> ?pv .  }
Answer: 11190 square kilometre