@@ -6,10 +6,10 @@ PREFIX dc: <http://purl.org/dc/terms/>
6
6
PREFIX owl: <http://www.w3.org/2002/07/owl#>
7
7
8
8
<http://www.w3.org/ns/sparql#> a owl:Ontology ;
9
- dc:date " 2025-06-30" ;
10
- rdfs:comment " Terms used by SPARQL 1.2" ;
11
- owl:versionInfo " "
12
- .
9
+ dc:date " 2025-06-30" ;
10
+ rdfs:comment " Terms used by SPARQL 1.2" ;
11
+ owl:versionInfo " 1.2 "
12
+ .
13
13
14
14
# #
15
15
@@ -51,49 +51,49 @@ sparql:unary-plus rdf:type sparql:Operator ;
51
51
.
52
52
53
53
sparql:equals rdf:type sparql:Operator ;
54
- rdfs:comment " " ;
54
+ rdfs:comment " This operator compares two expressions for equality. " ;
55
55
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
56
56
.
57
57
58
58
sparql:not-equals rdf:type sparql:Operator ;
59
- rdfs:comment " " ;
59
+ rdfs:comment " This operator tests two expressions for inequality. " ;
60
60
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
61
61
.
62
62
63
63
sparql:greaterThan rdf:type sparql:Operator ;
64
- rdfs:comment " " ;
64
+ rdfs:comment " This operator tests whether the first RDF term is greater than the second RDF term. " ;
65
65
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
66
66
.
67
67
68
68
sparql:lessThat rdf:type sparql:Operator ;
69
- rdfs:comment " " ;
69
+ rdfs:comment " This operator tests whether the first RDF term is less than the second RDF term. " ;
70
70
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
71
71
.
72
72
73
73
sparql:greaterThanOrEquals rdf:type sparql:Operator ;
74
- rdfs:comment " " ;
74
+ rdfs:comment " This operator tests whether the first RDF term is greater or equal to the second RDF term. " ;
75
75
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
76
76
.
77
77
78
78
sparql:lessThanOrEquals rdf:type sparql:Operator ;
79
- rdfs:comment " " ;
79
+ rdfs:comment " This operator tests whether the first RDF term is less than or equal to the second RDF term. " ;
80
80
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
81
81
.
82
82
83
83
sparql:operator-and rdf:type sparql:Operator ;
84
- rdfs:comment " " ;
84
+ rdfs:comment " This operator calculates the logical 'and' of two RDF terms " ;
85
85
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
86
86
.
87
87
88
88
sparql:operator-or rdf:type sparql:Operator ;
89
- rdfs:comment " " ;
90
- rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
91
- .
89
+ rdfs:comment " This operator calculates the logical 'or' of two RDF terms " ;
90
+ rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
91
+ .
92
92
93
93
sparql:operator-not rdf:type sparql:Operator ;
94
- rdfs:comment " " ;
95
- rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
96
- .
94
+ rdfs:comment " This operator calculates the logical 'not' of two RDF terms " ;
95
+ rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
96
+ .
97
97
98
98
# Section: Functional Forms
99
99
@@ -197,17 +197,17 @@ sparql:lang rdf:type sparql:Function ;
197
197
.
198
198
199
199
sparql:langdir rdf:type sparql:Function ;
200
- rdfs:comment " " ;
200
+ rdfs:comment " This function returns the base direction of a literal. " ;
201
201
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-langdir> ;
202
202
.
203
203
204
204
sparql:haslang rdf:type sparql:Function ;
205
- rdfs:comment " This function returns true if the given RDF literal has a specified language, matching the literal’s language tag. It returns false otherwise. " ;
205
+ rdfs:comment " This function returns true if the given RDF literal has a specified language, matching the literal’s language tag." ;
206
206
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-haslang> ;
207
207
.
208
208
209
209
sparql:haslangdir rdf:type sparql:Function ;
210
- rdfs:comment " " ;
210
+ rdfs:comment " THis fun ction rutrns true if the given RDF literal has an initial base direction. " ;
211
211
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-haslangdir> ;
212
212
.
213
213
@@ -217,17 +217,17 @@ sparql:datatype rdf:type sparql:Function ;
217
217
.
218
218
219
219
sparql:iri rdf:type sparql:Function ;
220
- rdfs:comment " " ;
220
+ rdfs:comment " This function returns an IRI with the given string. " ;
221
221
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-iri> ;
222
222
.
223
223
224
224
sparql:uri rdf:type sparql:Function ;
225
- rdfs:comment " " ;
225
+ rdfs:comment " This function returns an IRI with the given string. " ;
226
226
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-uri> ;
227
227
.
228
228
229
229
sparql:bnode rdf:type sparql:Function ;
230
- rdfs:comment " " ;
230
+ rdfs:comment " This function returns a blank node. " ;
231
231
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-bnode> ;
232
232
.
233
233
@@ -242,17 +242,17 @@ sparql:strlang rdf:type sparql:Function ;
242
242
.
243
243
244
244
sparql:strlangdir rdf:type sparql:Function ;
245
- rdfs:comment " " ;
245
+ rdfs:comment " This function creates an RDF literal with language tag and initial text direction. " ;
246
246
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-strlangdir> ;
247
247
.
248
248
249
249
sparql:uuid rdf:type sparql:Function ;
250
- rdfs:comment " This function generates a new version 4 UUID as an IRI." ;
250
+ rdfs:comment " This function generates a UUID as an IRI." ;
251
251
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-uuid> ;
252
252
.
253
253
254
254
sparql:struuid rdf:type sparql:Function ;
255
- rdfs:comment " " ;
255
+ rdfs:comment " This function generates a UUID as a string. " ;
256
256
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-struuid> ;
257
257
.
258
258
@@ -405,27 +405,27 @@ sparql:tz rdf:type sparql:Function ;
405
405
# Section: Functions on triple terms
406
406
407
407
sparql:triple rdf:type sparql:Function ;
408
- rdfs:comment " " ;
408
+ rdfs:comment "
409
409
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-triple> ;
410
410
.
411
411
412
412
sparql:subject rdf:type sparql:Function ;
413
- rdfs:comment " " ;
413
+ rdfs:comment "
414
414
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-subject> ;
415
415
.
416
416
417
417
sparql:predicate rdf:type sparql:Function ;
418
- rdfs:comment " " ;
418
+ rdfs:comment "
419
419
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-predicate> ;
420
420
.
421
421
422
422
sparql:object rdf:type sparql:Function ;
423
- rdfs:comment " " ;
423
+ rdfs:comment "
424
424
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-object> ;
425
425
.
426
426
427
427
sparql:isTriple rdf:type sparql:Function ;
428
- rdfs:comment " " ;
428
+ rdfs:comment "
429
429
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-isTriple> ;
430
430
.
431
431
@@ -459,61 +459,71 @@ sparql:sha512 rdf:type sparql:Function ;
459
459
# Aggregate functions
460
460
461
461
sparql:agg-count rdf:type sparql:Aggregate ;
462
- rdfs:comment " " ;
462
+ rdfs:comment " Aggregate function COUNT " ;
463
463
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
464
464
.
465
465
466
466
sparql:agg-count-distinct rdf:type sparql:Aggregate ;
467
- rdfs:comment " " ;
467
+ rdfs:comment " Aggregate function COUNT with DISTINCT " ;" ;
468
468
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
469
469
.
470
470
471
471
sparql:agg-sum rdf:type sparql:Aggregate ;
472
- rdfs:comment " " ;
472
+ rdfs:comment " Aggregate function SUM " ;
473
473
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
474
474
.
475
475
476
476
sparql:agg-sum-distinct rdf:type sparql:Aggregate ;
477
- rdfs:comment " " ;
477
+ rdfs:comment " Aggregate function SUM with DISTINCT " ;
478
478
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
479
479
.
480
480
481
481
sparql:agg-min rdf:type sparql:Aggregate ;
482
- rdfs:comment " " ;
482
+ rdfs:comment " Aggregate function MIN" ;
483
+ rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
484
+ .
485
+
486
+ sparql:agg-min-distinct rdf:type sparql:Aggregate ;
487
+ rdfs:comment " Aggregate function MIN with DISTINCT" ;
488
+ rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
489
+ .
490
+
491
+ sparql:agg-max rdf:type sparql:Aggregate ;
492
+ rdfs:comment " Aggregate function MAX" ;
483
493
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
484
494
.
485
495
486
496
sparql:agg-max-distinct rdf:type sparql:Aggregate ;
487
- rdfs:comment " " ;
497
+ rdfs:comment " Aggregate function MAX with DISTINCT " ;
488
498
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
489
499
.
490
500
491
501
sparql:agg-avg rdf:type sparql:Aggregate ;
492
- rdfs:comment " " ;
502
+ rdfs:comment " Aggregate function AVG " ;
493
503
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
494
504
.
495
505
496
506
sparql:agg-avg-distinct rdf:type sparql:Aggregate ;
497
- rdfs:comment " " ;
507
+ rdfs:comment " Aggregate function AVG with DISTINCT " ;
498
508
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
499
509
.
500
510
501
511
sparql:agg-sample rdf:type sparql:Aggregate ;
502
- rdfs:comment " " ;
512
+ rdfs:comment " Aggregate function SAMPLE " ;
503
513
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
504
514
.
505
515
506
516
sparql:agg-sample-distinct rdf:type sparql:Aggregate ;
507
- rdfs:comment " " ;
517
+ rdfs:comment " Aggregate function SAMPLE with DISTINCT " ;
508
518
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
509
519
.
510
520
511
521
sparql:agg-group-concat rdf:type sparql:Aggregate ;
512
- rdfs:comment " " ;
522
+ rdfs:comment " Aggregate function GROUP_CONCAT " ;
513
523
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
514
524
.
515
525
516
526
sparql:agg-group-concat-distinct rdf:type sparql:Aggregate ;
517
- rdfs:comment " " ;
527
+ rdfs:comment " Aggregate function GROUP_CONCAT with DISTINCT " ;
518
528
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
519
529
.
0 commit comments