-
Notifications
You must be signed in to change notification settings - Fork 0
/
eurostat_AG_AMCIS2021.ttl
204 lines (176 loc) · 8.82 KB
/
eurostat_AG_AMCIS2021.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
@prefix : <http://www.amcis2021.com/swag/myAG#> .
@prefix schema: <http://www.fing.edu.uy/inco/cubes/schemas/migr_asyapp#> .
@prefix films: <http://www.amcis2021.com/swag/filmsMDSchema#> .
@prefix myMDSchema: <http://www.fing.edu.uy/inco/cubes/schemas/myMDSchema#> .
@prefix wgs: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix pr: <http://www.amcis2021.com/swag/pr#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix ag: <http://www.amcis2021.com/swag/ag#> .
@prefix gn: <http://www.geonames.org/ontology#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix smd: <http://www.amcis2021.com/swag/smd#> .
@prefix qb: <http://purl.org/linked-data/cube#> .
@prefix sdmx-measure: <http://purl.org/linked-data/sdmx/2009/measure#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix qb4o: <http://purl.org/qb4olap/cubes#> .
@prefix property: <http://eurostat.linked-statistics.org/property#> .
@prefix sdmx-dimension: <http://purl.org/linked-data/sdmx/2009/dimension#> .
#This analysis graphs tracks the number of asylum applications.
#Analysis graph
:eurostatAG a owl:NamedIndividual, ag:AnalysisGraph;
rdfs:comment "This analysis graphs tracks the number of asylum applications."@en;
ag:analysisSituation :AS1, :AS2, :AS3, :AS4, :AS5;
ag:navigationStep :NV2-3, :NV1-2, :NV2-5, :NV3-4;
ag:onSchema schema:eurostat .
#Analysis situations
:AS1 a owl:NamedIndividual, ag:AnalysisSituation;
rdfs:comment "Sum of number of asylum applications submitted to a specific destination continent, grouped by destination continent."@en;
rdfs:label "Applications by destination continent"@en;
ag:dice :diceSpecOnContinent2;
ag:cube schema:migr_asyappctzmQB4O13;
ag:dataset schema:migr_asyappctzmQB4O13_ds;
ag:granularity :desContinentGran;
ag:measure myMDSchema:SumOfNumOfApplicatoins .
:AS2 a owl:NamedIndividual, ag:AnalysisSituation;
rdfs:comment "Sum of number of asylum applications submitted to a specific destination continent, grouped by destination country."@en;
rdfs:label "Applications by destination country"@en;
ag:dice :diceSpecOnContinent2;
ag:cube schema:migr_asyappctzmQB4O13;
ag:dataset schema:migr_asyappctzmQB4O13_ds;
ag:granularity :destCountryGran;
ag:measure myMDSchema:SumOfNumOfApplicatoins .
:AS3 a owl:NamedIndividual, ag:AnalysisSituation;
rdfs:comment "Sum of number of asylum applications submitted to a specific destination country, after a specific year, grouped by destination country and year."@en;
rdfs:label "Applications by destination country and year"@en;
ag:dice :diceSpecOnCountry3;
ag:cube schema:migr_asyappctzmQB4O13;
ag:dataset schema:migr_asyappctzmQB4O13_ds;
ag:granularity :destCountryGran, :yearGranularity;
ag:measure myMDSchema:SumOfNumOfApplicatoins;
ag:dimensionSelection :sliceOnYear .
:AS4 a owl:NamedIndividual, ag:AnalysisSituation;
rdfs:comment "Sum of number of asylum applications filtered by intensity, submitted to a specific destination country, after a specific year, grouped by destination country and month."@en;
rdfs:label "Applications by destination country and month"@en;
ag:dice :diceSpecOnCountry3;
ag:cube schema:migr_asyappctzmQB4O13;
ag:dataset schema:migr_asyappctzmQB4O13_ds;
ag:granularity :geoGran, :monthGranularity;
ag:measure myMDSchema:SumOfNumOfApplicatoins;
ag:dimensionSelection :sliceOnYear;
ag:resultSelection :sumOfNumOfAppsGreaterThan .
:AS5 a owl:NamedIndividual, ag:AnalysisSituation;
rdfs:comment "Sum of number of asylum applications submitted to a specific destination country, grouped by citizenship country and destination country."@en;
rdfs:label "Applications by citizenship and destination country"@en;
ag:dice :diceSpecOnCountry3;
ag:cube schema:migr_asyappctzmQB4O13;
ag:dataset schema:migr_asyappctzmQB4O13_ds;
ag:granularity :destCountryGran, :citizenGran;
ag:measure myMDSchema:SumOfNumOfApplicatoins .
#Navigation steps
:NV1-2 a owl:NamedIndividual, ag:NavigationStep;
rdfs:comment "Drill down to destination country"@en;
rdfs:label "Drill down to destination country"@en;
ag:operation :drillDownToDesCountry;
ag:source :AS1;
ag:target :AS2 .
:NV2-3 a owl:NamedIndividual, ag:NavigationStep;
rdfs:comment "Restrict destination country to a specific country, drill down to year of applications, and restrict year of applications."@en;
rdfs:label "Drill down to year"@en;
ag:operation :addSelectionOnYear, :drillDownToYearOnTime, :moveToCountry;
ag:source :AS2;
ag:target :AS3 .
:NV3-4 a owl:NamedIndividual, ag:NavigationStep;
rdfs:comment "Drill down to month of applications, and filter sum of number of asylum applications by intensity per month and country."@en;
rdfs:label "Drill down to month"@en;
ag:operation :drillDownToMonthOnTime, :filterSumOfNumOfAppsToMoreThan;
ag:source :AS3;
ag:target :AS4 .
:NV2-5 a owl:NamedIndividual, ag:NavigationStep;
rdfs:comment "Drill down to citizenship country, and restrict destination country to a specific country."@en;
rdfs:label "Drill down to citizenship country"@en;
ag:operation :moveToCountry, :drillDownToCitCountry;
ag:source :AS2;
ag:target :AS5 .
#Navigation operations
:drillDownToYearOnTime a owl:NamedIndividual, ag:DrillDownToLevel;
ag:opDimension schema:timeDim;
ag:opHierarchy schema:timeHier;
ag:opGranularityLevel schema:year .
:moveToCountry a owl:NamedIndividual, ag:MoveToDiceNode;
ag:opDimension schema:destinationDim;
ag:opHierarchy schema:destinationGeoHier;
ag:opDiceLevel property:geo;
ag:opDiceNode :varDiceNode2 .
:addSelectionOnYear a owl:NamedIndividual, ag:AddDimensionSelection;
ag:opDimension schema:timeDim;
ag:opDimensionPredicate :sliceSpecOnYear4;
ag:opHierarchy schema:timeHier .
:drillDownToDesCountry a owl:NamedIndividual, ag:DrillDownToLevel;
ag:opDimension schema:destinationDim;
ag:opHierarchy schema:destinationGeoHier;
ag:opGranularityLevel property:geo .
:drillDownToCitCountry a owl:NamedIndividual, ag:DrillDownToLevel;
ag:opDimension schema:citizenshipDim;
ag:opHierarchy schema:citizenshipGeoHier;
ag:opGranularityLevel property:citizen .
:drillDownToMonthOnTime a owl:NamedIndividual, ag:DrillDownToLevel;
ag:opDimension schema:timeDim;
ag:opHierarchy schema:timeHier;
ag:opGranularityLevel sdmx-dimension:refPeriod .
:filterSumOfNumOfAppsToMoreThan a owl:NamedIndividual, ag:AddResultSelection;
ag:opResultSelection :sumOfNumOfAppsGreaterThan .
#Specifications
:diceSpecOnContinent2 a owl:NamedIndividual, ag:DiceSpecification;
ag:diceLevel schema:continent;
ag:diceNode :varDiceNode3;
ag:dimension schema:destinationDim;
ag:hierarchy schema:destinationGeoHier .
:diceSpecOnCountry3 a owl:NamedIndividual, ag:DiceSpecification;
ag:diceLevel property:geo;
ag:diceNode :varDiceNode2;
ag:dimension schema:destinationDim;
ag:hierarchy schema:destinationGeoHier .
:desContinentGran a owl:NamedIndividual, ag:Granularity;
ag:dimension schema:destinationDim;
ag:hierarchy schema:destinationGeoHier;
ag:granularityLevel schema:continent .
:destCountryGran a owl:NamedIndividual, ag:Granularity;
ag:dimension schema:destinationDim;
ag:hierarchy schema:destinationGeoHier;
ag:granularityLevel property:geo .
:sliceOnYear a owl:NamedIndividual, ag:DimensionSelection;
ag:dimension schema:timeDim;
ag:hierarchy schema:timeHier;
ag:dimensionPredicate :sliceSpecOnYear4 .
:yearGranularity a owl:NamedIndividual, ag:Granularity;
ag:dimension schema:timeDim;
ag:hierarchy schema:timeHier;
ag:granularityLevel schema:year .
:geoGran a owl:NamedIndividual, ag:Granularity;
ag:dimension schema:destinationDim;
ag:hierarchy schema:destinationGeoHier;
ag:granularityLevel property:geo .
:monthGranularity a owl:NamedIndividual, ag:Granularity;
ag:dimension schema:timeDim;
ag:hierarchy schema:timeHier;
ag:granularityLevel sdmx-dimension:refPeriod .
:citizenGran a owl:NamedIndividual, ag:Granularity;
ag:dimension schema:citizenshipDim;
ag:hierarchy schema:citizenshipGeoHier;
ag:granularityLevel property:citizen .
#Variables
:sliceSpecOnYear4 a owl:NamedIndividual, ag:GroundPredicate, ag:Predicate, ag:DimensionPredicate,
ag:DimensionGroundPredicate, ag:Variable;
ag:domain [ag:instanceOf pr:yearGreaterThan ] .
:varDiceNode2 a owl:NamedIndividual, ag:Variable .
:varDiceNode3 a owl:NamedIndividual, ag:Variable .
:sumOfNumOfAppsGreaterThan a owl:NamedIndividual, ag:GroundPredicate, ag:Predicate,
ag:Variable, ag:ResultGroundPredicate, ag:ResultPredicate;
ag:domain [ag:instanceOf pr:highMonthlySumOfNumberOfApps] .
schema:eurostat a owl:NamedIndividual, smd:MDSchema;
rdfs:label "eurostat";
rdfs:isDefinedBy <https://raw.githubusercontent.com/lorenae/qb4olap/master/examples/eurostat_schema_QB4OLAP_v1.3.ttl>;
smd:hasFactClass schema:migr_asyappctzmQB4O13;
smd:hasSPARQLService "http://localhost:7200/repositories/AMCIS_2021" .