blob: 52b1ddb3a8f7dbd578902d041e4f2089b54c542f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<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#coveredText" vs:term_status="stable" rdfs:label="coveredText" skos:definition="The text span between begin and end">
<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>