Question: How many big cities are located in the continent of the geographic region whose demonym is Evropan?
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 8
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" . ?e <continent> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "geographic region" . ?e_1 <demonym> ?pv . ?pv <pred:value> "Evropan" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
Evropan
function: FilterConcept
dependencies: 1
inputs: geographic region
function: Relate
dependencies: 2
inputs: continent
backward
function: FilterConcept
dependencies: 3
inputs: big city
function: Count
dependencies: 4