clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject [clerezza] branch reunited updated: CLEREZZA-1032: Add ontology classes FOAF, OWL, RDF, and RDFS to ontologies module
Date Tue, 12 Feb 2019 00:07:58 GMT
This is an automated email from the ASF dual-hosted git repository.

hasan pushed a commit to branch reunited
in repository https://gitbox.apache.org/repos/asf/clerezza.git


The following commit(s) were added to refs/heads/reunited by this push:
     new 502b36a  CLEREZZA-1032: Add ontology classes FOAF, OWL, RDF, and RDFS to ontologies
module
502b36a is described below

commit 502b36a939047b055e9f0f9a557ac2bbc593235a
Author: Hasan <hasan@apache.org>
AuthorDate: Tue Feb 12 01:07:30 2019 +0100

    CLEREZZA-1032: Add ontology classes FOAF, OWL, RDF, and RDFS to ontologies module
---
 ontologies/pom.xml                                 |  44 ++
 .../java/org/apache/clerezza/ontologies/FOAF.java  | 460 +++++++++++++++++++++
 .../java/org/apache/clerezza/ontologies/OWL.java   | 223 ++++++++++
 .../java/org/apache/clerezza/ontologies/RDF.java   | 106 +++++
 .../java/org/apache/clerezza/ontologies/RDFS.java  | 107 +++++
 5 files changed, 940 insertions(+)

diff --git a/ontologies/pom.xml b/ontologies/pom.xml
new file mode 100644
index 0000000..615bd92
--- /dev/null
+++ b/ontologies/pom.xml
@@ -0,0 +1,44 @@
+<?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.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <parent>
+        <artifactId>clerezza</artifactId>
+        <groupId>org.apache.clerezza</groupId>
+        <version>8-SNAPSHOT</version>
+        <relativePath>../parent/pom.xml</relativePath>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+
+    <artifactId>ontologies</artifactId>
+    <packaging>bundle</packaging>
+    <version>8-SNAPSHOT</version>
+    <name>Clerezza - Ontologies</name>
+    <description>Ontology classes</description>
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.clerezza</groupId>
+            <artifactId>api</artifactId>
+            <version>8-SNAPSHOT</version>
+        </dependency>
+    </dependencies>
+
+</project>
\ No newline at end of file
diff --git a/ontologies/src/main/java/org/apache/clerezza/ontologies/FOAF.java b/ontologies/src/main/java/org/apache/clerezza/ontologies/FOAF.java
new file mode 100644
index 0000000..bd2e44b
--- /dev/null
+++ b/ontologies/src/main/java/org/apache/clerezza/ontologies/FOAF.java
@@ -0,0 +1,460 @@
+package org.apache.clerezza.ontologies;
+
+import org.apache.clerezza.api.IRI;
+
+public class FOAF {
+	// Classes
+
+	/**
+	 * comment: An agent (eg. person, group, software or physical artifact).
+
+	 */
+	public static final IRI Agent = new IRI("http://xmlns.com/foaf/0.1/Agent");
+
+	/**
+	 * comment: A document.
+
+	 */
+	public static final IRI Document = new IRI("http://xmlns.com/foaf/0.1/Document");
+
+	/**
+	 * comment: A class of Agents.
+
+	 */
+	public static final IRI Group = new IRI("http://xmlns.com/foaf/0.1/Group");
+
+	/**
+	 * comment: An image.
+
+	 */
+	public static final IRI Image = new IRI("http://xmlns.com/foaf/0.1/Image");
+
+	/**
+	 * comment: A foaf:LabelProperty is any RDF property with texual values that serve as labels.
+
+	 */
+	public static final IRI LabelProperty = new IRI("http://xmlns.com/foaf/0.1/LabelProperty");
+
+	/**
+	 * comment: An online account.
+
+	 */
+	public static final IRI OnlineAccount = new IRI("http://xmlns.com/foaf/0.1/OnlineAccount");
+
+	/**
+	 * comment: An online chat account.
+
+	 */
+	public static final IRI OnlineChatAccount = new IRI("http://xmlns.com/foaf/0.1/OnlineChatAccount");
+
+	/**
+	 * comment: An online e-commerce account.
+
+	 */
+	public static final IRI OnlineEcommerceAccount = new IRI("http://xmlns.com/foaf/0.1/OnlineEcommerceAccount");
+
+	/**
+	 * comment: An online gaming account.
+
+	 */
+	public static final IRI OnlineGamingAccount = new IRI("http://xmlns.com/foaf/0.1/OnlineGamingAccount");
+
+	/**
+	 * comment: An organization.
+
+	 */
+	public static final IRI Organization = new IRI("http://xmlns.com/foaf/0.1/Organization");
+
+	/**
+	 * comment: A person.
+
+	 */
+	public static final IRI Person = new IRI("http://xmlns.com/foaf/0.1/Person");
+
+	/**
+	 * comment: A personal profile RDF document.
+
+	 */
+	public static final IRI PersonalProfileDocument = new IRI("http://xmlns.com/foaf/0.1/PersonalProfileDocument");
+
+	/**
+	 * comment: A project (a collective endeavour of some kind).
+
+	 */
+	public static final IRI Project = new IRI("http://xmlns.com/foaf/0.1/Project");
+
+	// Properties
+
+	/**
+	 * comment: Indicates an account held by this agent.
+
+	 */
+	public static final IRI account = new IRI("http://xmlns.com/foaf/0.1/account");
+
+	/**
+	 * comment: Indicates the name (identifier) associated with this online account.
+
+	 */
+	public static final IRI accountName = new IRI("http://xmlns.com/foaf/0.1/accountName");
+
+	/**
+	 * comment: Indicates a homepage of the service provide for this online account.
+
+	 */
+	public static final IRI accountServiceHomepage = new IRI("http://xmlns.com/foaf/0.1/accountServiceHomepage");
+
+	/**
+	 * comment: The age in years of some agent.
+
+	 */
+	public static final IRI age = new IRI("http://xmlns.com/foaf/0.1/age");
+
+	/**
+	 * comment: An AIM chat ID
+
+	 */
+	public static final IRI aimChatID = new IRI("http://xmlns.com/foaf/0.1/aimChatID");
+
+	/**
+	 * comment: A location that something is based near, for some broadly human notion of near.
+
+	 */
+	public static final IRI based_near = new IRI("http://xmlns.com/foaf/0.1/based_near");
+
+	/**
+	 * comment: The birthday of this Agent, represented in mm-dd string form, eg. '12-31'.
+
+	 */
+	public static final IRI birthday = new IRI("http://xmlns.com/foaf/0.1/birthday");
+
+	/**
+	 * comment: A current project this person works on.
+
+	 */
+	public static final IRI currentProject = new IRI("http://xmlns.com/foaf/0.1/currentProject");
+
+	/**
+	 * comment: A depiction of some thing.
+
+	 */
+	public static final IRI depiction = new IRI("http://xmlns.com/foaf/0.1/depiction");
+
+	/**
+	 * comment: A thing depicted in this representation.
+
+	 */
+	public static final IRI depicts = new IRI("http://xmlns.com/foaf/0.1/depicts");
+
+	/**
+	 * comment: A checksum for the DNA of some thing. Joke.
+
+	 */
+	public static final IRI dnaChecksum = new IRI("http://xmlns.com/foaf/0.1/dnaChecksum");
+
+	/**
+	 * comment: The family name of some person.
+
+	 */
+	public static final IRI familyName = new IRI("http://xmlns.com/foaf/0.1/familyName");
+
+	/**
+	 * comment: The family name of some person.
+
+	 */
+	public static final IRI family_name = new IRI("http://xmlns.com/foaf/0.1/family_name");
+
+	/**
+	 * comment: The first name of a person.
+
+	 */
+	public static final IRI firstName = new IRI("http://xmlns.com/foaf/0.1/firstName");
+
+	/**
+	 * comment: An organization funding a project or person.
+
+	 */
+	public static final IRI fundedBy = new IRI("http://xmlns.com/foaf/0.1/fundedBy");
+
+	/**
+	 * comment: A textual geekcode for this person, see http://www.geekcode.com/geek.html
+
+	 */
+	public static final IRI geekcode = new IRI("http://xmlns.com/foaf/0.1/geekcode");
+
+	/**
+	 * comment: The gender of this Agent (typically but not necessarily 'male' or 'female').
+
+	 */
+	public static final IRI gender = new IRI("http://xmlns.com/foaf/0.1/gender");
+
+	/**
+	 * comment: The given name of some person.
+
+	 */
+	public static final IRI givenName = new IRI("http://xmlns.com/foaf/0.1/givenName");
+
+	/**
+	 * comment: The given name of some person.
+
+	 */
+	public static final IRI givenname = new IRI("http://xmlns.com/foaf/0.1/givenname");
+
+	/**
+	 * comment: Indicates an account held by this agent.
+
+	 */
+	public static final IRI holdsAccount = new IRI("http://xmlns.com/foaf/0.1/holdsAccount");
+
+	/**
+	 * comment: A homepage for some thing.
+
+	 */
+	public static final IRI homepage = new IRI("http://xmlns.com/foaf/0.1/homepage");
+
+	/**
+	 * comment: An ICQ chat ID
+
+	 */
+	public static final IRI icqChatID = new IRI("http://xmlns.com/foaf/0.1/icqChatID");
+
+	/**
+	 * comment: An image that can be used to represent some thing (ie. those depictions which
are particularly representative of something, eg. one's photo on a homepage).
+
+	 */
+	public static final IRI img = new IRI("http://xmlns.com/foaf/0.1/img");
+
+	/**
+	 * comment: A page about a topic of interest to this person.
+
+	 */
+	public static final IRI interest = new IRI("http://xmlns.com/foaf/0.1/interest");
+
+	/**
+	 * comment: A document that this thing is the primary topic of.
+
+	 */
+	public static final IRI isPrimaryTopicOf = new IRI("http://xmlns.com/foaf/0.1/isPrimaryTopicOf");
+
+	/**
+	 * comment: A jabber ID for something.
+
+	 */
+	public static final IRI jabberID = new IRI("http://xmlns.com/foaf/0.1/jabberID");
+
+	/**
+	 * comment: A person known by this person (indicating some level of reciprocated interaction
between the parties).
+
+	 */
+	public static final IRI knows = new IRI("http://xmlns.com/foaf/0.1/knows");
+
+	/**
+	 * comment: The last name of a person.
+
+	 */
+	public static final IRI lastName = new IRI("http://xmlns.com/foaf/0.1/lastName");
+
+	/**
+	 * comment: A logo representing some thing.
+
+	 */
+	public static final IRI logo = new IRI("http://xmlns.com/foaf/0.1/logo");
+
+	/**
+	 * comment: Something that was made by this agent.
+
+	 */
+	public static final IRI made = new IRI("http://xmlns.com/foaf/0.1/made");
+
+	/**
+	 * comment: An agent that  made this thing.
+
+	 */
+	public static final IRI maker = new IRI("http://xmlns.com/foaf/0.1/maker");
+
+	/**
+	 * comment: A  personal mailbox, ie. an Internet mailbox associated with exactly one owner,
the first owner of this mailbox. This is a 'static inverse functional property', in that 
there is (across time and change) at most one individual that ever has any particular value
for foaf:mbox.
+
+	 */
+	public static final IRI mbox = new IRI("http://xmlns.com/foaf/0.1/mbox");
+
+	/**
+	 * comment: The sha1sum of the URI of an Internet mailbox associated with exactly one owner,
the  first owner of the mailbox.
+
+	 */
+	public static final IRI mbox_sha1sum = new IRI("http://xmlns.com/foaf/0.1/mbox_sha1sum");
+
+	/**
+	 * comment: Indicates a member of a Group
+
+	 */
+	public static final IRI member = new IRI("http://xmlns.com/foaf/0.1/member");
+
+	/**
+	 * comment: Indicates the class of individuals that are a member of a Group
+
+	 */
+	public static final IRI membershipClass = new IRI("http://xmlns.com/foaf/0.1/membershipClass");
+
+	/**
+	 * comment: An MSN chat ID
+
+	 */
+	public static final IRI msnChatID = new IRI("http://xmlns.com/foaf/0.1/msnChatID");
+
+	/**
+	 * comment: A Myers Briggs (MBTI) personality classification.
+
+	 */
+	public static final IRI myersBriggs = new IRI("http://xmlns.com/foaf/0.1/myersBriggs");
+
+	/**
+	 * comment: A name for some thing.
+
+	 */
+	public static final IRI name = new IRI("http://xmlns.com/foaf/0.1/name");
+
+	/**
+	 * comment: A short informal nickname characterising an agent (includes login identifiers,
IRC and other chat nicknames).
+
+	 */
+	public static final IRI nick = new IRI("http://xmlns.com/foaf/0.1/nick");
+
+	/**
+	 * comment: An OpenID for an Agent.
+
+	 */
+	public static final IRI openid = new IRI("http://xmlns.com/foaf/0.1/openid");
+
+	/**
+	 * comment: A page or document about this thing.
+
+	 */
+	public static final IRI page = new IRI("http://xmlns.com/foaf/0.1/page");
+
+	/**
+	 * comment: A project this person has previously worked on.
+
+	 */
+	public static final IRI pastProject = new IRI("http://xmlns.com/foaf/0.1/pastProject");
+
+	/**
+	 * comment: A phone,  specified using fully qualified tel: URI scheme (refs: http://www.w3.org/Addressing/schemes.html#tel).
+
+	 */
+	public static final IRI phone = new IRI("http://xmlns.com/foaf/0.1/phone");
+
+	/**
+	 * comment: A .plan comment, in the tradition of finger and '.plan' files.
+
+	 */
+	public static final IRI plan = new IRI("http://xmlns.com/foaf/0.1/plan");
+
+	/**
+	 * comment: The primary topic of some page or document.
+
+	 */
+	public static final IRI primaryTopic = new IRI("http://xmlns.com/foaf/0.1/primaryTopic");
+
+	/**
+	 * comment: A link to the publications of this person.
+
+	 */
+	public static final IRI publications = new IRI("http://xmlns.com/foaf/0.1/publications");
+
+	/**
+	 * comment: A homepage of a school attended by the person.
+
+	 */
+	public static final IRI schoolHomepage = new IRI("http://xmlns.com/foaf/0.1/schoolHomepage");
+
+	/**
+	 * comment: A sha1sum hash, in hex.
+
+	 */
+	public static final IRI sha1 = new IRI("http://xmlns.com/foaf/0.1/sha1");
+
+	/**
+	 * comment: A Skype ID
+
+	 */
+	public static final IRI skypeID = new IRI("http://xmlns.com/foaf/0.1/skypeID");
+
+	/**
+	 * comment: A string expressing what the user is happy for the general public (normally)
to know about their current activity.
+
+	 */
+	public static final IRI status = new IRI("http://xmlns.com/foaf/0.1/status");
+
+	/**
+	 * comment: The surname of some person.
+
+	 */
+	public static final IRI surname = new IRI("http://xmlns.com/foaf/0.1/surname");
+
+	/**
+	 * comment: A theme.
+
+	 */
+	public static final IRI theme = new IRI("http://xmlns.com/foaf/0.1/theme");
+
+	/**
+	 * comment: A derived thumbnail image.
+
+	 */
+	public static final IRI thumbnail = new IRI("http://xmlns.com/foaf/0.1/thumbnail");
+
+	/**
+	 * comment: A tipjar document for this agent, describing means for payment and reward.
+
+	 */
+	public static final IRI tipjar = new IRI("http://xmlns.com/foaf/0.1/tipjar");
+
+	/**
+	 * comment: Title (Mr, Mrs, Ms, Dr. etc)
+
+	 */
+	public static final IRI title = new IRI("http://xmlns.com/foaf/0.1/title");
+
+	/**
+	 * comment: A topic of some page or document.
+
+	 */
+	public static final IRI topic = new IRI("http://xmlns.com/foaf/0.1/topic");
+
+	/**
+	 * comment: A thing of interest to this person.
+
+	 */
+	public static final IRI topic_interest = new IRI("http://xmlns.com/foaf/0.1/topic_interest");
+
+	/**
+	 * comment: A weblog of some thing (whether person, group, company etc.).
+
+	 */
+	public static final IRI weblog = new IRI("http://xmlns.com/foaf/0.1/weblog");
+
+	/**
+	 * comment: A work info homepage of some person; a page about their work for some organization.
+
+	 */
+	public static final IRI workInfoHomepage = new IRI("http://xmlns.com/foaf/0.1/workInfoHomepage");
+
+	/**
+	 * comment: A workplace homepage of some person; the homepage of an organization they work
for.
+
+	 */
+	public static final IRI workplaceHomepage = new IRI("http://xmlns.com/foaf/0.1/workplaceHomepage");
+
+	/**
+	 * comment: A Yahoo chat ID
+
+	 */
+	public static final IRI yahooChatID = new IRI("http://xmlns.com/foaf/0.1/yahooChatID");
+
+	// Properties
+
+	/**
+	 * 
+	 */
+	public static final IRI THIS_ONTOLOGY = new IRI("http://xmlns.com/foaf/0.1/");
+}
diff --git a/ontologies/src/main/java/org/apache/clerezza/ontologies/OWL.java b/ontologies/src/main/java/org/apache/clerezza/ontologies/OWL.java
new file mode 100644
index 0000000..fe54461
--- /dev/null
+++ b/ontologies/src/main/java/org/apache/clerezza/ontologies/OWL.java
@@ -0,0 +1,223 @@
+package org.apache.clerezza.ontologies;
+
+import org.apache.clerezza.api.IRI;
+
+public class OWL {
+	// Classes
+
+	/**
+	 * 
+	 */
+	public static final IRI AllDifferent = new IRI("http://www.w3.org/2002/07/owl#AllDifferent");
+
+	/**
+	 * 
+	 */
+	public static final IRI AnnotationProperty = new IRI("http://www.w3.org/2002/07/owl#AnnotationProperty");
+
+	/**
+	 * 
+	 */
+	public static final IRI Class = new IRI("http://www.w3.org/2002/07/owl#Class");
+
+	/**
+	 * 
+	 */
+	public static final IRI DataRange = new IRI("http://www.w3.org/2002/07/owl#DataRange");
+
+	/**
+	 * 
+	 */
+	public static final IRI DatatypeProperty = new IRI("http://www.w3.org/2002/07/owl#DatatypeProperty");
+
+	/**
+	 * 
+	 */
+	public static final IRI DeprecatedClass = new IRI("http://www.w3.org/2002/07/owl#DeprecatedClass");
+
+	/**
+	 * 
+	 */
+	public static final IRI DeprecatedProperty = new IRI("http://www.w3.org/2002/07/owl#DeprecatedProperty");
+
+	/**
+	 * 
+	 */
+	public static final IRI FunctionalProperty = new IRI("http://www.w3.org/2002/07/owl#FunctionalProperty");
+
+	/**
+	 * 
+	 */
+	public static final IRI InverseFunctionalProperty = new IRI("http://www.w3.org/2002/07/owl#InverseFunctionalProperty");
+
+	/**
+	 * 
+	 */
+	public static final IRI Nothing = new IRI("http://www.w3.org/2002/07/owl#Nothing");
+
+	/**
+	 * 
+	 */
+	public static final IRI ObjectProperty = new IRI("http://www.w3.org/2002/07/owl#ObjectProperty");
+
+	/**
+	 * 
+	 */
+	public static final IRI Ontology = new IRI("http://www.w3.org/2002/07/owl#Ontology");
+
+	/**
+	 * 
+	 */
+	public static final IRI OntologyProperty = new IRI("http://www.w3.org/2002/07/owl#OntologyProperty");
+
+	/**
+	 * 
+	 */
+	public static final IRI Restriction = new IRI("http://www.w3.org/2002/07/owl#Restriction");
+
+	/**
+	 * 
+	 */
+	public static final IRI SymmetricProperty = new IRI("http://www.w3.org/2002/07/owl#SymmetricProperty");
+
+	/**
+	 * 
+	 */
+	public static final IRI Thing = new IRI("http://www.w3.org/2002/07/owl#Thing");
+
+	/**
+	 * 
+	 */
+	public static final IRI TransitiveProperty = new IRI("http://www.w3.org/2002/07/owl#TransitiveProperty");
+
+	// Properties
+
+	/**
+	 * 
+	 */
+	public static final IRI allValuesFrom = new IRI("http://www.w3.org/2002/07/owl#allValuesFrom");
+
+	/**
+	 * 
+	 */
+	public static final IRI backwardCompatibleWith = new IRI("http://www.w3.org/2002/07/owl#backwardCompatibleWith");
+
+	/**
+	 * 
+	 */
+	public static final IRI cardinality = new IRI("http://www.w3.org/2002/07/owl#cardinality");
+
+	/**
+	 * 
+	 */
+	public static final IRI complementOf = new IRI("http://www.w3.org/2002/07/owl#complementOf");
+
+	/**
+	 * 
+	 */
+	public static final IRI differentFrom = new IRI("http://www.w3.org/2002/07/owl#differentFrom");
+
+	/**
+	 * 
+	 */
+	public static final IRI disjointWith = new IRI("http://www.w3.org/2002/07/owl#disjointWith");
+
+	/**
+	 * 
+	 */
+	public static final IRI distinctMembers = new IRI("http://www.w3.org/2002/07/owl#distinctMembers");
+
+	/**
+	 * 
+	 */
+	public static final IRI equivalentClass = new IRI("http://www.w3.org/2002/07/owl#equivalentClass");
+
+	/**
+	 * 
+	 */
+	public static final IRI equivalentProperty = new IRI("http://www.w3.org/2002/07/owl#equivalentProperty");
+
+	/**
+	 * 
+	 */
+	public static final IRI hasValue = new IRI("http://www.w3.org/2002/07/owl#hasValue");
+
+	/**
+	 * 
+	 */
+	public static final IRI imports = new IRI("http://www.w3.org/2002/07/owl#imports");
+
+	/**
+	 * 
+	 */
+	public static final IRI incompatibleWith = new IRI("http://www.w3.org/2002/07/owl#incompatibleWith");
+
+	/**
+	 * 
+	 */
+	public static final IRI intersectionOf = new IRI("http://www.w3.org/2002/07/owl#intersectionOf");
+
+	/**
+	 * 
+	 */
+	public static final IRI inverseOf = new IRI("http://www.w3.org/2002/07/owl#inverseOf");
+
+	/**
+	 * 
+	 */
+	public static final IRI maxCardinality = new IRI("http://www.w3.org/2002/07/owl#maxCardinality");
+
+	/**
+	 * 
+	 */
+	public static final IRI minCardinality = new IRI("http://www.w3.org/2002/07/owl#minCardinality");
+
+	/**
+	 * 
+	 */
+	public static final IRI onProperty = new IRI("http://www.w3.org/2002/07/owl#onProperty");
+
+	/**
+	 * 
+	 */
+	public static final IRI oneOf = new IRI("http://www.w3.org/2002/07/owl#oneOf");
+
+	/**
+	 * 
+	 */
+	public static final IRI priorVersion = new IRI("http://www.w3.org/2002/07/owl#priorVersion");
+
+	/**
+	 * 
+	 */
+	public static final IRI sameAs = new IRI("http://www.w3.org/2002/07/owl#sameAs");
+
+	/**
+	 * 
+	 */
+	public static final IRI someValuesFrom = new IRI("http://www.w3.org/2002/07/owl#someValuesFrom");
+
+	/**
+	 * 
+	 */
+	public static final IRI unionOf = new IRI("http://www.w3.org/2002/07/owl#unionOf");
+
+	/**
+	 * 
+	 */
+	public static final IRI versionInfo = new IRI("http://www.w3.org/2002/07/owl#versionInfo");
+
+	// Properties
+
+	/**
+	 * comment: This file specifies in RDF Schema format the
+    built-in classes and properties that together form the basis of
+    the RDF/XML syntax of OWL Full, OWL DL and OWL Lite.
+    We do not expect people to import this file
+    explicitly into their ontology. People that do import this file
+    should expect their ontology to be an OWL Full ontology. 
+  
+
+	 */
+	public static final IRI owl = new IRI("http://www.w3.org/2002/07/owl");
+}
diff --git a/ontologies/src/main/java/org/apache/clerezza/ontologies/RDF.java b/ontologies/src/main/java/org/apache/clerezza/ontologies/RDF.java
new file mode 100644
index 0000000..0060f3f
--- /dev/null
+++ b/ontologies/src/main/java/org/apache/clerezza/ontologies/RDF.java
@@ -0,0 +1,106 @@
+package org.apache.clerezza.ontologies;
+
+import org.apache.clerezza.api.IRI;
+
+public class RDF {
+	// Classes
+
+	/**
+	 * comment: The class of containers of alternatives.
+
+	 */
+	public static final IRI Alt = new IRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt");
+
+	/**
+	 * comment: The class of unordered containers.
+
+	 */
+	public static final IRI Bag = new IRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag");
+
+	/**
+	 * comment: The class of RDF Lists.
+
+	 */
+	public static final IRI List = new IRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#List");
+
+	/**
+	 * comment: The class of RDF properties.
+
+	 */
+	public static final IRI Property = new IRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#Property");
+
+	/**
+	 * comment: The class of ordered containers.
+
+	 */
+	public static final IRI Seq = new IRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq");
+
+	/**
+	 * comment: The class of RDF statements.
+
+	 */
+	public static final IRI Statement = new IRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement");
+
+	/**
+	 * comment: The class of XML literal values.
+
+	 */
+	public static final IRI XMLLiteral = new IRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral");
+
+	// Properties
+
+	/**
+	 * comment: The first item in the subject RDF list.
+
+	 */
+	public static final IRI first = new IRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#first");
+
+	/**
+	 * comment: The object of the subject RDF statement.
+
+	 */
+	public static final IRI object = new IRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#object");
+
+	/**
+	 * comment: The predicate of the subject RDF statement.
+
+	 */
+	public static final IRI predicate = new IRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate");
+
+	/**
+	 * comment: The rest of the subject RDF list after the first item.
+
+	 */
+	public static final IRI rest = new IRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#rest");
+
+	/**
+	 * comment: The subject of the subject RDF statement.
+
+	 */
+	public static final IRI subject = new IRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#subject");
+
+	/**
+	 * comment: The subject is an instance of a class.
+
+	 */
+	public static final IRI type = new IRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#type");
+
+	/**
+	 * comment: Idiomatic property used for structured values.
+
+	 */
+	public static final IRI value = new IRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#value");
+
+	// Properties
+
+	/**
+	 * 
+	 */
+	public static final IRI THIS_ONTOLOGY = new IRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#");
+
+	/**
+	 * comment: The empty list, with no items in it. If the rest of a list is nil then the list
has no more items in it.
+
+	 */
+	public static final IRI nil = new IRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#nil");
+}
diff --git a/ontologies/src/main/java/org/apache/clerezza/ontologies/RDFS.java b/ontologies/src/main/java/org/apache/clerezza/ontologies/RDFS.java
new file mode 100644
index 0000000..9c5a863
--- /dev/null
+++ b/ontologies/src/main/java/org/apache/clerezza/ontologies/RDFS.java
@@ -0,0 +1,107 @@
+package org.apache.clerezza.ontologies;
+
+import org.apache.clerezza.api.IRI;
+
+public class RDFS {
+	// Classes
+
+	/**
+	 * comment: The class of classes.
+
+	 */
+	public static final IRI Class = new IRI("http://www.w3.org/2000/01/rdf-schema#Class");
+
+	/**
+	 * comment: The class of RDF containers.
+
+	 */
+	public static final IRI Container = new IRI("http://www.w3.org/2000/01/rdf-schema#Container");
+
+	/**
+	 * comment: The class of container membership properties, rdf:_1, rdf:_2, ...,
+                    all of which are sub-properties of 'member'.
+
+	 */
+	public static final IRI ContainerMembershipProperty = new IRI("http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty");
+
+	/**
+	 * comment: The class of RDF datatypes.
+
+	 */
+	public static final IRI Datatype = new IRI("http://www.w3.org/2000/01/rdf-schema#Datatype");
+
+	/**
+	 * comment: The class of literal values, eg. textual strings and integers.
+
+	 */
+	public static final IRI Literal = new IRI("http://www.w3.org/2000/01/rdf-schema#Literal");
+
+	/**
+	 * comment: The class resource, everything.
+
+	 */
+	public static final IRI Resource = new IRI("http://www.w3.org/2000/01/rdf-schema#Resource");
+
+	// Properties
+
+	/**
+	 * comment: A description of the subject resource.
+
+	 */
+	public static final IRI comment = new IRI("http://www.w3.org/2000/01/rdf-schema#comment");
+
+	/**
+	 * comment: A domain of the subject property.
+
+	 */
+	public static final IRI domain = new IRI("http://www.w3.org/2000/01/rdf-schema#domain");
+
+	/**
+	 * comment: The defininition of the subject resource.
+
+	 */
+	public static final IRI isDefinedBy = new IRI("http://www.w3.org/2000/01/rdf-schema#isDefinedBy");
+
+	/**
+	 * comment: A human-readable name for the subject.
+
+	 */
+	public static final IRI label = new IRI("http://www.w3.org/2000/01/rdf-schema#label");
+
+	/**
+	 * comment: A member of the subject resource.
+
+	 */
+	public static final IRI member = new IRI("http://www.w3.org/2000/01/rdf-schema#member");
+
+	/**
+	 * comment: A range of the subject property.
+
+	 */
+	public static final IRI range = new IRI("http://www.w3.org/2000/01/rdf-schema#range");
+
+	/**
+	 * comment: Further information about the subject resource.
+
+	 */
+	public static final IRI seeAlso = new IRI("http://www.w3.org/2000/01/rdf-schema#seeAlso");
+
+	/**
+	 * comment: The subject is a subclass of a class.
+
+	 */
+	public static final IRI subClassOf = new IRI("http://www.w3.org/2000/01/rdf-schema#subClassOf");
+
+	/**
+	 * comment: The subject is a subproperty of a property.
+
+	 */
+	public static final IRI subPropertyOf = new IRI("http://www.w3.org/2000/01/rdf-schema#subPropertyOf");
+
+	// Properties
+
+	/**
+	 * 
+	 */
+	public static final IRI THIS_ONTOLOGY = new IRI("http://www.w3.org/2000/01/rdf-schema#");
+}


Mime
View raw message