You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@any23.apache.org by le...@apache.org on 2013/02/02 02:04:55 UTC

svn commit: r1441675 - /any23/trunk/api/src/main/java/org/apache/any23/vocab/

Author: lewismc
Date: Sat Feb  2 01:04:55 2013
New Revision: 1441675

URL: http://svn.apache.org/viewvc?rev=1441675&view=rev
Log:
ANY23-142 LKIF-Core Vocabulary

Added:
    any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_ACTION.java
    any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_EXPRESSION.java
    any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_LEGAL_ACTION.java
    any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_LEGAL_ROLE.java
    any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_MEREOLOGY.java
    any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_NORM.java
    any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_PROCESS.java
    any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_RELATIVE_PLACES.java
    any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_ROLE.java
    any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_RULES.java
    any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_TIME.java
    any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_TIME_MODIFICATION.java
    any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_TOP.java
Modified:
    any23/trunk/api/src/main/java/org/apache/any23/vocab/DOAP.java

Modified: any23/trunk/api/src/main/java/org/apache/any23/vocab/DOAP.java
URL: http://svn.apache.org/viewvc/any23/trunk/api/src/main/java/org/apache/any23/vocab/DOAP.java?rev=1441675&r1=1441674&r2=1441675&view=diff
==============================================================================
--- any23/trunk/api/src/main/java/org/apache/any23/vocab/DOAP.java (original)
+++ any23/trunk/api/src/main/java/org/apache/any23/vocab/DOAP.java Sat Feb  2 01:04:55 2013
@@ -25,71 +25,71 @@ import org.openrdf.model.URI;
  */
 public class DOAP extends Vocabulary {
 
-	public static final String NS = "http://usefulinc.com/ns/doap#";
+    public static final String NS = "http://usefulinc.com/ns/doap#";
 
-	private static DOAP instance;
+    private static DOAP instance;
 	
-	public static DOAP getInstance() {
+    public static DOAP getInstance() {
         if(instance == null) {
             instance = new DOAP();
         }
         return instance;
     }
 	
-	//Resources
-	public final URI Project				=	createClass(NS, "Project");
-	public final URI Version				=	createClass(NS, "Version");
-	public final URI Specification			=	createClass(NS, "Specification");
-	public final URI Repository				=	createClass(NS, "Repository");
-	public final URI SVNRepository			=	createClass(NS, "SVNRepository");
-	public final URI BKRepository			=	createClass(NS, "BKRepository");
-	public final URI CVSRepository			=	createClass(NS, "CVSRepository");
-	public final URI ArchRepository			=	createClass(NS, "ArchRepository");
-	public final URI BazaarBranch			=	createClass(NS, "BazaarBranch");
-	public final URI GitRepository			=	createClass(NS, "GitRepository");
-	public final URI HgRepository			=	createClass(NS, "HgRepository");
-	public final URI DarcsRepository		=	createClass(NS, "DarcsRepository");
+    //Resources
+    public final URI Project                = createClass(NS, "Project");
+    public final URI Version                = createClass(NS, "Version");
+    public final URI Specification          = createClass(NS, "Specification");
+    public final URI Repository             = createClass(NS, "Repository");
+    public final URI SVNRepository          = createClass(NS, "SVNRepository");
+    public final URI BKRepository           = createClass(NS, "BKRepository");
+    public final URI CVSRepository          = createClass(NS, "CVSRepository");
+    public final URI ArchRepository         = createClass(NS, "ArchRepository");
+    public final URI BazaarBranch           = createClass(NS, "BazaarBranch");
+    public final URI GitRepository          = createClass(NS, "GitRepository");
+    public final URI HgRepository           = createClass(NS, "HgRepository");
+    public final URI DarcsRepository        = createClass(NS, "DarcsRepository");
 	
-	//Properties
-	public final URI name					=	createProperty(NS, "name");
-	public final URI homepage				=	createProperty(NS, "homepage");
-	public final URI old_homepage			=	createProperty(NS, "old_homepage");
-	public final URI created				=	createProperty(NS, "created");
-	public final URI shortdesc				=	createProperty(NS, "shortdesc");
-	public final URI description			=	createProperty(NS, "description");
-	public final URI release				=	createProperty(NS, "release");
-	public final URI mailing_list			=	createProperty(NS, "mailing_list");
-	public final URI category				=	createProperty(NS, "category");
-	public final URI license				=	createProperty(NS, "license");
-	public final URI repository				=	createProperty(NS, "repository");
-	public final URI anon_root				=	createProperty(NS, "anon_root");
-	public final URI browse					=	createProperty(NS, "browse");
-	public final URI module					=	createProperty(NS, "module");
-	public final URI location				=	createProperty(NS, "location");
-	public final URI download_page			=	createProperty(NS, "download_page");
-	public final URI download_mirror		=	createProperty(NS, "download_mirror");
-	public final URI revision				=	createProperty(NS, "revision");
-	public final URI file_release			=	createProperty(NS, "file_release");
-	public final URI wiki					=	createProperty(NS, "wiki");
-	public final URI bug_database			=	createProperty(NS, "bug_database");
-	public final URI screenshots			=	createProperty(NS, "screenshots");
-	public final URI maintainer				=	createProperty(NS, "maintainer");
-	public final URI developer				=	createProperty(NS, "developer");
-	public final URI documenter				=	createProperty(NS, "documenter");
-	public final URI translator				=	createProperty(NS, "translator");
-	public final URI tester					=	createProperty(NS, "tester");
-	public final URI helper					=	createProperty(NS, "helper");
-	public final URI programming_language	=	createProperty(NS, "programming_language");
-	public final URI os						=	createProperty(NS, "os");
-	public final URI implement				=	createProperty(NS, "implement");
-	public final URI service_endpoint		=	createProperty(NS, "service_endpoint");
-	public final URI language				=	createProperty(NS, "language");
-	public final URI vendor					=	createProperty(NS, "vendor");
-	public final URI platform				=	createProperty(NS, "platform");
-	public final URI audience				=	createProperty(NS, "audience");
-	public final URI blog					=	createProperty(NS, "blog");
+    //Properties
+    public final URI name                   = createProperty(NS, "name");
+    public final URI homepage               = createProperty(NS, "homepage");
+    public final URI old_homepage           = createProperty(NS, "old-homepage"); 
+    public final URI created                = createProperty(NS, "created");
+    public final URI shortdesc              = createProperty(NS, "shortdesc");
+    public final URI description            = createProperty(NS, "description");
+    public final URI release                = createProperty(NS, "release");
+    public final URI mailing_list           = createProperty(NS, "mailing-list"); 
+    public final URI category               = createProperty(NS, "category");
+    public final URI license                = createProperty(NS, "license");
+    public final URI repository             = createProperty(NS, "repository");
+    public final URI anon_root              = createProperty(NS, "anon-root");
+    public final URI browse                 = createProperty(NS, "browse");
+    public final URI module                 = createProperty(NS, "module");
+    public final URI location               = createProperty(NS, "location");
+    public final URI download_page          = createProperty(NS, "download-page");
+    public final URI download_mirror        = createProperty(NS, "download-mirror"); 
+    public final URI revision               = createProperty(NS, "revision");
+    public final URI file_release           = createProperty(NS, "file-release"); 
+    public final URI wiki                   = createProperty(NS, "wiki");
+    public final URI bug_database           = createProperty(NS, "bug-database"); 
+    public final URI screenshots            = createProperty(NS, "screenshots");
+    public final URI maintainer             = createProperty(NS, "maintainer");
+    public final URI developer              = createProperty(NS, "developer");
+    public final URI documenter             = createProperty(NS, "documenter");
+    public final URI translator             = createProperty(NS, "translator");
+    public final URI tester                 = createProperty(NS, "tester");
+    public final URI helper                 = createProperty(NS, "helper");
+    public final URI programming_language   = createProperty(NS, "programming-language"); 
+    public final URI os                     = createProperty(NS, "os");
+    public final URI implement              = createProperty(NS, "implement");
+    public final URI service_endpoint       = createProperty(NS, "service-endpoint"); 
+    public final URI language               = createProperty(NS, "language");
+    public final URI vendor                 = createProperty(NS, "vendor");
+    public final URI platform               = createProperty(NS, "platform");
+    public final URI audience               = createProperty(NS, "audience");
+    public final URI blog                   = createProperty(NS, "blog");
 
-	private DOAP(){
+    private DOAP(){
         super(NS);
     }
 }

Added: any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_ACTION.java
URL: http://svn.apache.org/viewvc/any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_ACTION.java?rev=1441675&view=auto
==============================================================================
--- any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_ACTION.java (added)
+++ any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_ACTION.java Sat Feb  2 01:04:55 2013
@@ -0,0 +1,82 @@
+/*
+ * 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.
+ */
+package org.apache.any23.vocab;
+
+import org.openrdf.model.URI;
+
+/**
+ * @author lewismc
+ * An implementation of the <a href="https://github.com/RinkeHoekstra/lkif-core">lkif-core</a>
+ * vocabulary which is a library of ontologies relevant for the legal domain. 
+ * The library consists of 15 modules, each of which describes a set of closely 
+ * related concepts from both legal and commonsense domains.
+ *
+ */
+public class LKIF_CORE_ACTION extends Vocabulary {
+	
+    /**
+     * The namespace of the vocabulary as a string.
+     */
+    public static final String NS = "http://www.estrellaproject.org/lkif-core/action.owl#";
+    
+    private static LKIF_CORE_ACTION instance;
+    
+    public static LKIF_CORE_ACTION getInstance() {
+      if(instance == null) {
+          instance = new LKIF_CORE_ACTION();
+      }
+      return instance;
+  }
+    /////////////////////////////////////////////////////////
+    /* http://www.estrellaproject.org/lkif-core/action.owl */
+    /////////////////////////////////////////////////////////
+    // CLASSES
+    public final URI Action                 = createClass(NS, "Action");
+    public final URI Agent                  = createClass(NS, "Agent");
+    public final URI Artifact               = createClass(NS, "Artifact");
+    public final URI Collaborative_Plan     = createClass(NS, "Collaborative_Plan");
+    public final URI Creation_C             = createClass(NS, "Creation");
+    public final URI Natural_Object         = createClass(NS, "Natural_Object");
+    public final URI Organisation           = createClass(NS, "Organisation");
+    public final URI Person                 = createClass(NS, "Person");
+    public final URI Personal_Plan          = createClass(NS, "Personal_Plan");
+    public final URI Plan                   = createClass(NS, "Plan");
+    public final URI Reaction               = createClass(NS, "Reaction");
+    public final URI Transaction            = createClass(NS, "Transaction");
+    public final URI Mental_Object          = createClass(NS, "Mental_Object");
+    public final URI Change                 = createClass(NS, "Change");
+    public final URI Physical_Object        = createClass(NS, "Physical_Object");
+    public final URI Process                = createClass(NS, "Process");
+    
+    // RESOURCES
+    
+    // PROPERTIES
+    public final URI actor                   = createProperty(NS, "actor");
+    public final URI actor_in                = createProperty(NS, "actor_in");
+    public final URI direct_part             = createProperty(NS, "direct_part");
+    public final URI member                  = createProperty(NS, "member");
+    public final URI part                    = createProperty(NS, "part");
+    public final URI creation_P              = createProperty(NS, "creation");
+    public final URI participant             = createProperty(NS, "participant");
+    public final URI participant_in          = createProperty(NS, "participant_in");
+    public final URI result_of               = createProperty(NS, "result_of");
+    
+    private LKIF_CORE_ACTION() {
+      super(NS);
+    }
+
+}

Added: any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_EXPRESSION.java
URL: http://svn.apache.org/viewvc/any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_EXPRESSION.java?rev=1441675&view=auto
==============================================================================
--- any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_EXPRESSION.java (added)
+++ any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_EXPRESSION.java Sat Feb  2 01:04:55 2013
@@ -0,0 +1,122 @@
+/*
+ * 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.
+ */
+package org.apache.any23.vocab;
+
+import org.openrdf.model.URI;
+
+/**
+ * @author lewismc
+ * An implementation of the <a href="https://github.com/RinkeHoekstra/lkif-core">lkif-core</a>
+ * vocabulary which is a library of ontologies relevant for the legal domain. 
+ * The library consists of 15 modules, each of which describes a set of closely 
+ * related concepts from both legal and commonsense domains.
+ *
+ */
+public class LKIF_CORE_EXPRESSION extends Vocabulary {
+	
+    /**
+     * The namespace of the vocabulary as a string.
+     */
+    public static final String NS = "http://www.estrellaproject.org/lkif-core/expression.owl#";
+    
+    private static LKIF_CORE_EXPRESSION instance;
+    
+    public static LKIF_CORE_EXPRESSION getInstance() {
+      if(instance == null) {
+          instance = new LKIF_CORE_EXPRESSION();
+      }
+      return instance;
+  }
+    /////////////////////////////////////////////////////////////
+    /* http://www.estrellaproject.org/lkif-core/expression.owl */
+    /////////////////////////////////////////////////////////////
+    // CLASSES
+    public final URI Argument                          = createClass(NS, "Argument");
+    public final URI Assertion                         = createClass(NS, "Assertion");
+    public final URI Assumption                        = createClass(NS, "Assumption");
+    public final URI Belief                            = createClass(NS, "Belief");
+    public final URI Cause                             = createClass(NS, "Cause");
+    public final URI Communicated_Attitude             = createClass(NS, "Communicated_Attitude");
+    public final URI Declaration                       = createClass(NS, "Declaration");
+    public final URI Desire                            = createClass(NS, "Desire");
+    public final URI Document                          = createClass(NS, "Document");
+    public final URI Evaluative_Attitude               = createClass(NS, "Evaluative_Attitude");
+    public final URI Evaluative_Proposition            = createClass(NS, "Evaluative_Proposition");
+    public final URI Evidence                          = createClass(NS, "Evidence");
+    public final URI Exception                         = createClass(NS, "Exception");
+    public final URI Expectation                       = createClass(NS, "Expectation");
+    public final URI Expression                        = createClass(NS, "Expression");
+    public final URI Fact                              = createClass(NS, "Fact");
+    public final URI Intention                         = createClass(NS, "Intention");
+    public final URI Lie                               = createClass(NS, "Lie");
+    public final URI Medium                            = createClass(NS, "Medium");
+    public final URI Observation                       = createClass(NS, "Observation");
+    public final URI Problem                           = createClass(NS, "Problem");
+    public final URI Promise                           = createClass(NS, "Promise");
+    public final URI Proposition                       = createClass(NS, "Proposition");
+    public final URI Propositional_Attitude            = createClass(NS, "Propositional_Attitude");
+    public final URI Qualification                     = createClass(NS, "Qualification");
+    public final URI Qualified                         = createClass(NS, "Qualified");
+    public final URI Reason                            = createClass(NS, "Reason");
+    public final URI Speech_Act                        = createClass(NS, "Speech_Act");
+    public final URI Statement_In_Writing              = createClass(NS, "Statement_In_Writing");
+    public final URI Surprise                          = createClass(NS, "Surprise");
+    
+    // RESOURCES
+    
+    // PROPERTIES
+    public final URI addressee                         = createProperty(NS, "addressee");
+    public final URI asserted_by                       = createProperty(NS, "asserted_by");
+    public final URI asserts                           = createProperty(NS, "asserts");
+    public final URI attitude                          = createProperty(NS, "attitude");
+    public final URI author                            = createProperty(NS, "author");
+    public final URI bears                             = createProperty(NS, "bears");
+    public final URI believed_by                       = createProperty(NS, "believed_by");
+    public final URI believes                          = createProperty(NS, "believes");
+    public final URI declares                          = createProperty(NS, "declares");
+    public final URI declared_by                       = createProperty(NS, "declared_by");
+    public final URI evaluated_by                      = createProperty(NS, "evaluated_by");
+    public final URI evaluates                         = createProperty(NS, "evaluates");
+    public final URI evaluatively_comparable           = createProperty(NS, "evaluatively_comparable");
+    public final URI held_by                           = createProperty(NS, "held_by");
+    public final URI holds                             = createProperty(NS, "holds");
+    public final URI intended_by                       = createProperty(NS, "intended_by");
+    public final URI intends                           = createProperty(NS, "intends");
+    public final URI medium                            = createProperty(NS, "medium");
+    public final URI observer                          = createProperty(NS, "observer");
+    public final URI observes                          = createProperty(NS, "observes");
+    public final URI promised_by                       = createProperty(NS, "promised_by");
+    public final URI promises                          = createProperty(NS, "promises");
+    public final URI qualified_by                      = createProperty(NS, "qualified_by");
+    public final URI qualifies                         = createProperty(NS, "qualifies");
+    public final URI qualitatively_comparable          = createProperty(NS, "qualitatively_comparable");
+    public final URI stated_by                         = createProperty(NS, "stated_by");
+    public final URI states                            = createProperty(NS, "states");
+    public final URI towards                           = createProperty(NS, "towards");
+    public final URI utterer                           = createProperty(NS, "utterer");
+    public final URI utters                            = createProperty(NS, "utters");
+    public final URI creation                          = createProperty(NS, "creation");
+    public final URI counts_as                         = createProperty(NS, "counts_as");
+    public final URI imposed_on                        = createProperty(NS, "imposed_on");
+    public final URI played_by                         = createProperty(NS, "played_by");
+    public final URI plays                             = createProperty(NS, "plays");
+    
+    private LKIF_CORE_EXPRESSION() {
+      super(NS);
+    }
+
+}

Added: any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_LEGAL_ACTION.java
URL: http://svn.apache.org/viewvc/any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_LEGAL_ACTION.java?rev=1441675&view=auto
==============================================================================
--- any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_LEGAL_ACTION.java (added)
+++ any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_LEGAL_ACTION.java Sat Feb  2 01:04:55 2013
@@ -0,0 +1,79 @@
+/*
+ * 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.
+ */
+package org.apache.any23.vocab;
+
+import org.openrdf.model.URI;
+
+/**
+ * @author lewismc
+ * An implementation of the <a href="https://github.com/RinkeHoekstra/lkif-core">lkif-core</a>
+ * vocabulary which is a library of ontologies relevant for the legal domain. 
+ * The library consists of 15 modules, each of which describes a set of closely 
+ * related concepts from both legal and commonsense domains.
+ *
+ */
+public class LKIF_CORE_LEGAL_ACTION extends Vocabulary {
+	
+    /**
+     * The namespace of the vocabulary as a string.
+     */
+    public static final String NS = "http://www.estrellaproject.org/lkif-core/legal-action.owl#";
+    
+    private static LKIF_CORE_LEGAL_ACTION instance;
+    
+    public static LKIF_CORE_LEGAL_ACTION getInstance() {
+      if(instance == null) {
+          instance = new LKIF_CORE_LEGAL_ACTION();
+      }
+      return instance;
+  }
+    ////////////////////////////////////////////////////////////////
+    /* http://www.estrellaproject.org/lkif-core/legal-action.owl# */
+    ////////////////////////////////////////////////////////////////
+    // CLASSES
+    public final URI Limited_Company                = createClass(NS, "Limited_Company");
+    public final URI Private_Legal_Person           = createClass(NS, "Private_Legal_Person");
+    public final URI Society                        = createClass(NS, "Society");
+    public final URI Natural_Person                 = createClass(NS, "Natural_Person");
+    public final URI Mandate                        = createClass(NS, "Mandate");
+    public final URI Corporation                    = createClass(NS, "Corporation");
+    public final URI Legal_Person                   = createClass(NS, "Legal_Person");
+    public final URI Public_Body                    = createClass(NS, "Public_Body");
+    public final URI Foundation                     = createClass(NS, "Foundation");
+    public final URI Co_operative                   = createClass(NS, "Co-operative"); 
+    public final URI Legislative_Body               = createClass(NS, "Legislative_Body");
+    public final URI Delegation                     = createClass(NS, "Delegation");
+    public final URI Legal_Speech_Act               = createClass(NS, "Legal_Speech_Act");
+    public final URI Public_Act                     = createClass(NS, "Public_Act");
+    public final URI Company                        = createClass(NS, "Company");
+    public final URI Decision                       = createClass(NS, "Decision");
+    public final URI Public_Limited_Company         = createClass(NS, "Public_Limited_Company");
+    public final URI Incorporated                   = createClass(NS, "Incorporated");
+    public final URI Act_of_Law                     = createClass(NS, "Act_of_Law");
+    public final URI Association                    = createClass(NS, "Association");
+    public final URI Assignment                     = createClass(NS, "Assignment");
+    public final URI Unincorporated                 = createClass(NS, "Unincorporated");
+    
+    // RESOURCES
+    
+    // PROPERTIES
+    
+    private LKIF_CORE_LEGAL_ACTION() {
+      super(NS);
+    }
+
+}

Added: any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_LEGAL_ROLE.java
URL: http://svn.apache.org/viewvc/any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_LEGAL_ROLE.java?rev=1441675&view=auto
==============================================================================
--- any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_LEGAL_ROLE.java (added)
+++ any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_LEGAL_ROLE.java Sat Feb  2 01:04:55 2013
@@ -0,0 +1,60 @@
+/*
+ * 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.
+ */
+package org.apache.any23.vocab;
+
+import org.openrdf.model.URI;
+
+/**
+ * @author lewismc
+ * An implementation of the <a href="https://github.com/RinkeHoekstra/lkif-core">lkif-core</a>
+ * vocabulary which is a library of ontologies relevant for the legal domain. 
+ * The library consists of 15 modules, each of which describes a set of closely 
+ * related concepts from both legal and commonsense domains.
+ *
+ */
+public class LKIF_CORE_LEGAL_ROLE extends Vocabulary {
+	
+    /**
+     * The namespace of the vocabulary as a string.
+     */
+    public static final String NS = "http://www.estrellaproject.org/lkif-core/legal-role.owl#";
+    
+    private static LKIF_CORE_LEGAL_ROLE instance;
+    
+    public static LKIF_CORE_LEGAL_ROLE getInstance() {
+      if(instance == null) {
+          instance = new LKIF_CORE_LEGAL_ROLE();
+      }
+      return instance;
+  }
+    //////////////////////////////////////////////////////////////
+    /* http://www.estrellaproject.org/lkif-core/legal-role.owl# */
+    //////////////////////////////////////////////////////////////
+    // CLASSES
+    public final URI Social_Legal_Role                  = createClass(NS, "Social_Legal_Role");
+    public final URI Legal_Role                         = createClass(NS, "Legal_Role");
+    public final URI Professional_Legal_Role            = createClass(NS, "Professional_Legal_Role");
+    
+    // RESOURCES
+    
+    // PROPERTIES
+    
+    private LKIF_CORE_LEGAL_ROLE() {
+      super(NS);
+    }
+
+}

Added: any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_MEREOLOGY.java
URL: http://svn.apache.org/viewvc/any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_MEREOLOGY.java?rev=1441675&view=auto
==============================================================================
--- any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_MEREOLOGY.java (added)
+++ any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_MEREOLOGY.java Sat Feb  2 01:04:55 2013
@@ -0,0 +1,76 @@
+/*
+ * 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.
+ */
+package org.apache.any23.vocab;
+
+import org.openrdf.model.URI;
+
+/**
+ * @author lewismc
+ * An implementation of the <a href="https://github.com/RinkeHoekstra/lkif-core">lkif-core</a>
+ * vocabulary which is a library of ontologies relevant for the legal domain. 
+ * The library consists of 15 modules, each of which describes a set of closely 
+ * related concepts from both legal and commonsense domains.
+ *
+ */
+public class LKIF_CORE_MEREOLOGY extends Vocabulary {
+	
+    /**
+     * The namespace of the vocabulary as a string.
+     */
+    public static final String NS = "http://www.estrellaproject.org/lkif-core/mereology.owl#";
+    
+    private static LKIF_CORE_MEREOLOGY instance;
+    
+    public static LKIF_CORE_MEREOLOGY getInstance() {
+      if(instance == null) {
+          instance = new LKIF_CORE_MEREOLOGY();
+      }
+      return instance;
+  }
+    /////////////////////////////////////////////////////////////
+    /* http://www.estrellaproject.org/lkif-core/mereology.owl */
+    /////////////////////////////////////////////////////////////
+    // CLASSES
+    public final URI Atom                        = createClass(NS, "Atom");
+    public final URI Composition                 = createClass(NS, "Composition");
+    public final URI Pair                        = createClass(NS, "Pair");
+    public final URI Part                        = createClass(NS, "Part");
+    public final URI Whole                       = createClass(NS, "Whole");
+    
+    // RESOURCES
+    
+    // PROPERTIES
+    public final URI component                   = createProperty(NS, "component");
+    public final URI component_of                = createProperty(NS, "component_of");
+    public final URI composed_of                 = createProperty(NS, "composed_of");
+    public final URI composes                    = createProperty(NS, "composes");
+    public final URI contained_in                = createProperty(NS, "contained_in");
+    public final URI contains                    = createProperty(NS, "contains");
+    public final URI direct_part                 = createProperty(NS, "direct_part");
+    public final URI direct_part_of              = createProperty(NS, "direct_part_of");
+    public final URI member                      = createProperty(NS, "member");
+    public final URI member_of                   = createProperty(NS, "member_of");
+    public final URI part                        = createProperty(NS, "part");
+    public final URI part_of                     = createProperty(NS, "part_of");
+    public final URI strict_part                 = createProperty(NS, "strict_part");
+    public final URI strict_part_of              = createProperty(NS, "strict_part_of");
+    
+    private LKIF_CORE_MEREOLOGY() {
+      super(NS);
+    }
+
+}

Added: any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_NORM.java
URL: http://svn.apache.org/viewvc/any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_NORM.java?rev=1441675&view=auto
==============================================================================
--- any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_NORM.java (added)
+++ any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_NORM.java Sat Feb  2 01:04:55 2013
@@ -0,0 +1,123 @@
+/*
+ * 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.
+ */
+package org.apache.any23.vocab;
+
+import org.openrdf.model.URI;
+
+/**
+ * @author lewismc
+ * An implementation of the <a href="https://github.com/RinkeHoekstra/lkif-core">lkif-core</a>
+ * vocabulary which is a library of ontologies relevant for the legal domain. 
+ * The library consists of 15 modules, each of which describes a set of closely 
+ * related concepts from both legal and commonsense domains.
+ *
+ */
+public class LKIF_CORE_NORM extends Vocabulary {
+	
+    /**
+     * The namespace of the vocabulary as a string.
+     */
+    public static final String NS = "http://www.estrellaproject.org/lkif-core/norm.owl#";
+    
+    private static LKIF_CORE_NORM instance;
+    
+    public static LKIF_CORE_NORM getInstance() {
+      if(instance == null) {
+          instance = new LKIF_CORE_NORM();
+      }
+      return instance;
+  }
+    ///////////////////////////////////////////////////////
+    /* http://www.estrellaproject.org/lkif-core/norm.owl */
+    ///////////////////////////////////////////////////////
+    // CLASSES
+    public final URI Hohfeldian_Power                        = createClass(NS, "Hohfeldian_Power");
+    public final URI Normatively_Qualified                   = createClass(NS, "Normatively_Qualified");
+    public final URI Code_of_Conduct                         = createClass(NS, "Code_of_Conduct");
+    public final URI Regulation                              = createClass(NS, "Regulation");
+    public final URI Soft_Law                                = createClass(NS, "Soft_Law");
+    public final URI Strictly_Disallowed                     = createClass(NS, "Strictly_Disallowed");
+    public final URI Permissive_Right                        = createClass(NS, "Permissive_Right");
+    public final URI Proclamation                            = createClass(NS, "Proclamation");
+    public final URI Legal_Expression                        = createClass(NS, "Legal_Expression");
+    public final URI Qualificatory_Expression                = createClass(NS, "Qualificatory_Expression");
+    public final URI Enabling_Power                          = createClass(NS, "Enabling_Power");
+    public final URI Existential_Expression                  = createClass(NS, "Existential_Expression");
+    public final URI Persuasive_Precedent                    = createClass(NS, "Persuasive_Precedent");
+    public final URI Belief_In_Violation                     = createClass(NS, "Belief_In_Violation");
+    public final URI Strictly_Allowed                        = createClass(NS, "Strictly_Allowed");
+    public final URI Legal_Doctrine                          = createClass(NS, "Legal_Doctrine");
+    public final URI Resolution                              = createClass(NS, "Resolution");
+    public final URI Evaluative_Expression                   = createClass(NS, "Evaluative_Expression");
+    public final URI Liberty_Right                           = createClass(NS, "Liberty_Right");
+    public final URI Declarative_Power                       = createClass(NS, "Declarative_Power");
+    public final URI Contract                                = createClass(NS, "Contract");
+    public final URI Custom                                  = createClass(NS, "Custom");
+    public final URI Exclusionary_Right                      = createClass(NS, "Exclusionary_Right");
+    public final URI International_Agreement                 = createClass(NS, "International_Agreement");
+    public final URI Customary_Law                           = createClass(NS, "Customary_Law");
+    public final URI Action_Power                            = createClass(NS, "Action_Power");
+    public final URI Legal_Source                            = createClass(NS, "Legal_Source");
+    public final URI Statute                                 = createClass(NS, "Statute");
+    public final URI International_Arbitration               = createClass(NS, "International_Arbitration");
+    public final URI Immunity                                = createClass(NS, "Immunity");
+    public final URI Treaty                                  = createClass(NS, "Treaty");
+    public final URI Mandatory_Precedent                     = createClass(NS, "Mandatory_Precedent");
+    public final URI Code                                    = createClass(NS, "Code");
+    public final URI Allowed                                 = createClass(NS, "Allowed");
+    public final URI Observation_of_Violation                = createClass(NS, "Observation_of_Violation");
+    public final URI Legal_Document                          = createClass(NS, "Legal_Document");
+    public final URI Potestative_Expression                  = createClass(NS, "Potestative_Expression");
+    public final URI Norm                                    = createClass(NS, "Norm");
+    public final URI Potestative_Right                       = createClass(NS, "Potestative_Right");
+    public final URI Allowed_And_Disallowed                  = createClass(NS, "Allowed_And_Disallowed");
+    public final URI Obligation                              = createClass(NS, "Obligation");
+    public final URI Disallowed_Intention                    = createClass(NS, "Disallowed_Intention");
+    public final URI Permission                              = createClass(NS, "Permission");
+    public final URI Liability_Right                         = createClass(NS, "Liability_Right");
+    public final URI Right                                   = createClass(NS, "Right");
+    public final URI Obliged                                 = createClass(NS, "Obliged");
+    public final URI Non_binding_International_Agreement     = createClass(NS, "Non-binding_International_Agreement");
+    public final URI Directive                               = createClass(NS, "Directive");
+    public final URI Disallowed                              = createClass(NS, "Disallowed");
+    public final URI Definitional_Expression                 = createClass(NS, "Definitional_Expression");
+    public final URI Prohibition                             = createClass(NS, "Prohibition");
+    public final URI Precedent                               = createClass(NS, "Precedent");
+    public final URI Obligative_Right                        = createClass(NS, "Obligative_Right");
+    
+    // RESOURCES
+    
+    // PROPERTIES
+    public final URI normatively_comparable                  = createProperty(NS, "normatively_comparable");
+    public final URI normatively_equivalent_or_better        = createProperty(NS, "normatively_equivalent_or_better");
+    public final URI disallows                               = createProperty(NS, "disallows");
+    public final URI normatively_strictly_worse              = createProperty(NS, "normatively_strictly_worse");
+    public final URI normatively_not_equivalent              = createProperty(NS, "normatively_not_equivalent");
+    public final URI normatively_strictly_better             = createProperty(NS, "normatively_strictly_better");
+    public final URI allowed_by                              = createProperty(NS, "allowed_by");
+    public final URI disallowed_by                           = createProperty(NS, "disallowed_by");
+    public final URI allows                                  = createProperty(NS, "allows");
+    public final URI normatively_equivalent_or_worse         = createProperty(NS, "normatively_equivalent_or_worse");
+    public final URI commands                                = createProperty(NS, "commands");
+    public final URI commanded_by                            = createProperty(NS, "commanded_by");
+    public final URI strictly_equivalent                     = createProperty(NS, "strictly_equivalent");
+    
+    private LKIF_CORE_NORM() {
+      super(NS);
+    }
+
+}

Added: any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_PROCESS.java
URL: http://svn.apache.org/viewvc/any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_PROCESS.java?rev=1441675&view=auto
==============================================================================
--- any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_PROCESS.java (added)
+++ any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_PROCESS.java Sat Feb  2 01:04:55 2013
@@ -0,0 +1,75 @@
+/*
+ * 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.
+ */
+package org.apache.any23.vocab;
+
+import org.openrdf.model.URI;
+
+/**
+ * @author lewismc
+ * An implementation of the <a href="https://github.com/RinkeHoekstra/lkif-core">lkif-core</a>
+ * vocabulary which is a library of ontologies relevant for the legal domain. 
+ * The library consists of 15 modules, each of which describes a set of closely 
+ * related concepts from both legal and commonsense domains.
+ *
+ */
+public class LKIF_CORE_PROCESS extends Vocabulary {
+	
+    /**
+     * The namespace of the vocabulary as a string.
+     */
+    public static final String NS = "http://www.estrellaproject.org/lkif-core/process.owl#";
+    
+    private static LKIF_CORE_PROCESS instance;
+    
+    public static LKIF_CORE_PROCESS getInstance() {
+      if(instance == null) {
+          instance = new LKIF_CORE_PROCESS();
+      }
+      return instance;
+  }
+    //////////////////////////////////////////////////////////
+    /* http://www.estrellaproject.org/lkif-core/process.owl */
+    //////////////////////////////////////////////////////////
+    // CLASSES
+    public final URI Change                                 = createClass(NS, "Change");
+    public final URI Continuation                           = createClass(NS, "Continuation");
+    public final URI Initiation                             = createClass(NS, "Initiation");
+    public final URI Mental_Process                         = createClass(NS, "Mental_Process");
+    public final URI Physical_Object                        = createClass(NS, "Physical_Object");
+    public final URI Physical_Process                       = createClass(NS, "Physical_Process");
+    public final URI Process                                = createClass(NS, "Process");
+    public final URI Termination                            = createClass(NS, "Termination");
+    
+    // RESOURCES
+    
+    // PROPERTIES
+    public final URI created_by                              = createProperty(NS, "created_by");
+    public final URI creation                                = createProperty(NS, "creation");
+    public final URI participant                             = createProperty(NS, "participant");
+    public final URI participant_in                          = createProperty(NS, "participant_in");
+    public final URI requirement                             = createProperty(NS, "requirement");
+    public final URI requirement_of                          = createProperty(NS, "requirement_of");
+    public final URI resource                                = createProperty(NS, "resource");
+    public final URI resource_for                            = createProperty(NS, "resource_for ");
+    public final URI result                                  = createProperty(NS, "result");
+    public final URI result_of                               = createProperty(NS, "result_of");
+    
+    private LKIF_CORE_PROCESS() {
+      super(NS);
+    }
+
+}

Added: any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_RELATIVE_PLACES.java
URL: http://svn.apache.org/viewvc/any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_RELATIVE_PLACES.java?rev=1441675&view=auto
==============================================================================
--- any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_RELATIVE_PLACES.java (added)
+++ any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_RELATIVE_PLACES.java Sat Feb  2 01:04:55 2013
@@ -0,0 +1,77 @@
+/*
+ * 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.
+ */
+package org.apache.any23.vocab;
+
+import org.openrdf.model.URI;
+
+/**
+ * @author lewismc
+ * An implementation of the <a href="https://github.com/RinkeHoekstra/lkif-core">lkif-core</a>
+ * vocabulary which is a library of ontologies relevant for the legal domain. 
+ * The library consists of 15 modules, each of which describes a set of closely 
+ * related concepts from both legal and commonsense domains.
+ *
+ */
+public class LKIF_CORE_RELATIVE_PLACES extends Vocabulary {
+	
+    /**
+     * The namespace of the vocabulary as a string.
+     */
+    public static final String NS = "http://www.estrellaproject.org/lkif-core/relative-places.owl#";
+    
+    private static LKIF_CORE_RELATIVE_PLACES instance;
+    
+    public static LKIF_CORE_RELATIVE_PLACES getInstance() {
+      if(instance == null) {
+          instance = new LKIF_CORE_RELATIVE_PLACES();
+      }
+      return instance;
+  }
+    //////////////////////////////////////////////////////////////////
+    /* http://www.estrellaproject.org/lkif-core/relative-places.owl */
+    //////////////////////////////////////////////////////////////////
+    // CLASSES
+    public final URI Absolute_Place                   = createClass(NS, "Absolute_Place");
+    public final URI Comprehensive_Place              = createClass(NS, "Comprehensive_Place");
+    public final URI Location_Complex                 = createClass(NS, "Location_Complex");
+    public final URI Place                            = createClass(NS, "Place");
+    public final URI Relative_Place                   = createClass(NS, "Relative_Place");
+    
+    // RESOURCES
+    
+    // PROPERTIES
+    public final URI abut                             = createProperty(NS, "abut");
+    public final URI connect                          = createProperty(NS, "connect");
+    public final URI cover                            = createProperty(NS, "cover");
+    public final URI covered_by                       = createProperty(NS, "covered_by");
+    public final URI exactly_coincide                 = createProperty(NS, "exactly_coincide");
+    public final URI externally_connect               = createProperty(NS, "externally_connect");
+    public final URI in                               = createProperty(NS, "in");
+    public final URI location_complex                 = createProperty(NS, "location_complex");
+    public final URI location_complex_for             = createProperty(NS, "location_complex_for");
+    public final URI meet                             = createProperty(NS, "meet");
+    public final URI overlap                          = createProperty(NS, "overlap");
+    public final URI partially_coincide               = createProperty(NS, "partially_coincide");
+    public final URI relatively_fixed                 = createProperty(NS, "relatively_fixed");
+    public final URI spatial_reference                = createProperty(NS, "spatial_reference");
+    public final URI spatial_relation                 = createProperty(NS, "spatial_relation");
+    
+    private LKIF_CORE_RELATIVE_PLACES() {
+      super(NS);
+    }
+
+}

Added: any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_ROLE.java
URL: http://svn.apache.org/viewvc/any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_ROLE.java?rev=1441675&view=auto
==============================================================================
--- any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_ROLE.java (added)
+++ any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_ROLE.java Sat Feb  2 01:04:55 2013
@@ -0,0 +1,69 @@
+/*
+ * 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.
+ */
+package org.apache.any23.vocab;
+
+import org.openrdf.model.URI;
+
+/**
+ * @author lewismc
+ * An implementation of the <a href="https://github.com/RinkeHoekstra/lkif-core">lkif-core</a>
+ * vocabulary which is a library of ontologies relevant for the legal domain. 
+ * The library consists of 15 modules, each of which describes a set of closely 
+ * related concepts from both legal and commonsense domains.
+ *
+ */
+public class LKIF_CORE_ROLE extends Vocabulary {
+	
+    /**
+     * The namespace of the vocabulary as a string.
+     */
+    public static final String NS = "http://www.estrellaproject.org/lkif-core/role.owl#";
+    
+    private static LKIF_CORE_ROLE instance;
+    
+    public static LKIF_CORE_ROLE getInstance() {
+      if(instance == null) {
+          instance = new LKIF_CORE_ROLE();
+      }
+      return instance;
+  }
+    ///////////////////////////////////////////////////////
+    /* http://www.estrellaproject.org/lkif-core/role.owl */
+    ///////////////////////////////////////////////////////
+    // CLASSES
+    public final URI Epistemic_Role                      = createClass(NS, "Epistemic_Role");
+    public final URI Function                            = createClass(NS, "Function");
+    public final URI Organisation_Role                   = createClass(NS, "Organisation_Role");
+    public final URI Person_Role                         = createClass(NS, "Person_Role");
+    public final URI Role                                = createClass(NS, "Role");
+    public final URI Social_Role                         = createClass(NS, "Social_Role");
+    public final URI Subjective_Entity                   = createClass(NS, "Subjective_Entity ");
+    
+    // RESOURCES
+    
+    // PROPERTIES
+    public final URI context                             = createProperty(NS, "context");
+    public final URI counts_as                           = createProperty(NS, "counts_as");
+    public final URI imposed_on                          = createProperty(NS, "imposed_on");
+    public final URI played_by                           = createProperty(NS, "played_by");
+    public final URI plays                               = createProperty(NS, "plays");
+    
+    private LKIF_CORE_ROLE() {
+      super(NS);
+    }
+
+}

Added: any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_RULES.java
URL: http://svn.apache.org/viewvc/any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_RULES.java?rev=1441675&view=auto
==============================================================================
--- any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_RULES.java (added)
+++ any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_RULES.java Sat Feb  2 01:04:55 2013
@@ -0,0 +1,64 @@
+/*
+ * 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.
+ */
+package org.apache.any23.vocab;
+
+import org.openrdf.model.URI;
+
+/**
+ * @author lewismc
+ * An implementation of the <a href="https://github.com/RinkeHoekstra/lkif-core">lkif-core</a>
+ * vocabulary which is a library of ontologies relevant for the legal domain. 
+ * The library consists of 15 modules, each of which describes a set of closely 
+ * related concepts from both legal and commonsense domains.
+ *
+ */
+public class LKIF_CORE_RULES extends Vocabulary {
+	
+    /**
+     * The namespace of the vocabulary as a string.
+     */
+    public static final String NS = "http://www.estrellaproject.org/lkif-core/lkif-rules.owl#";
+    
+    private static LKIF_CORE_RULES instance;
+    
+    public static LKIF_CORE_RULES getInstance() {
+      if(instance == null) {
+          instance = new LKIF_CORE_RULES();
+      }
+      return instance;
+  }
+    /////////////////////////////////////////////////////////////
+    /* http://www.estrellaproject.org/lkif-core/lkif-rules.owl */
+    /////////////////////////////////////////////////////////////
+    // CLASSES
+    public final URI Valid_Rule                  = createClass(NS, "Valid_Rule");
+    public final URI Rule                        = createClass(NS, "Rule");
+    
+    // RESOURCES
+    
+    // PROPERTIES
+    public final URI rule_predicate              = createProperty(NS, "rule_predicate");
+    public final URI prior                       = createProperty(NS, "prior");
+    public final URI excluded                    = createProperty(NS, "excluded");
+    public final URI applies                     = createProperty(NS, "applies");
+    public final URI rebuts                      = createProperty(NS, "rebuts");
+    
+    private LKIF_CORE_RULES() {
+      super(NS);
+    }
+
+}

Added: any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_TIME.java
URL: http://svn.apache.org/viewvc/any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_TIME.java?rev=1441675&view=auto
==============================================================================
--- any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_TIME.java (added)
+++ any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_TIME.java Sat Feb  2 01:04:55 2013
@@ -0,0 +1,72 @@
+/*
+ * 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.
+ */
+package org.apache.any23.vocab;
+
+import org.openrdf.model.URI;
+
+/**
+ * @author lewismc
+ * An implementation of the <a href="https://github.com/RinkeHoekstra/lkif-core">lkif-core</a>
+ * vocabulary which is a library of ontologies relevant for the legal domain. 
+ * The library consists of 15 modules, each of which describes a set of closely 
+ * related concepts from both legal and commonsense domains.
+ *
+ */
+public class LKIF_CORE_TIME extends Vocabulary {
+	
+    /**
+     * The namespace of the vocabulary as a string.
+     */
+    public static final String NS = "http://www.estrellaproject.org/lkif-core/time.owl#";
+    
+    private static LKIF_CORE_TIME instance;
+    
+    public static LKIF_CORE_TIME getInstance() {
+      if(instance == null) {
+          instance = new LKIF_CORE_TIME();
+      }
+      return instance;
+  }
+    ///////////////////////////////////////////////////////
+    /* http://www.estrellaproject.org/lkif-core/time.owl */
+    ///////////////////////////////////////////////////////
+    // CLASSES
+    public final URI Interval                    = createClass(NS, "Interval");
+    public final URI Moment                      = createClass(NS, "Moment");
+    public final URI Pair_Of_Periods             = createClass(NS, "Pair_Of_Periods");
+    public final URI Temporal_Occurrence         = createClass(NS, "Temporal_Occurrence");
+    
+    // RESOURCES
+    
+    // PROPERTIES
+    public final URI after                       = createProperty(NS, "after");
+    public final URI before                      = createProperty(NS, "before");
+    public final URI between                     = createProperty(NS, "between");
+    public final URI during                      = createProperty(NS, "during");
+    public final URI finishes                    = createProperty(NS, "finishes");
+    public final URI immediately_after           = createProperty(NS, "immediately_after");
+    public final URI immediately_before          = createProperty(NS, "immediately_before");
+    public final URI overlap                     = createProperty(NS, "overlap");
+    public final URI preceeds                    = createProperty(NS, "preceeds");
+    public final URI starts                      = createProperty(NS, "starts");
+    public final URI temporal_relation           = createProperty(NS, "temporal_relation");
+    
+    private LKIF_CORE_TIME() {
+      super(NS);
+    }
+
+}

Added: any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_TIME_MODIFICATION.java
URL: http://svn.apache.org/viewvc/any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_TIME_MODIFICATION.java?rev=1441675&view=auto
==============================================================================
--- any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_TIME_MODIFICATION.java (added)
+++ any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_TIME_MODIFICATION.java Sat Feb  2 01:04:55 2013
@@ -0,0 +1,113 @@
+/*
+ * 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.
+ */
+package org.apache.any23.vocab;
+
+import org.openrdf.model.URI;
+
+/**
+ * @author lewismc
+ * An implementation of the <a href="https://github.com/RinkeHoekstra/lkif-core">lkif-core</a>
+ * vocabulary which is a library of ontologies relevant for the legal domain. 
+ * The library consists of 15 modules, each of which describes a set of closely 
+ * related concepts from both legal and commonsense domains.
+ *
+ */
+public class LKIF_CORE_TIME_MODIFICATION extends Vocabulary {
+	
+    /**
+     * The namespace of the vocabulary as a string.
+     */
+    public static final String NS = "http://www.estrellaproject.org/lkif-core/time-modification.owl#";
+    
+    private static LKIF_CORE_TIME_MODIFICATION instance;
+    
+    public static LKIF_CORE_TIME_MODIFICATION getInstance() {
+      if(instance == null) {
+          instance = new LKIF_CORE_TIME_MODIFICATION();
+      }
+      return instance;
+  }
+    ////////////////////////////////////////////////////////////////////
+    /* http://www.estrellaproject.org/lkif-core/time-modification.owl */
+    ////////////////////////////////////////////////////////////////////
+    // CLASSES
+    public final URI Semantic_Annotation               = createClass(NS, "Semantic_Annotation");
+    public final URI Modification                      = createClass(NS, "Modification");
+    public final URI Transposition                     = createClass(NS, "Transposition");
+    public final URI Ultractivity                      = createClass(NS, "Ultractivity");
+    public final URI Annulment                         = createClass(NS, "Annulment");
+    public final URI End_efficacy                      = createClass(NS, "End_efficacy");
+    public final URI Efficacy_Modification             = createClass(NS, "Efficacy_Modification ");
+    public final URI Modification_of_System            = createClass(NS, "Modification_of_System ");
+    public final URI Dynamic_Temporal_Entity           = createClass(NS, "Dynamic_Temporal_Entity ");
+    public final URI Remaking                          = createClass(NS, "Remaking ");
+    public final URI Application                       = createClass(NS, "Application ");
+    public final URI Ratification                      = createClass(NS, "Ratification ");
+    public final URI Textual_Modification              = createClass(NS, "Textual_Modification ");
+    public final URI Prorogation_in_Force              = createClass(NS, "Prorogation_in_Force ");
+    public final URI Application_Date                  = createClass(NS, "Application_Date ");
+    public final URI Retroactivity                     = createClass(NS, "Retroactivity ");
+    public final URI Modification_of_Term              = createClass(NS, "Modification_of_Term ");
+    public final URI Efficacy_Interval                 = createClass(NS, "Efficacy_Interval ");
+    public final URI Start_Efficacy                    = createClass(NS, "Start_Efficacy ");
+    public final URI Substitution                      = createClass(NS, "Substitution ");
+    public final URI Temporal_Modification             = createClass(NS, "Temporal_Modification ");
+    public final URI Suspension                        = createClass(NS, "Suspension ");
+    public final URI In_Force_Modification             = createClass(NS, "In_Force_Modification ");
+    public final URI Publication_Date                  = createClass(NS, "Publication_Date ");
+    public final URI Exception                         = createClass(NS, "Exception ");
+    public final URI Modification_of_Meaning           = createClass(NS, "Modification_of_Meaning ");
+    public final URI Static_Temporal_Entity            = createClass(NS, "Static_Temporal_Entity ");
+    public final URI End_in_Force                      = createClass(NS, "End_in_Force ");
+    public final URI Start_in_Force                    = createClass(NS, "Start_in_Force ");
+    public final URI Integration                       = createClass(NS, "Integration ");
+    public final URI Application_Interval              = createClass(NS, "Application_Interval ");
+    public final URI Interpretation                    = createClass(NS, "Interpretation ");
+    public final URI Deregulation                      = createClass(NS, "Deregulation ");
+    public final URI In_Force_Interval                 = createClass(NS, "In_Force_Interval ");
+    public final URI Repeal                            = createClass(NS, "Repeal ");
+    public final URI Modification_of_Scope             = createClass(NS, "Modification_of_Scope ");
+    public final URI Delivery_Date                     = createClass(NS, "Delivery_Date ");
+    public final URI Enter_in_Force_Date               = createClass(NS, "Enter_in_Force_Date ");
+    public final URI Variation                         = createClass(NS, "Variation ");
+    public final URI Existence_Date                    = createClass(NS, "Existence_Date ");
+    public final URI Relocation                        = createClass(NS, "Relocation ");
+    public final URI Prorogation_Efficacy              = createClass(NS, "Prorogation_Efficacy ");
+    public final URI Extension                         = createClass(NS, "Extension ");
+    public final URI Renewal                           = createClass(NS, "Renewal ");
+    
+    // RESOURCES
+    
+    // PROPERTIES
+    public final URI initial_date                      = createProperty(NS, "initial_date");
+    public final URI in_force                          = createProperty(NS, "in_force");
+    public final URI final_date_of                     = createProperty(NS, "final_date_of");
+    public final URI efficacy                          = createProperty(NS, "efficacy");
+    public final URI initial_date_of                   = createProperty(NS, "initial_date_of");
+    public final URI produce_efficacy_modification     = createProperty(NS, "produce_efficacy_modification");
+    public final URI duration                          = createProperty(NS, "duration");
+    public final URI final_date                        = createProperty(NS, "final_date");
+    public final URI application                       = createProperty(NS, "application");
+    public final URI date                              = createProperty(NS, "date");
+    public final URI produce_textual_modification      = createProperty(NS, "produce_textual_modification");
+    public final URI produce_inforce_modification      = createProperty(NS, "produce_inforce_modification");
+    
+    private LKIF_CORE_TIME_MODIFICATION() {
+      super(NS);
+    }
+
+}

Added: any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_TOP.java
URL: http://svn.apache.org/viewvc/any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_TOP.java?rev=1441675&view=auto
==============================================================================
--- any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_TOP.java (added)
+++ any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_TOP.java Sat Feb  2 01:04:55 2013
@@ -0,0 +1,63 @@
+/*
+ * 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.
+ */
+package org.apache.any23.vocab;
+
+import org.openrdf.model.URI;
+
+/**
+ * @author lewismc
+ * An implementation of the <a href="https://github.com/RinkeHoekstra/lkif-core">lkif-core</a>
+ * vocabulary which is a library of ontologies relevant for the legal domain. 
+ * The library consists of 15 modules, each of which describes a set of closely 
+ * related concepts from both legal and commonsense domains.
+ *
+ */
+public class LKIF_CORE_TOP extends Vocabulary {
+	
+    /**
+     * The namespace of the vocabulary as a string.
+     */
+    public static final String NS = "http://www.estrellaproject.org/lkif-core/lkif-top.owl#";
+    
+    private static LKIF_CORE_TOP instance;
+    
+    public static LKIF_CORE_TOP getInstance() {
+      if(instance == null) {
+          instance = new LKIF_CORE_TOP();
+      }
+      return instance;
+  }
+    /////////////////////////////////////////////////////////////
+    /* http://www.estrellaproject.org/lkif-core/lkif-top.owl */
+    /////////////////////////////////////////////////////////////
+    // CLASSES
+    public final URI Abstract_Entity                  = createClass(NS, "Abstract_Entity");
+    public final URI Mental_Entity                    = createClass(NS, "Mental_Entity");
+    public final URI Mental_Object                    = createClass(NS, "Mental_Object");
+    public final URI Occurrence                       = createClass(NS, "Occurrence");
+    public final URI Physical_Entity                  = createClass(NS, "Physical_Entity");
+    public final URI Spatio_Temporal_Occurrence       = createClass(NS, "Spatio_Temporal_Occurrence");
+
+    // RESOURCES
+    
+    // PROPERTIES
+    
+    private LKIF_CORE_TOP() {
+      super(NS);
+    }
+
+}



Re: svn commit: r1441675 - /any23/trunk/api/src/main/java/org/apache/any23/vocab/

Posted by Peter Ansell <an...@gmail.com>.
On 2 February 2013 21:20, Simone Tripodi <si...@apache.org> wrote:
>> As far as I know, it is not vital for there to be a single instance
>> for OpenRDF URIs, as equality for URIs is not object equality.
>> Therefore, it should not matter whether there are two or more copies
>> of the "instance" available as equality is preserved for the multiple
>> objects that would be created.
>>
>
> so what's the advantage to have such `getInstance()` method? just make
> the constructor public and instantiate it :)

I only use premade/late-bound-single instances for performance
benefits myself, so it could just be that. Not sure why they
constructor could not be public in this case.

Cheers,

Peter

Re: svn commit: r1441675 - /any23/trunk/api/src/main/java/org/apache/any23/vocab/

Posted by Simone Tripodi <si...@apache.org>.
> As far as I know, it is not vital for there to be a single instance
> for OpenRDF URIs, as equality for URIs is not object equality.
> Therefore, it should not matter whether there are two or more copies
> of the "instance" available as equality is preserved for the multiple
> objects that would be created.
>

so what's the advantage to have such `getInstance()` method? just make
the constructor public and instantiate it :)

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/

Re: svn commit: r1441675 - /any23/trunk/api/src/main/java/org/apache/any23/vocab/

Posted by Peter Ansell <an...@gmail.com>.
On 2 February 2013 20:28, Simone Tripodi <si...@apache.org> wrote:
> Hi Lewis!
>
> please apologise in advance my lack of knowledge on that topic, I have
> some minor observations about the code style:
>
>>     any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_ACTION.java
>
> in my humble opinion, this way of naming classes is a little
> confusing, since usually it is referred to static constants, I would
> replace them with `LkifCoreAction`.
> Keep it jut as my opinion, anyway ;)
>
>> +    public static DOAP getInstance() {
>>          if(instance == null) {
>>              instance = new DOAP();
>>          }
>>          return instance;
>>      }
>
> this pattern is not thread safety, immagine 2 (or more) threads access
> to `getInstance()` method simultaneously, `instance` would be
> initialised more than once; we have 2 options:
>
>  * initialise `instance` by default;
>
> or, if you want to keep the lazy initialisation:
>
>  * synchronise all `getInstance()` methods.

As far as I know, it is not vital for there to be a single instance
for OpenRDF URIs, as equality for URIs is not object equality.
Therefore, it should not matter whether there are two or more copies
of the "instance" available as equality is preserved for the multiple
objects that would be created.

The current pattern provides late initialisation, without requiring
synchronisation which would slow down the application without cause.

Cheers,

Peter

Re: svn commit: r1441675 - /any23/trunk/api/src/main/java/org/apache/any23/vocab/

Posted by Simone Tripodi <si...@apache.org>.
Hi Lewis!

please apologise in advance my lack of knowledge on that topic, I have
some minor observations about the code style:

>     any23/trunk/api/src/main/java/org/apache/any23/vocab/LKIF_CORE_ACTION.java

in my humble opinion, this way of naming classes is a little
confusing, since usually it is referred to static constants, I would
replace them with `LkifCoreAction`.
Keep it jut as my opinion, anyway ;)

> +    public static DOAP getInstance() {
>          if(instance == null) {
>              instance = new DOAP();
>          }
>          return instance;
>      }

this pattern is not thread safety, immagine 2 (or more) threads access
to `getInstance()` method simultaneously, `instance` would be
initialised more than once; we have 2 options:

 * initialise `instance` by default;

or, if you want to keep the lazy initialisation:

 * synchronise all `getInstance()` methods.

HTH, have a nice day!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/