Author: tommaso
Date: Thu Jun 24 21:29:30 2010
New Revision: 957720

URL: http://svn.apache.org/viewvc?rev=957720&view=rev
Log:
[CLEREZZA-236] - added UIMA ontology

Added:
    
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.ontologies/src/
    
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.ontologies/src/main/
    
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.ontologies/src/main/resources/
    
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.ontologies/src/main/resources/org/
    
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.ontologies/src/main/resources/org/apache/
    
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.ontologies/src/main/resources/org/apache/clerezza/
    
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.ontologies/src/main/resources/org/apache/clerezza/uima/
    
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.ontologies/src/main/resources/org/apache/clerezza/uima/ontologies/
    
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.ontologies/src/main/resources/org/apache/clerezza/uima/ontologies/entity.rdf
   (with props)

Added: 
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.ontologies/src/main/resources/org/apache/clerezza/uima/ontologies/entity.rdf
URL: 
http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.ontologies/src/main/resources/org/apache/clerezza/uima/ontologies/entity.rdf?rev=957720&view=auto
==============================================================================
--- 
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.ontologies/src/main/resources/org/apache/clerezza/uima/ontologies/entity.rdf
 (added)
+++ 
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.ontologies/src/main/resources/org/apache/clerezza/uima/ontologies/entity.rdf
 Thu Jun 24 21:29:30 2010
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rdf:RDF 
+       xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"; 
+       xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"; 
+       xmlns:owl="http://www.w3.org/2002/07/owl#";
+       xmlns:vs="http://www.w3.org/2003/06/sw-vocab-status/ns#";
+       xmlns:dcterms="http://purl.org/dc/terms/";
+       xmlns:skos="http://www.w3.org/2004/02/skos/core#";
+       xmlns:dc="http://purl.org/dc/elements/1.1/";>
+
+    <!-- Vocabulary generic metadata about authors and a short description -->
+    <owl:Ontology rdf:about="http://clerezza.apache.org/2010/22/uima-entities"; 
dc:title="RDFS Vocabulary for UIMA Entities/Annotations and Features" 
+        dc:description="This vocabulary models and describe the result of a 
generic text extraction performed by UIMA" >
+        <dcterms:creator 
rdf:resource="http://davidepalmisano.wordpress.com/me.html"; />
+        <dcterms:creator rdf:resource="http://people.apache.org/~tommaso"; />
+    </owl:Ontology>
+
+    <rdfs:Class 
rdf:about="http://clerezza.apache.org/2010/22/uima-entities#Entity"; 
rdfs:label="Entity" skos:definition="An entity." vs:term_status="stable">
+        <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
+        <!-- An entity cannot be a Feature, hence this claims about 
disjointness -->
+        <owl:disjointWith 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities#Feature"/>
+        <rdfs:isDefinedBy 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities"/>
+    </rdfs:Class>
+    
+    <rdfs:Class 
rdf:about="http://clerezza.apache.org/2010/22/uima-entities#Feature"; 
rdfs:label="Feature" skos:definition="A feature." vs:term_status="testing">
+    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
+        <!-- A feature cannot be an Entity, hence this claims about 
disjointness -->
+        <owl:disjointWith 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities#Entity"/>
+        <rdfs:isDefinedBy 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities"/>
+    </rdfs:Class>
+    
+    <rdfs:Class 
rdf:about="http://clerezza.apache.org/2010/22/uima-entities#Annotation"; 
rdfs:label="Annotation" skos:definition="An annotation." 
vs:term_status="stable">
+    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
+        <!-- An annotation is also a complete Entity. -->
+        <rdfs:subClassOf 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities#Entity"/>
+        <rdfs:isDefinedBy 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities"/>
+    </rdfs:Class>
+    
+    <rdf:Property 
rdf:about="http://clerezza.apache.org/2010/22/uima-entities#uimaType"; 
vs:term_status="unstable" rdfs:label="uima type" skos:definition="It links an 
Entity with its UIMA type.">
+        <!-- 
+            Still unclear if a Literal is a suitable range for this property. 
If the UIMA types ar finite and enumerable
+            maybe worth to model them as individuals of a specific class. 
Requires further investigations.
+        -->
+        <rdf:type 
rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
+        <rdfs:domain 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities#Entity"/>
+        <rdfs:range 
rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
+        <rdfs:isDefinedBy 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities"/>
+    </rdf:Property>
+    
+    <rdf:Property 
rdf:about="http://clerezza.apache.org/2010/22/uima-entities#begin"; 
vs:term_status="stable" rdfs:label="begin" skos:definition="The first character 
of the wrapped text.">
+        <rdf:type 
rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
+        <rdfs:domain 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities#Annotation"/>
+        <rdfs:range 
rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
+        <rdfs:isDefinedBy 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities"/>
+    </rdf:Property>
+    
+    <rdf:Property 
rdf:about="http://clerezza.apache.org/2010/22/uima-entities#end"; 
vs:term_status="stable" rdfs:label="end" skos:definition="The last character of 
the wrapped text.">
+        <rdf:type 
rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
+        <rdfs:domain 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities#Annotation"/>
+        <rdfs:range 
rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
+        <rdfs:isDefinedBy 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities"/>
+    </rdf:Property>
+    
+    <rdf:Property 
rdf:about="http://clerezza.apache.org/2010/22/uima-entities#featureName"; 
vs:term_status="stable" rdfs:label="feature name" skos:definition="The name of 
the feature.">
+        <rdf:type 
rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
+        <rdfs:domain 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entitiesFeature"/>
+        <rdfs:range 
rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
+        <rdfs:isDefinedBy 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities"/>
+    </rdf:Property>
+    
+    <rdf:Property 
rdf:about="http://clerezza.apache.org/2010/22/uima-entities#featureValue"; 
vs:term_status="stable" rdfs:label="feature value" skos:definition="The value 
of the feature.">
+        <rdf:type 
rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
+        <rdfs:domain 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities#Feature"/>
+        <rdfs:range 
rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
+        <rdfs:isDefinedBy 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities"/>
+    </rdf:Property>
+    
+    <rdf:Property 
rdf:about="http://clerezza.apache.org/2010/22/uima-entities#hasFeature"; 
vs:term_status="stable" rdfs:label="has feature" skos:definition="Links an 
entity with its feature.">
+        <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
+        <rdfs:domain 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities#Entity"/>
+        <rdfs:range 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities#Feature"/>
+        <rdfs:isDefinedBy 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities"/>
+    </rdf:Property>
+    
+    <rdf:Property 
rdf:about="http://clerezza.apache.org/2010/22/uima-entities#contains"; 
vs:term_status="unstable" rdfs:label="contains">
+        <!--
+            The name and the domain of this property should be clarified. 
Unstable for now.
+        -->
+        <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
+        <rdfs:domain rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>
+        <rdfs:range 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities#Entity"/>
+        <rdfs:isDefinedBy 
rdf:resource="http://clerezza.apache.org/2010/22/uima-entities"/>
+    </rdf:Property>
+    
+</rdf:RDF>
+
+

Propchange: 
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.ontologies/src/main/resources/org/apache/clerezza/uima/ontologies/entity.rdf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.ontologies/src/main/resources/org/apache/clerezza/uima/ontologies/entity.rdf
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id


Reply via email to