How to specify a SERIN

The most recommended way to create a semantic restful interface is described in the next few steps:

1- Create or edit an existing domain ontology.

2- Import the basic original ontology from the SERIN URI. Click the link to open it or to copy the URI.

3- Add annotations to the classes at your will.


As an example, let us supose an ontology about clinical data. The full example can be found here.

The clinic ontology has a class defined as follow:
<owl:Class rdf:about="http://www.unifor.br/clinic.owl#Clinic">
</owl:Class>
Inserting the annotations, it is possible to define the permited read/write operations for this class.
<owl:Class rdf:about="http://www.unifor.br/clinic.owl#Clinic">
        <serin:post></serin:post>
        <serin:get></serin:get>
        <serin:put></serin:put>
        <serin:delete></serin:delete>
</owl:Class>