blob: 6a2f8c02e171285f7d07b8679038c53ec87aeedf [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:dc="http://purl.org/dc/elements/1.1/"
xmlns:skos="http://www.w3.org/2008/05/skos#"
>
<!-- Ontology -->
<owl:Ontology rdf:about="http://clerezza.org/2008/11/osgi#">
<owl:versionInfo>Revision: 0.1</owl:versionInfo>
<dc:title xml:lang="en">
Clerezza OSGi Ontology Namespace
</dc:title>
</owl:Ontology>
<!-- Classes -->
<rdfs:Class rdf:about="http://clerezza.org/2008/11/osgi#Bundle">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
<rdfs:label xml:lang="en">Bundle</rdfs:label>
<skos:definition xml:lang="en">
A Bundle is a jar file containing a manifest and some
combination of Java classes, embedded JAR files,
native code, and resources
</skos:definition>
<rdfs:isDefinedBy rdf:resource="http://clerezza.org/2008/11/osgi#" />
</rdfs:Class>
<!-- Properties -->
<rdf:Property rdf:about="http://clerezza.org/2008/11/osgi#owner">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty" />
<rdfs:label xml:lang="en">owner</rdfs:label>
<skos:definition xml:lang="en">Points to an agent who owns the bundle</skos:definition>
<rdfs:isDefinedBy rdf:resource="http://clerezza.org/2008/11/osgi#" />
<rdfs:domain rdf:resource="http://clerezza.org/2008/11/osgi#Bundle" />
<rdfs:range rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
</rdf:Property>
<rdf:Property rdf:about="http://clerezza.org/2008/11/osgi#status">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty" />
<rdfs:label xml:lang="en">status</rdfs:label>
<skos:definition xml:lang="en">Points to the status of the subject, which is
indicated using the states as defined in org.osgi.framework.Bundle</skos:definition>
<rdfs:isDefinedBy rdf:resource="http://clerezza.org/2008/11/osgi#" />
<rdfs:domain rdf:resource="http://clerezza.org/2008/11/osgi#Bundle" />
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
</rdf:Property>
<rdf:Property rdf:about="http://clerezza.org/2008/11/osgi#bundle_id">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty" />
<rdfs:label xml:lang="en">bundle_id</rdfs:label>
<skos:definition xml:lang="en">Points to the bundle id of the subject in the
OSGi framework</skos:definition>
<rdfs:isDefinedBy rdf:resource="http://clerezza.org/2008/11/osgi#" />
<rdfs:domain rdf:resource="http://clerezza.org/2008/11/osgi#Bundle" />
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integers"/>
</rdf:Property>
<rdf:Property rdf:about="http://clerezza.org/2008/11/osgi#agent_path_prefix">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty" />
<rdfs:label xml:lang="en">agent_path_prefix</rdfs:label>
<skos:definition xml:lang="en">Points to a Literal specifying the URI path
prefix of an Agent, i.e. the Triaxrs path-prefix of bundles owned
by that Agent. The syntax of a "generic URI" (cf. RFC 2396)
is &lt;scheme&gt;://&lt;authority&gt;&lt;path&gt;?&lt;query&gt;. This
property defines the prefix of the path component assigned to the Agent.
E.g., /my/path/prefix can be defined as the path prefix of the URI
http://clerezza.org/my/path/prefix/myresource. </skos:definition>
<rdfs:isDefinedBy rdf:resource="http://clerezza.org/2008/11/osgi#" />
<rdfs:domain rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>
</rdf:RDF>