Question: The geographic region with under 60 degrees Fahrenheit temp includes how many seas?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sea" . ?e_1 <has_part> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "geographic region" . ?e_1 <temperature> ?pv . ?pv <pred:unit> "degree Fahrenheit" . ?pv <pred:value> ?v . FILTER ( ?v < "60"^^xsd:double ) .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: temperature
60 degree Fahrenheit
<
function: FilterConcept
dependencies: 1
inputs: geographic region
function: Relate
dependencies: 2
inputs: has part
forward
function: FilterConcept
dependencies: 3
inputs: sea
function: Count
dependencies: 4
Answer: 3