Question: How many unitary states form a basin country of Mediterranean Sea ?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "unitary state" . ?e_1 <basin_country> ?e . ?e_1 <pred:name> "Mediterranean Sea" .   }
Program:
function: Find
inputs: Mediterranean Sea
function: Relate
dependencies: 0
inputs: basin country
forward
function: FilterConcept
dependencies: 1
inputs: unitary state
function: Count
dependencies: 2