View Javadoc

    1   /*
    2    * Licensed to the Apache Software Foundation (ASF) under one or more
    3    * contributor license agreements.  See the NOTICE file distributed with
    4    * this work for additional information regarding copyright ownership.
    5    * The ASF licenses this file to You under the Apache License, Version 2.0
    6    * (the "License"); you may not use this file except in compliance with
    7    * the License.  You may obtain a copy of the License at
    8    *
    9    *  http://www.apache.org/licenses/LICENSE-2.0
    10   *
    11   * Unless required by applicable law or agreed to in writing, software
    12   * distributed under the License is distributed on an "AS IS" BASIS,
    13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    14   * See the License for the specific language governing permissions and
    15   * limitations under the License.
    16   */
    17  package org.apache.any23.vocab;
    18
    19  import org.eclipse.rdf4j.model.IRI;
    20
    21  /**
    22   * <p>
    23   * An implementation of the <a href="https://github.com/RinkeHoekstra/lkif-core">lkif-core</a> vocabulary which is a
    24   * library of ontologies relevant for the legal domain. The library consists of 15 modules, each of which describes a
    25   * set of closely related concepts from both legal and commonsense domains.
    26   * </p>
    27   *
    28   * <p>
    29   * The action module describes the vocabulary for representing actions in general. Actions are processes which are
    30   * performed by some agent (the actor of the action). This module does not commit itself to a particular theory on
    31   * thematic roles.
    32   * </p>
    33   *
    34   * @author lewismc
    35   *
    36   *
    37   */
    38  public class LKIFCoreAction extends Vocabulary {
    39
    40      /**
    41       * The namespace of the vocabulary as a string.
    42       */
    43      public static final String NS = "http://www.estrellaproject.org/lkif-core/action.owl#";
    44
    45      private static LKIFCoreAction instance;
    46
    47      public static LKIFCoreAction getInstance() {
    48          if (instance == null) {
    49              instance = new LKIFCoreAction();
    50          }
    51          return instance;
    52      }
    53
    54      /////////////////////////////////////////////////////////
    55      /* http://www.estrellaproject.org/lkif-core/action.owl */
    56      /////////////////////////////////////////////////////////
    57      // CLASSES
    58      public final IRI Action = createClass(NS, "Action");
    59      public final IRI Agent = createClass(NS, "Agent");
    60      public final IRI Artifact = createClass(NS, "Artifact");
    61      public final IRI Collaborative_Plan = createClass(NS, "Collaborative_Plan");
    62      public final IRI Creation_C = createClass(NS, "Creation");
    63      public final IRI Natural_Object = createClass(NS, "Natural_Object");
    64      public final IRI Organisation = createClass(NS, "Organisation");
    65      public final IRI Person = createClass(NS, "Person");
    66      public final IRI Personal_Plan = createClass(NS, "Personal_Plan");
    67      public final IRI Plan = createClass(NS, "Plan");
    68      public final IRI Reaction = createClass(NS, "Reaction");
    69      public final IRI Transaction = createClass(NS, "Transaction");
    70      public final IRI Mental_Object = createClass(NS, "Mental_Object");
    71      public final IRI Change = createClass(NS, "Change");
    72      public final IRI Physical_Object = createClass(NS, "Physical_Object");
    73      public final IRI Process = createClass(NS, "Process");
    74
    75      // RESOURCES
    76
    77      // PROPERTIES
    78      public final IRI actor = createProperty(NS, "actor");
    79      public final IRI actor_in = createProperty(NS, "actor_in");
    80      public final IRI direct_part = createProperty(NS, "direct_part");
    81      public final IRI member = createProperty(NS, "member");
    82      public final IRI part = createProperty(NS, "part");
    83      public final IRI creation_P = createProperty(NS, "creation");
    84      public final IRI participant = createProperty(NS, "participant");
    85      public final IRI participant_in = createProperty(NS, "participant_in");
    86      public final IRI result_of = createProperty(NS, "result_of");
    87
    88      private LKIFCoreAction() {
    89          super(NS);
    90      }
    91
    92  }