-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbenchmark.ttl
199 lines (160 loc) · 8.41 KB
/
benchmark.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
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix qb: <http://purl.org/linked-data/cube#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix hobbit: <http://w3id.org/hobbit/vocab#> .
@prefix exp: <http://w3id.org/hobbit/experiments#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix bench: <http://w3id.org/bench#> .
# --- Benchmark ---
bench:Spatial a hobbit:Benchmark;
rdfs:label "Spatial Benchmark"@en;
rdfs:comment "WP4.1 HOBBIT Benchmark"@en;
# hobbit:usesImage "git.project-hobbit.eu:4567/filipe.teixeira/synthetic-trace-generator" ;
hobbit:usesImage "git.project-hobbit.eu:4567/filipe.teixeira/synthetic-trace-generator/64kb-traces" ;
# hobbit:imageName "spatial_benchmark-controller";
hobbit:imageName "git.project-hobbit.eu:4567/jsaveta1/spatialbenchmarkcontroller";
# hobbit:usesImage "git.project-hobbit.eu:4567/jsaveta1/spatialbenchmarkcontroller";
hobbit:usesImage "git.project-hobbit.eu:4567/jsaveta1/spatialdatagenerator";
hobbit:usesImage "git.project-hobbit.eu:4567/jsaveta1/spatialtaskgenerator";
hobbit:usesImage "git.project-hobbit.eu:4567/jsaveta1/spatialevaluationmodule";
hobbit:hasAPI bench:SpatialAPI ;
hobbit:version "V1.1";
hobbit:measuresKPI bench:precision ;
hobbit:measuresKPI bench:recall ;
hobbit:measuresKPI bench:fmeasure ;
hobbit:measuresKPI bench:timePerformance ;
hobbit:hasParameter bench:dataGenerator ;
hobbit:hasParameter bench:hasMimickingSeed;
hobbit:hasParameter bench:hasPopulation;
hobbit:hasParameter bench:hasNumberOfGenerators;
hobbit:hasParameter bench:spatialDataFormat ;
hobbit:hasParameter bench:spatialRelation ;
hobbit:hasParameter bench:targetGeometry ;
hobbit:hasParameter bench:keepPoints .
bench:SpatialAPI a hobbit:API .
# --- metrics ---
bench:precision a hobbit:KPI;
rdfs:label "Precision"@en;
rdfs:comment "Precision = TP / (TP + FP)"@en;
rdfs:range xsd:float .
bench:recall a hobbit:KPI;
rdfs:label "Recall"@en;
rdfs:comment "Recall = TP / (TP + FN)"@en;
rdfs:range xsd:float .
bench:fmeasure a hobbit:KPI;
rdfs:label "F-measure"@en;
rdfs:comment "F-measure is the harmonic mean of precision and recall."@en;
rdfs:range xsd:float .
bench:timePerformance a hobbit:KPI;
rdfs:label "timePerformance"@en;
rdfs:comment "Measures time needed for the system to return the results"@en;
rdfs:range xsd:float .
# --- parameters ---
bench:hasPopulation a hobbit:Parameter, hobbit:FeatureParameter, hobbit:ConfigurableParameter;
rdfs:label "Population of generated data (number of instances)"@en;
rdfs:comment "Number of different events to be generated by a mimicking algorithm"@en;
rdfs:domain hobbit:Experiment, hobbit:Challenge;
rdfs:range xsd:unsignedInt;
hobbit:defaultValue "10"^^xsd:unsignedInt .
bench:hasMimickingSeed a hobbit:Parameter, hobbit:FeatureParameter, hobbit:ConfigurableParameter;
rdfs:label "Seed for mimicking algorithm"@en;
rdfs:comment "Seed for TomTom mimicking algorithm"@en;
rdfs:domain hobbit:Experiment, hobbit:Challenge;
rdfs:range xsd:unsignedInt;
hobbit:defaultValue "1"^^xsd:unsignedInt .
bench:hasNumberOfGenerators a hobbit:Parameter, hobbit:FeatureParameter, hobbit:ConfigurableParameter;
rdfs:label "Number of generators"@en;
rdfs:domain hobbit:Experiment, hobbit:Challenge;
rdfs:range xsd:unsignedInt;
hobbit:defaultValue "1"^^xsd:unsignedInt .
bench:keepPoints a hobbit:Parameter, hobbit:FeatureParameter, hobbit:ConfigurableParameter;
rdfs:label "Percentage of points to keep"@en;
rdfs:comment "The percentage should be smaller or equal to 1.0"@en;
rdfs:domain hobbit:Experiment, hobbit:Challenge;
rdfs:range xsd:float;
hobbit:defaultValue "1.0"^^xsd:float .
#--- data generator ---
bench:dataGenerator a hobbit:Parameter, hobbit:FeatureParameter, hobbit:ConfigurableParameter;
rdfs:label "Data generator "@en;
rdfs:comment "Data generator, TomTom or Spaten"@en;
rdfs:domain hobbit:Experiment, hobbit:Challenge;
rdfs:range bench:Generator;
hobbit:defaultValue bench:TOMTOM .
bench:Generator a rdfs:Class, owl:Class .
bench:TOMTOM a bench:Generator;
rdfs:label "TomTom"@en .
bench:SPATEN a bench:Generator;
rdfs:label "Spaten"@en .
#--- target geometry ---
bench:targetGeometry a hobbit:Parameter, hobbit:FeatureParameter, hobbit:ConfigurableParameter;
rdfs:label "Type of geometry to be generated as target dataset "@en;
rdfs:comment "Type of geometry to be generated as target dataset Options: LINESTRING, POLYGON"@en;
rdfs:domain hobbit:Experiment, hobbit:Challenge;
rdfs:range bench:Target;
hobbit:defaultValue bench:LINESTRING .
bench:Target a rdfs:Class, owl:Class .
bench:LINESTRING a bench:Target;
rdfs:label "LINESTRING"@en .
bench:POLYGON a bench:Target;
rdfs:label "POLYGON"@en .
# --- spatial relation ---
bench:spatialRelation a hobbit:Parameter, hobbit:FeatureParameter, hobbit:ConfigurableParameter;
rdfs:label "Spatial relation to generate "@en;
rdfs:comment "Spatial relation to generate. Options: EQUALS, DISJOINT, TOUCHES, CONTAINS, COVERS, INTERSECTS, WITHIN, COVERED_BY, CROSSES, OVERLAPS"@en;
rdfs:domain hobbit:Experiment, hobbit:Challenge;
rdfs:range bench:Relation;
hobbit:defaultValue bench:EQUALS .
bench:Relation a rdfs:Class, owl:Class .
bench:EQUALS a bench:Relation;
rdfs:label "EQUALS"@en .
bench:DISJOINT a bench:Relation;
rdfs:label "DISJOINT"@en .
bench:TOUCHES a bench:Relation;
rdfs:label "TOUCHES"@en .
bench:CONTAINS a bench:Relation;
rdfs:label "CONTAINS"@en .
bench:COVERS a bench:Relation;
rdfs:label "COVERS"@en .
bench:INTERSECTS a bench:Relation;
rdfs:label "INTERSECTS"@en .
bench:WITHIN a bench:Relation;
rdfs:label "WITHIN"@en .
bench:COVERED_BY a bench:Relation;
rdfs:label "COVERED_BY"@en .
bench:CROSSES a bench:Relation;
rdfs:label "CROSSES"@en .
bench:OVERLAPS a bench:Relation;
rdfs:label "OVERLAPS"@en .
# --- output data format ---
bench:spatialDataFormat a hobbit:Parameter, hobbit:FeatureParameter, hobbit:ConfigurableParameter;
rdfs:label "Generated data format"@en;
rdfs:comment "The serialization format in which the generated data will be saved."@en;
rdfs:domain hobbit:Experiment, hobbit:Challenge;
rdfs:range bench:DataFormat;
hobbit:defaultValue bench:NTriples .
bench:DataFormat a rdfs:Class, owl:Class .
bench:NTriples a bench:DataFormat;
rdfs:label "NTriples"@en;
rdfs:comment "Data will be generated in N-Triples Serialization format"@en .
bench:NQuads a bench:DataFormat;
rdfs:label "NQuads"@en;
rdfs:comment "Data will be generated in N-Quads Serialization format"@en .
bench:N3 a bench:DataFormat;
rdfs:label "N3"@en;
rdfs:comment "Data will be egenerated in N3 Serialization format"@en .
bench:RDFXML a bench:DataFormat;
rdfs:label "RDFXML"@en;
rdfs:comment "Data will be generated in RDF/XML Serialization format"@en .
bench:Turtle a bench:DataFormat;
rdfs:label "Turtle"@en;
rdfs:comment "Data will be generated in Turtle Serialization format"@en .
bench:Trig a bench:DataFormat;
rdfs:label "TriG"@en;
rdfs:comment "Data will be generated in TriG Serialization format"@en .
bench:TriX a bench:DataFormat;
rdfs:label "TriX"@en;
rdfs:comment "Data will begenerated in TriX Serialization format"@en .
bench:RDFJSON a bench:DataFormat;
rdfs:label "RDFJSON"@en;
rdfs:comment "Data generated in RDF/JSON Serialization format"@en .