Question: How many sovereign states share a border with Kosovo and have a terrain feature known as "Jainism"?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Kosovo" .  ?e_2 <located_on_terrain_feature> ?e . ?e_2 <pred:name> "Jainism" .  }
Program:
function: Find
inputs: Kosovo
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Find
inputs: Jainism
function: Relate
dependencies: 3
inputs: located on terrain feature
forward
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: And
dependencies: 2
5
function: Count
dependencies: 6