Question: How many rivers have a low point in Lithuania and are located in Serbia?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "river" . ?e_1 <lowest_point> ?e . ?e_1 <pred:name> "Lithuania" .  ?e <country> ?e_2 . ?e_2 <pred:name> "Serbia" .  }
Program:
function: Find
inputs: Lithuania
function: Relate
dependencies: 0
inputs: lowest point
forward
function: FilterConcept
dependencies: 1
inputs: river
function: Find
inputs: Serbia
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: river
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0