Skip to content

Commit 572bf62

Browse files
committed
Fill in rdfs:comment
1 parent 99c134e commit 572bf62

File tree

1 file changed

+53
-43
lines changed

1 file changed

+53
-43
lines changed

sparql-ns.ttl

Lines changed: 53 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ PREFIX dc: <http://purl.org/dc/terms/>
66
PREFIX owl: <http://www.w3.org/2002/07/owl#>
77

88
<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+
.
1313

1414
##
1515

@@ -51,49 +51,49 @@ sparql:unary-plus rdf:type sparql:Operator ;
5151
.
5252

5353
sparql:equals rdf:type sparql:Operator ;
54-
rdfs:comment "";
54+
rdfs:comment "This operator compares two expressions for equality.";
5555
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
5656
.
5757

5858
sparql:not-equals rdf:type sparql:Operator ;
59-
rdfs:comment "";
59+
rdfs:comment "This operator tests two expressions for inequality.";
6060
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
6161
.
6262

6363
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.";
6565
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
6666
.
6767

6868
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.";
7070
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
7171
.
7272

7373
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.";
7575
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
7676
.
7777

7878
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.";
8080
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
8181
.
8282

8383
sparql:operator-and rdf:type sparql:Operator ;
84-
rdfs:comment "";
84+
rdfs:comment "This operator calculates the logical 'and' of two RDF terms" ;
8585
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
8686
.
8787

8888
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+
.
9292

9393
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+
.
9797

9898
# Section: Functional Forms
9999

@@ -197,17 +197,17 @@ sparql:lang rdf:type sparql:Function ;
197197
.
198198

199199
sparql:langdir rdf:type sparql:Function ;
200-
rdfs:comment "" ;
200+
rdfs:comment "This function returns the base direction of a literal. " ;
201201
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-langdir> ;
202202
.
203203

204204
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." ;
206206
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-haslang> ;
207207
.
208208

209209
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." ;
211211
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-haslangdir> ;
212212
.
213213

@@ -217,17 +217,17 @@ sparql:datatype rdf:type sparql:Function ;
217217
.
218218

219219
sparql:iri rdf:type sparql:Function ;
220-
rdfs:comment "" ;
220+
rdfs:comment "This function returns an IRI with the given string." ;
221221
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-iri> ;
222222
.
223223

224224
sparql:uri rdf:type sparql:Function ;
225-
rdfs:comment "" ;
225+
rdfs:comment "This function returns an IRI with the given string." ;
226226
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-uri> ;
227227
.
228228

229229
sparql:bnode rdf:type sparql:Function ;
230-
rdfs:comment "" ;
230+
rdfs:comment "This function returns a blank node." ;
231231
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-bnode> ;
232232
.
233233

@@ -242,17 +242,17 @@ sparql:strlang rdf:type sparql:Function ;
242242
.
243243

244244
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." ;
246246
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-strlangdir> ;
247247
.
248248

249249
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." ;
251251
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-uuid> ;
252252
.
253253

254254
sparql:struuid rdf:type sparql:Function ;
255-
rdfs:comment "" ;
255+
rdfs:comment "This function generates a UUID as a string." ;
256256
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-struuid> ;
257257
.
258258

@@ -405,27 +405,27 @@ sparql:tz rdf:type sparql:Function ;
405405
# Section: Functions on triple terms
406406

407407
sparql:triple rdf:type sparql:Function ;
408-
rdfs:comment "" ;
408+
rdfs:comment "
409409
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-triple> ;
410410
.
411411

412412
sparql:subject rdf:type sparql:Function ;
413-
rdfs:comment "" ;
413+
rdfs:comment "
414414
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-subject> ;
415415
.
416416

417417
sparql:predicate rdf:type sparql:Function ;
418-
rdfs:comment "" ;
418+
rdfs:comment "
419419
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-predicate> ;
420420
.
421421

422422
sparql:object rdf:type sparql:Function ;
423-
rdfs:comment "" ;
423+
rdfs:comment "
424424
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-object> ;
425425
.
426426

427427
sparql:isTriple rdf:type sparql:Function ;
428-
rdfs:comment "" ;
428+
rdfs:comment "
429429
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-isTriple> ;
430430
.
431431

@@ -459,61 +459,71 @@ sparql:sha512 rdf:type sparql:Function ;
459459
# Aggregate functions
460460

461461
sparql:agg-count rdf:type sparql:Aggregate ;
462-
rdfs:comment "";
462+
rdfs:comment "Aggregate function COUNT" ;
463463
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
464464
.
465465

466466
sparql:agg-count-distinct rdf:type sparql:Aggregate ;
467-
rdfs:comment "";
467+
rdfs:comment "Aggregate function COUNT with DISTINCT" ;" ;
468468
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
469469
.
470470

471471
sparql:agg-sum rdf:type sparql:Aggregate ;
472-
rdfs:comment "";
472+
rdfs:comment "Aggregate function SUM" ;
473473
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
474474
.
475475

476476
sparql:agg-sum-distinct rdf:type sparql:Aggregate ;
477-
rdfs:comment "";
477+
rdfs:comment "Aggregate function SUM with DISTINCT" ;
478478
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
479479
.
480480

481481
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" ;
483493
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
484494
.
485495

486496
sparql:agg-max-distinct rdf:type sparql:Aggregate ;
487-
rdfs:comment "";
497+
rdfs:comment "Aggregate function MAX with DISTINCT" ;
488498
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
489499
.
490500

491501
sparql:agg-avg rdf:type sparql:Aggregate ;
492-
rdfs:comment "";
502+
rdfs:comment "Aggregate function AVG" ;
493503
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
494504
.
495505

496506
sparql:agg-avg-distinct rdf:type sparql:Aggregate ;
497-
rdfs:comment "";
507+
rdfs:comment "Aggregate function AVG with DISTINCT" ;
498508
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
499509
.
500510

501511
sparql:agg-sample rdf:type sparql:Aggregate ;
502-
rdfs:comment "";
512+
rdfs:comment "Aggregate function SAMPLE" ;
503513
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
504514
.
505515

506516
sparql:agg-sample-distinct rdf:type sparql:Aggregate ;
507-
rdfs:comment "";
517+
rdfs:comment "Aggregate function SAMPLE with DISTINCT" ;
508518
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
509519
.
510520

511521
sparql:agg-group-concat rdf:type sparql:Aggregate ;
512-
rdfs:comment "";
522+
rdfs:comment "Aggregate function GROUP_CONCAT" ;
513523
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
514524
.
515525

516526
sparql:agg-group-concat-distinct rdf:type sparql:Aggregate ;
517-
rdfs:comment "";
527+
rdfs:comment "Aggregate function GROUP_CONCAT with DISTINCT" ;
518528
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/> ;
519529
.

0 commit comments

Comments
 (0)