Question: How many geographic regions have the capital Jerusalem which uses Arabic and whose demonym is európai?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Arabic
function: Relate
dependencies: 0
inputs: language used
backward
function: Find
inputs: Jerusalem
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: capital of
forward
function: FilterConcept
dependencies: 4
inputs: geographic region
function: FindAll
function: FilterStr
dependencies: 6
inputs: demonym
európai
function: FilterConcept
dependencies: 7
inputs: geographic region
function: And
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Jerusalem" . ?e_1 <language_used> ?e_2 . ?e_2 <pred:name> "Arabic" .  ?e <demonym> ?pv . ?pv <pred:value> "európai" .  }
Answer: 0