Question: What number of states are a part of Lesser Antilles?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <part_of> ?e_1 . ?e_1 <pred:name> "Lesser Antilles" .   }
Program:
function: Find
inputs: Lesser Antilles
function: Relate
dependencies: 0
inputs: part of
backward
function: FilterConcept
dependencies: 1
inputs: state
function: Count
dependencies: 2