Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introducing named individual for Classes #339

Open
egekorkan opened this issue Dec 6, 2023 · 0 comments
Open

Introducing named individual for Classes #339

egekorkan opened this issue Dec 6, 2023 · 0 comments
Assignees
Labels
core related to the core specification document modbus related to modbus protocol binding

Comments

@egekorkan
Copy link
Contributor

(it is coming from Modbus but we should check other bindings as well)

We could also make the ResponseCode class consistent with the other classes that you have defined like Entity, Function where you use a list pointing to named individuals with colon like :Coil. Here a URI pointing to the individual is used, but maybe there was a rational behind it.

:ResponseCode rdf:type owl:Class ;
              owl:equivalentClass [ rdf:type owl:Class ;
                                    owl:oneOf ( <https://www.w3.org/2019/wot/modbus/errorCode#01>
                                                <https://www.w3.org/2019/wot/modbus/errorCode#02>
                                                <https://www.w3.org/2019/wot/modbus/errorCode#03>
                                                <https://www.w3.org/2019/wot/modbus/errorCode#04>
                                                <https://www.w3.org/2019/wot/modbus/errorCode#05>
                                                <https://www.w3.org/2019/wot/modbus/errorCode#06>
                                              )
                                  ] ;
              rdfs:subClassOf :Data_Field ;
              rdfs:comment "For an Exception Response, the server returns an exception code as data response field. Exception code defines the server condition that caused the exception as well as the reason of the error."@en ;
              rdfs:label "Exception code"@en .

Originally posted by @mahdanoura in #331 (comment)

@egekorkan egekorkan added modbus related to modbus protocol binding core related to the core specification document labels Dec 6, 2023
@relu91 relu91 self-assigned this Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core related to the core specification document modbus related to modbus protocol binding
Projects
None yet
Development

No branches or pull requests

2 participants