You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2010/06/16 16:46:23 UTC

[jira] Created: (CLEREZZA-236) Add RDF Schema Ontology for UIMA Entities/Annotations and features

Add RDF Schema Ontology for UIMA Entities/Annotations and features
------------------------------------------------------------------

                 Key: CLEREZZA-236
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-236
             Project: Clerezza
          Issue Type: Improvement
            Reporter: Tommaso Teofili
            Assignee: Tommaso Teofili


Entities and annotations (with features) graphs should be added to the graph enriched by Apache UIMA

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-236) Add RDF Schema Ontology for UIMA Entities/Annotations and features

Posted by "Davide Palmisano (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881544#action_12881544 ] 

Davide Palmisano commented on CLEREZZA-236:
-------------------------------------------

Dear all,

thanks everyone for the quick replies and for the suggestions.

I fully (I hope, at least :) ) received the suggestions from Reto and therefore I modified the entity vocabulary according to them.
Furthermore, I've added another module in the org.apache.clerezza.uima called org.apache.clerezza.uima.ontologies where I put the new ontology as a resource.

According  to that I've modified the parent pom and I've added the clerezza org.apache.clerezza.maven-ontologies-plugin to the org.apache.clerezza.uima.ontologies .
Due to this, now is possible to generate the Java code modeling the Entity ontology just launching mvn test in the org.apache.clerezza.uima.ontologies module.

I hope that these is enough to cover what we said in the previous comments.

Just one note about the Schemagen:

Replacing rdfs:comment with skos:definition caused that now in the generated Java code there is any comment on the Java fields. Is that an explicit design choice?

many thanks,

Davide



> Add RDF Schema Ontology for UIMA Entities/Annotations and features
> ------------------------------------------------------------------
>
>                 Key: CLEREZZA-236
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-236
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>         Attachments: CLEREZZA-236-0.2.patch, CLEREZZA-236.patch
>
>
> Entities and annotations (with features) graphs should be added to the graph enriched by Apache UIMA

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (CLEREZZA-236) Add RDF Schema Ontology for UIMA Entities/Annotations and features

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür closed CLEREZZA-236.
---------------------------------------


bulk closing issues that were committed into trunk and left in status resolved for a long time and didn't find a reviewer.

> Add RDF Schema Ontology for UIMA Entities/Annotations and features
> ------------------------------------------------------------------
>
>                 Key: CLEREZZA-236
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-236
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>         Attachments: CLEREZZA-236-0.2.patch, CLEREZZA-236.patch
>
>
> Entities and annotations (with features) graphs should be added to the graph enriched by Apache UIMA

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-236) Add RDF Schema Ontology for UIMA Entities/Annotations and features

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881187#action_12881187 ] 

Reto Bachmann-Gmür commented on CLEREZZA-236:
---------------------------------------------

Hi Davide

Thanks for the patch, I'm sure Tommaso is more competent to say something to the actual ontology design, I can just comment on formalities:

- location: Formely the ontology project was the only location for ontologies, now with the nested maven project structure the idea is to keep only really global ontologies (well known ontologies) while other ontologies are rather kept in modules of the project using it.
- I'd suggest using skos:definition instead of rdfs:comments
- namespace http://clerezza.apache.org/scheme/entities/0.1/ : I'd suggest  http://clerezza.apache.org/2010/22/uima-entities -> we could discuss a policy on mailing list
- names: for example in http://clerezza.apache.org/scheme/entities/0.1/Feature we have an http-uri naming a non-information resource. to be compliant with the http-14 resolution [1] the server would have to send a 303 redirecting to an information resource, so I suggest using # instead of / to separate namespace from term.

Cheers,
reto


1. http://www.w3.org/2001/tag/doc/httpRange-14/2007-05-31/HttpRange-14.html

> Add RDF Schema Ontology for UIMA Entities/Annotations and features
> ------------------------------------------------------------------
>
>                 Key: CLEREZZA-236
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-236
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>         Attachments: CLEREZZA-236.patch
>
>
> Entities and annotations (with features) graphs should be added to the graph enriched by Apache UIMA

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CLEREZZA-236) Add RDF Schema Ontology for UIMA Entities/Annotations and features

Posted by "Davide Palmisano (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davide Palmisano updated CLEREZZA-236:
--------------------------------------

    Attachment: CLEREZZA-236-0.2.patch

> Add RDF Schema Ontology for UIMA Entities/Annotations and features
> ------------------------------------------------------------------
>
>                 Key: CLEREZZA-236
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-236
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>         Attachments: CLEREZZA-236-0.2.patch, CLEREZZA-236.patch
>
>
> Entities and annotations (with features) graphs should be added to the graph enriched by Apache UIMA

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-236) Add RDF Schema Ontology for UIMA Entities/Annotations and features

Posted by "Davide Palmisano (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881060#action_12881060 ] 

Davide Palmisano commented on CLEREZZA-236:
-------------------------------------------

Dear committers,

following a quick chat with Tommaso, I tried a tentative RDFS ontology to resolve this issue. I think I mostly embraced all the requirements that Tommy gently explained me, but still some things are unclear. 

I'm attaching a patch[1]. If applied it shows up the first draft of the the ENTITY RDFS Vocabulary containing a couple of comments with some issues that are still unclear and they probably need to be addressed before going further this first draft.

Hoping this may help,

Davide

[1] CLEREZZA-236.patch

> Add RDF Schema Ontology for UIMA Entities/Annotations and features
> ------------------------------------------------------------------
>
>                 Key: CLEREZZA-236
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-236
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>
> Entities and annotations (with features) graphs should be added to the graph enriched by Apache UIMA

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CLEREZZA-236) Add RDF Schema Ontology for UIMA Entities/Annotations and features

Posted by "Davide Palmisano (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davide Palmisano updated CLEREZZA-236:
--------------------------------------

    Attachment: CLEREZZA-236.patch

> Add RDF Schema Ontology for UIMA Entities/Annotations and features
> ------------------------------------------------------------------
>
>                 Key: CLEREZZA-236
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-236
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>         Attachments: CLEREZZA-236.patch
>
>
> Entities and annotations (with features) graphs should be added to the graph enriched by Apache UIMA

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CLEREZZA-236) Add RDF Schema Ontology for UIMA Entities/Annotations and features

Posted by "Tommaso Teofili (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tommaso Teofili resolved CLEREZZA-236.
--------------------------------------

    Resolution: Fixed

Thanks Davide for your patch

> Add RDF Schema Ontology for UIMA Entities/Annotations and features
> ------------------------------------------------------------------
>
>                 Key: CLEREZZA-236
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-236
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>         Attachments: CLEREZZA-236-0.2.patch, CLEREZZA-236.patch
>
>
> Entities and annotations (with features) graphs should be added to the graph enriched by Apache UIMA

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-236) Add RDF Schema Ontology for UIMA Entities/Annotations and features

Posted by "Tommaso Teofili (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882157#action_12882157 ] 

Tommaso Teofili commented on CLEREZZA-236:
------------------------------------------

I applied the patch locally and seem to be working even if, as Davide said, comments don't appear in the generated Java class.
Maybe we need to make some adjustments in SchemaGen class inside org.apache.clerezza.rdf.schemagen module since skos:definition has to be managed also as an attribute in RDFS (it works as an element in OWL)

> Add RDF Schema Ontology for UIMA Entities/Annotations and features
> ------------------------------------------------------------------
>
>                 Key: CLEREZZA-236
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-236
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>         Attachments: CLEREZZA-236-0.2.patch, CLEREZZA-236.patch
>
>
> Entities and annotations (with features) graphs should be added to the graph enriched by Apache UIMA

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-236) Add RDF Schema Ontology for UIMA Entities/Annotations and features

Posted by "Tommaso Teofili (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881664#action_12881664 ] 

Tommaso Teofili commented on CLEREZZA-236:
------------------------------------------

Hi Davide, it sounds nice! I'll try to apply your patch later today  and let you know :-)
Thanks again,
Tommaso

> Add RDF Schema Ontology for UIMA Entities/Annotations and features
> ------------------------------------------------------------------
>
>                 Key: CLEREZZA-236
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-236
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>         Attachments: CLEREZZA-236-0.2.patch, CLEREZZA-236.patch
>
>
> Entities and annotations (with features) graphs should be added to the graph enriched by Apache UIMA

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-236) Add RDF Schema Ontology for UIMA Entities/Annotations and features

Posted by "Tommaso Teofili (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881229#action_12881229 ] 

Tommaso Teofili commented on CLEREZZA-236:
------------------------------------------

I didn't know each module had its own ontologies (if it deserves) and though they all needed to go to the org.apache.clerezza.rdf.ontologies but it sounds reasonable to have them inside a separate module inside it (i.e.: org.apache.clerezza.uima.ontologies ).
I agree for uima-entities instead of entities.
Davide, what do you think? Could you manage to modify things and send a new patch?
Cheers,
Tommaso 

> Add RDF Schema Ontology for UIMA Entities/Annotations and features
> ------------------------------------------------------------------
>
>                 Key: CLEREZZA-236
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-236
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>         Attachments: CLEREZZA-236.patch
>
>
> Entities and annotations (with features) graphs should be added to the graph enriched by Apache UIMA

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.