Skip to content

Commit de713c4

Browse files
committed
update/ontological_framework
- Remove unnecessary triples in the ontological framework. - Corrections on the prefixes and versioning. - Update in the class, obj, data properties position in the document to make it more readable.
1 parent dd60b56 commit de713c4

5 files changed

Lines changed: 116 additions & 228 deletions

File tree

CHANGELOG.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
Change Log
22
===============
3-
VERSION="0.0.22"
4-
LAST_UPDATE="11/02/2026"
3+
VERSION="0.0.23"
4+
LAST_UPDATE="21/02/2026"
55
------------------
6-
- Fixed the nested model automatically generation.
6+
- Remove unnecessary triples in the ontological framework.
7+
- Corrections on the prefixes and versioning.
8+
- Update in the class, obj, data properties position in the document to make it more readable.
79
------------------
Lines changed: 23 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,36 @@
11
@prefix : <http://www.cedri.com/OntologyToAPI-BusinessModel#> .
22
@prefix owl: <http://www.w3.org/2002/07/owl#> .
33
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
4-
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
54
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
65
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
6+
@prefix dcterms: <http://purl.org/dc/terms/> .
7+
@prefix md: <http://www.cedri.com/OntologyToAPI-Metadata#> .
8+
@prefix excode: <http://www.cedri.com/OntologyToAPI-ExternalCode#> .
79
@base <http://www.cedri.com/OntologyToAPI-BusinessModel#> .
810

9-
<http://www.cedri.com/OntologyToAPI-BusinessModel> rdf:type owl:Ontology ;
10-
owl:versionIRI <http://www.cedri.com/OntologyToAPI-BusinessModel/1.0.0> ;
11-
owl:imports <http://www.cedri.com/OntologyToAPI-ExternalCode/1.0.0> ,
12-
<http://www.cedri.com/OntologyToAPI-Metadata/1.0.0> ;
13-
<http://purl.org/dc/terms/creator> "https://orcid.org/0000-0002-7620-0960" ;
14-
<http://purl.org/dc/terms/description> "This ontology represent the business model interfaces with other OntologyToAPI concepts." ;
15-
<http://purl.org/dc/terms/issued> "2025-06-30" ;
16-
<http://purl.org/dc/terms/modified> "2025-06-30" .
17-
18-
#################################################################
19-
# Annotation properties
20-
#################################################################
21-
22-
### http://purl.org/dc/terms/creator
23-
<http://purl.org/dc/terms/creator> rdf:type owl:AnnotationProperty .
24-
25-
26-
### http://purl.org/dc/terms/description
27-
<http://purl.org/dc/terms/description> rdf:type owl:AnnotationProperty .
28-
29-
30-
### http://purl.org/dc/terms/issued
31-
<http://purl.org/dc/terms/issued> rdf:type owl:AnnotationProperty .
32-
33-
34-
### http://purl.org/dc/terms/modified
35-
<http://purl.org/dc/terms/modified> rdf:type owl:AnnotationProperty .
11+
:v1.0.10 rdf:type owl:Class .
3612

13+
: rdf:type owl:Ontology ;
14+
owl:versionIRI :v1.0.10 ;
15+
owl:imports excode:v1.0.10 ,
16+
md:v1.0.10 ;
17+
dcterms:creator "https://orcid.org/0000-0002-7620-0960" ;
18+
dcterms:description "This ontology represent the business model interfaces with other OntologyToAPI concepts." ;
19+
dcterms:issued "2025-06-30" ;
20+
dcterms:modified "2026-02-21" .
3721

3822
#################################################################
39-
# Datatypes
23+
# Classes
4024
#################################################################
4125

42-
### http://www.w3.org/2001/XMLSchema#duration
43-
xsd:duration rdf:type rdfs:Datatype .
26+
### http://www.cedri.com/OntologyToAPI-BusinessModel#BusinessModel
27+
:BusinessModel rdf:type owl:Class ;
28+
rdfs:comment "represents a business model that is related with metadata and can have external code" .
29+
4430

31+
### http://www.cedri.com/OntologyToAPI-BusinessModel#Parameter
32+
:Parameter rdf:type owl:Class ;
33+
rdfs:comment "An parameter required to run an Business Model" .
4534

4635
#################################################################
4736
# Object Properties
@@ -50,7 +39,7 @@ xsd:duration rdf:type rdfs:Datatype .
5039
### http://www.cedri.com/OntologyToAPI-BusinessModel#hasExternalCode
5140
:hasExternalCode rdf:type owl:ObjectProperty ;
5241
rdfs:domain :BusinessModel ;
53-
rdfs:range <http://www.cedri.com/OntologyToAPI-ExternalCode#ExternalCode> ;
42+
rdfs:range excode:ExternalCode ;
5443
rdfs:comment "A business model have some external code" .
5544

5645

@@ -65,15 +54,15 @@ xsd:duration rdf:type rdfs:Datatype .
6554
:requiresMetadata rdf:type owl:ObjectProperty ,
6655
owl:InverseFunctionalProperty ;
6756
rdfs:domain :BusinessModel ;
68-
rdfs:range <http://www.cedri.com/OntologyToAPI-Metadata#Metadata> ;
57+
rdfs:range md:Metadata ;
6958
rdfs:comment "The metadata required to achieve some goal of a business model" .
7059

7160

7261
### http://www.cedri.com/OntologyToAPI-BusinessModel#hasOutputMetadata
7362
:hasOutputMetadata rdf:type owl:ObjectProperty ,
7463
owl:InverseFunctionalProperty ;
7564
rdfs:domain :BusinessModel ;
76-
rdfs:range <http://www.cedri.com/OntologyToAPI-Metadata#Metadata> ;
65+
rdfs:range md:Metadata ;
7766
rdfs:comment "The metadata that represent the output data of one API endpoint" .
7867

7968

@@ -93,22 +82,4 @@ xsd:duration rdf:type rdfs:Datatype .
9382
rdfs:range xsd:string .
9483

9584

96-
#################################################################
97-
# Classes
98-
#################################################################
99-
100-
### http://www.cedri.com/OntologyToAPI-BusinessModel#BusinessModel
101-
:BusinessModel rdf:type owl:Class ;
102-
rdfs:comment "represents a business model that is related with metadata and can have external code" .
103-
104-
105-
### http://www.cedri.com/OntologyToAPI-BusinessModel#Parameter
106-
:Parameter rdf:type owl:Class ;
107-
rdfs:comment "An parameter required to run an Business Model" .
108-
109-
110-
### http://www.cedri.com/OntologyToAPI-ExternalCode#ExternalCode
111-
<http://www.cedri.com/OntologyToAPI-ExternalCode#ExternalCode> rdf:type owl:Class .
112-
113-
11485
### Generated by the OWL API (version 4.5.29.2024-05-13T12:11:03Z) https://github.com/owlcs/owlapi
Lines changed: 57 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,75 @@
11
@prefix : <http://www.cedri.com/OntologyToAPI-Communications#> .
2-
@prefix ct: <http://www.cedri.com/OntologyToAPI-Communications/> .
32
@prefix owl: <http://www.w3.org/2002/07/owl#> .
43
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
5-
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
4+
@prefix dcterms: <http://purl.org/dc/terms/> .
65
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
76
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
87
@base <http://www.cedri.com/OntologyToAPI-Communications#> .
98

10-
<http://www.cedri.com/OntologyToAPI-Communications> rdf:type owl:Ontology ;
11-
owl:versionIRI <http://www.cedri.com/OntologyToAPI-Communications/1.0.0> ;
12-
<http://purl.org/dc/terms/creator> "https://orcid.org/0000-0002-7620-0960" ;
13-
<http://purl.org/dc/terms/description> "This ontology represent the communication concepts from multiple system." ;
14-
<http://purl.org/dc/terms/issued> "2025-06-30" ;
15-
<http://purl.org/dc/terms/modified> "2025-06-30" .
9+
:v1.0.10 rdf:type owl:Class .
10+
11+
: rdf:type owl:Ontology ;
12+
owl:versionIRI :v1.0.10 ;
13+
dcterms:creator "https://orcid.org/0000-0002-7620-0960" ;
14+
dcterms:description "This ontology represent the communication concepts from multiple system." ;
15+
dcterms:issued "2025-06-30" ;
16+
dcterms:modified "2026-02-21" .
1617

1718
#################################################################
18-
# Annotation properties
19+
# Classes
1920
#################################################################
2021

21-
### http://purl.org/dc/terms/creator
22-
<http://purl.org/dc/terms/creator> rdf:type owl:AnnotationProperty .
22+
### http://www.cedri.com/OntologyToAPI-Communications#APICommunication
23+
:APICommunication rdf:type owl:Class ;
24+
rdfs:subClassOf :CommunicationTechnology ;
25+
rdfs:comment "A class representing API-based communication." .
2326

2427

25-
### http://purl.org/dc/terms/description
26-
<http://purl.org/dc/terms/description> rdf:type owl:AnnotationProperty .
28+
### http://www.cedri.com/OntologyToAPI-Communications#DatabaseCommunication
29+
:DatabaseCommunication rdf:type owl:Class ;
30+
rdfs:subClassOf :CommunicationTechnology ;
31+
rdfs:comment "A class representing communication with databases." .
2732

2833

29-
### http://purl.org/dc/terms/issued
30-
<http://purl.org/dc/terms/issued> rdf:type owl:AnnotationProperty .
34+
### http://www.cedri.com/OntologyToAPI-Communications#FileBasedCommunication
35+
:FileBasedCommunication rdf:type owl:Class ;
36+
rdfs:subClassOf :CommunicationTechnology ;
37+
rdfs:comment "A class representing communication through file systems." .
3138

3239

33-
### http://purl.org/dc/terms/modified
34-
<http://purl.org/dc/terms/modified> rdf:type owl:AnnotationProperty .
40+
### http://www.cedri.com/OntologyToAPI-Communications#MessageQueueCommunication
41+
:MessageQueueCommunication rdf:type owl:Class ;
42+
rdfs:subClassOf :CommunicationTechnology ;
43+
rdfs:comment "A class representing message broker or queue-based communication." .
3544

3645

37-
#################################################################
38-
# Datatypes
39-
#################################################################
46+
### http://www.cedri.com/OntologyToAPI-Communications#RPCCommunication
47+
:RPCCommunication rdf:type owl:Class ;
48+
rdfs:subClassOf :CommunicationTechnology ;
49+
rdfs:comment "A class representing Remote Procedure Call-based communication." .
4050

41-
### http://www.w3.org/2001/XMLSchema#duration
42-
xsd:duration rdf:type rdfs:Datatype .
51+
52+
### http://www.cedri.com/OntologyToAPI-Communications#ServiceMeshCommunication
53+
:ServiceMeshCommunication rdf:type owl:Class ;
54+
rdfs:subClassOf :CommunicationTechnology ;
55+
rdfs:comment "A class representing service mesh-based internal service communication." .
56+
57+
58+
### http://www.cedri.com/OntologyToAPI-Communications#SocketCommunication
59+
:SocketCommunication rdf:type owl:Class ;
60+
rdfs:subClassOf :CommunicationTechnology ;
61+
rdfs:comment "A class representing socket-based communication." .
62+
63+
64+
### http://www.cedri.com/OntologyToAPI-Communications#WebSocketCommunication
65+
:WebSocketCommunication rdf:type owl:Class ;
66+
rdfs:subClassOf :CommunicationTechnology ;
67+
rdfs:comment "A class representing WebSocket communication." .
68+
69+
70+
### http://www.cedri.com/OntologyToAPI-Communications/CommunicationTechnology
71+
:CommunicationTechnology rdf:type owl:Class ;
72+
rdfs:comment "A class representing communication technology." .
4373

4474

4575
#################################################################
@@ -73,7 +103,7 @@ xsd:duration rdf:type rdfs:Datatype .
73103
### http://www.cedri.com/OntologyToAPI-Communications#hasIPAddress
74104
:hasIPAddress rdf:type owl:DatatypeProperty ,
75105
owl:FunctionalProperty ;
76-
rdfs:domain ct:CommunicationTechnology ;
106+
rdfs:domain :CommunicationTechnology ;
77107
rdfs:range xsd:string ;
78108
rdfs:comment "the internet protocol address" .
79109

@@ -89,7 +119,7 @@ xsd:duration rdf:type rdfs:Datatype .
89119
### http://www.cedri.com/OntologyToAPI-Communications#hasPort
90120
:hasPort rdf:type owl:DatatypeProperty ,
91121
owl:FunctionalProperty ;
92-
rdfs:domain ct:CommunicationTechnology ;
122+
rdfs:domain :CommunicationTechnology ;
93123
rdfs:range xsd:integer ;
94124
rdfs:comment "has default port" .
95125

@@ -127,23 +157,23 @@ xsd:duration rdf:type rdfs:Datatype .
127157
### http://www.cedri.com/OntologyToAPI-Communications#hasSecurityLevel
128158
:hasSecurityLevel rdf:type owl:DatatypeProperty ,
129159
owl:FunctionalProperty ;
130-
rdfs:domain ct:CommunicationTechnology ;
160+
rdfs:domain :CommunicationTechnology ;
131161
rdfs:range xsd:string ;
132162
rdfs:comment "e.g., none, basic, TLS, end-to-end" .
133163

134164

135165
### http://www.cedri.com/OntologyToAPI-Communications#isStateful
136166
:isStateful rdf:type owl:DatatypeProperty ,
137167
owl:FunctionalProperty ;
138-
rdfs:domain ct:CommunicationTechnology ;
168+
rdfs:domain :CommunicationTechnology ;
139169
rdfs:range xsd:boolean ;
140170
rdfs:comment "whether the communication maintains state (e.g., WebSockets = true, REST = false)." .
141171

142172

143173
### http://www.cedri.com/OntologyToAPI-Communications#usesMessageFormat
144174
:usesMessageFormat rdf:type owl:DatatypeProperty ,
145175
owl:FunctionalProperty ;
146-
rdfs:domain ct:CommunicationTechnology ;
176+
rdfs:domain :CommunicationTechnology ;
147177
rdfs:range xsd:string ;
148178
rdfs:comment "e.g., JSON, XML, Protobuf, Binary" .
149179

@@ -155,62 +185,4 @@ xsd:duration rdf:type rdfs:Datatype .
155185
rdfs:range xsd:string ;
156186
rdfs:comment "the database tool (e. g. MySQL, MongoDB, MariaDB, etc.)" .
157187

158-
159-
#################################################################
160-
# Classes
161-
#################################################################
162-
163-
### http://www.cedri.com/OntologyToAPI-Communications#APICommunication
164-
:APICommunication rdf:type owl:Class ;
165-
rdfs:subClassOf ct:CommunicationTechnology ;
166-
rdfs:comment "A class representing API-based communication." .
167-
168-
169-
### http://www.cedri.com/OntologyToAPI-Communications#DatabaseCommunication
170-
:DatabaseCommunication rdf:type owl:Class ;
171-
rdfs:subClassOf ct:CommunicationTechnology ;
172-
rdfs:comment "A class representing communication with databases." .
173-
174-
175-
### http://www.cedri.com/OntologyToAPI-Communications#FileBasedCommunication
176-
:FileBasedCommunication rdf:type owl:Class ;
177-
rdfs:subClassOf ct:CommunicationTechnology ;
178-
rdfs:comment "A class representing communication through file systems." .
179-
180-
181-
### http://www.cedri.com/OntologyToAPI-Communications#MessageQueueCommunication
182-
:MessageQueueCommunication rdf:type owl:Class ;
183-
rdfs:subClassOf ct:CommunicationTechnology ;
184-
rdfs:comment "A class representing message broker or queue-based communication." .
185-
186-
187-
### http://www.cedri.com/OntologyToAPI-Communications#RPCCommunication
188-
:RPCCommunication rdf:type owl:Class ;
189-
rdfs:subClassOf ct:CommunicationTechnology ;
190-
rdfs:comment "A class representing Remote Procedure Call-based communication." .
191-
192-
193-
### http://www.cedri.com/OntologyToAPI-Communications#ServiceMeshCommunication
194-
:ServiceMeshCommunication rdf:type owl:Class ;
195-
rdfs:subClassOf ct:CommunicationTechnology ;
196-
rdfs:comment "A class representing service mesh-based internal service communication." .
197-
198-
199-
### http://www.cedri.com/OntologyToAPI-Communications#SocketCommunication
200-
:SocketCommunication rdf:type owl:Class ;
201-
rdfs:subClassOf ct:CommunicationTechnology ;
202-
rdfs:comment "A class representing socket-based communication." .
203-
204-
205-
### http://www.cedri.com/OntologyToAPI-Communications#WebSocketCommunication
206-
:WebSocketCommunication rdf:type owl:Class ;
207-
rdfs:subClassOf ct:CommunicationTechnology ;
208-
rdfs:comment "A class representing WebSocket communication." .
209-
210-
211-
### http://www.cedri.com/OntologyToAPI-Communications/CommunicationTechnology
212-
ct:CommunicationTechnology rdf:type owl:Class ;
213-
rdfs:comment "A class representing communication technology." .
214-
215-
216188
### Generated by the OWL API (version 4.5.29.2024-05-13T12:11:03Z) https://github.com/owlcs/owlapi

0 commit comments

Comments
 (0)