@@ -20,79 +20,69 @@ sparql:Aggregate rdf:type rdfs:Class .
20
20
21
21
# # Operators
22
22
23
- sparql:plus rdf:type sparql:Operator ;
23
+ sparql:plus rdf:type sparql:Function, sparql: Operator ;
24
24
rdfs:comment " This operator adds two numeric expressions and returns their sum." ;
25
25
rdfs:isDefinedBy ;
26
26
.
27
27
28
- sparql:subtract rdf:type sparql:Operator ;
28
+ sparql:subtract rdf:type sparql:Function, sparql: Operator ;
29
29
rdfs:comment " This operator subtracts the second numeric expression from the first and returns the result." ;
30
30
rdfs:isDefinedBy ;
31
31
.
32
32
33
- sparql:multiply rdf:type sparql:Operator ;
33
+ sparql:multiply rdf:type sparql:Function, sparql: Operator ;
34
34
rdfs:comment " This operator multiplies two numeric expressions and returns the product." ;
35
35
rdfs:isDefinedBy ;
36
36
.
37
37
38
- sparql:divide rdf:type sparql:Operator ;
38
+ sparql:divide rdf:type sparql:Function, sparql: Operator ;
39
39
rdfs:comment " This operator divides the first numeric expression by the second and returns the result." ;
40
40
rdfs:isDefinedBy ;
41
41
.
42
42
43
- sparql:unary-minus rdf:type sparql:Operator ;
43
+ sparql:unary-minus rdf:type sparql:Function, sparql: Operator ;
44
44
rdfs:comment " This unary operator returns the negation of a numeric expression." ;
45
45
rdfs:isDefinedBy ;
46
46
.
47
47
48
- sparql:unary-plus rdf:type sparql:Operator ;
48
+ sparql:unary-plus rdf:type sparql:Function, sparql: Operator ;
49
49
rdfs:comment " This unary operator returns the numeric expression unchanged, acting primarily as a syntactic indicator." ;
50
50
rdfs:isDefinedBy ;
51
51
.
52
52
53
- sparql:equals rdf:type sparql:Operator ;
53
+ sparql:equals rdf:type sparql:Function, sparql: Operator ;
54
54
rdfs:comment " This operator compares two expressions for equality." ;
55
55
rdfs:isDefinedBy ;
56
56
.
57
57
58
- sparql:not-equals rdf:type sparql:Operator ;
58
+ sparql:not-equals rdf:type sparql:Function, sparql: Operator ;
59
59
rdfs:comment " This operator tests two expressions for inequality." ;
60
60
rdfs:isDefinedBy ;
61
61
.
62
62
63
- sparql:greaterThan rdf:type sparql:Operator ;
63
+ sparql:greaterThan rdf:type sparql:Function, sparql: Operator ;
64
64
rdfs:comment " This operator tests whether the first RDF term is greater than the second RDF term." ;
65
65
rdfs:isDefinedBy ;
66
66
.
67
67
68
- sparql:lessThan rdf:type sparql:Operator ;
68
+ sparql:lessThan rdf:type sparql:Function, sparql: Operator ;
69
69
rdfs:comment " This operator tests whether the first RDF term is less than the second RDF term." ;
70
70
rdfs:isDefinedBy ;
71
71
.
72
72
73
- sparql:greaterThanOrEqual rdf:type sparql:Operator ;
73
+ sparql:greaterThanOrEqual rdf:type sparql:Function, sparql: Operator ;
74
74
rdfs:comment " This operator tests whether the first RDF term is greater or equal to the second RDF term." ;
75
75
rdfs:isDefinedBy ;
76
76
.
77
77
78
- sparql:lessThanOrEqual rdf:type sparql:Operator ;
78
+ sparql:lessThanOrEqual rdf:type sparql:Function, sparql: Operator ;
79
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 ;
81
81
.
82
-
83
- sparql:operator-and rdf:type sparql:Operator ;
84
- rdfs:comment " This operator calculates the logical 'and' of two RDF terms" ;
85
- rdfs:isDefinedBy ;
86
- .
87
-
88
- sparql:operator-or rdf:type sparql:Operator ;
89
- rdfs:comment " This operator calculates the logical 'or' of two RDF terms" ;
90
- rdfs:isDefinedBy ;
91
- .
92
-
93
- sparql:operator-not rdf:type sparql:Operator ;
94
- rdfs:comment " This operator calculates the logical 'not' of two RDF terms" ;
95
- rdfs:isDefinedBy ;
82
+
83
+ sparql:logical-not rdf:type sparql:Functional, sparql:Operator ;
84
+ rdfs:comment " This form computes the logical NOT of a boolean expression." ;
85
+ rdfs:isDefinedBy ;
96
86
.
97
87
98
88
# Section: Functional Forms
@@ -122,12 +112,12 @@ sparql:filter-not-exists rdf:type sparql:FunctionalForm ;
122
112
rdfs:isDefinedBy ;
123
113
.
124
114
125
- sparql:logical-or rdf:type sparql:FunctionalForm ;
115
+ sparql:logical-or rdf:type sparql:FunctionalForm, sparql:Operator ;
126
116
rdfs:comment " This form computes the logical OR of two boolean expressions." ;
127
117
rdfs:isDefinedBy ;
128
118
.
129
119
130
- sparql:logical-and rdf:type sparql:FunctionalForm ;
120
+ sparql:logical-and rdf:type sparql:FunctionalForm, sparql:Operator ;
131
121
rdfs:comment " This form computes the logical AND of two boolean expressions." ;
132
122
rdfs:isDefinedBy ;
133
123
.
0 commit comments