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 process module extends the LKIF top ontology module with a definition of changes, processes (being causal
    30   * changes) and physical objects. It introduces a limited set of properties for describing participant roles of
    31   * processes.
    32   * </p>
    33   *
    34   * @author lewismc
    35   *
    36   */
    37  public class LKIFCoreProcess extends Vocabulary {
    38
    39      /**
    40       * The namespace of the vocabulary as a string.
    41       */
    42      public static final String NS = "http://www.estrellaproject.org/lkif-core/process.owl#";
    43
    44      private static LKIFCoreProcess instance;
    45
    46      public static LKIFCoreProcess getInstance() {
    47          if (instance == null) {
    48              instance = new LKIFCoreProcess();
    49          }
    50          return instance;
    51      }
    52
    53      //////////////////////////////////////////////////////////
    54      /* http://www.estrellaproject.org/lkif-core/process.owl */
    55      //////////////////////////////////////////////////////////
    56      // CLASSES
    57      public final IRI Change = createClass(NS, "Change");
    58      public final IRI Continuation = createClass(NS, "Continuation");
    59      public final IRI Initiation = createClass(NS, "Initiation");
    60      public final IRI Mental_Process = createClass(NS, "Mental_Process");
    61      public final IRI Physical_Object = createClass(NS, "Physical_Object");
    62      public final IRI Physical_Process = createClass(NS, "Physical_Process");
    63      public final IRI Process = createClass(NS, "Process");
    64      public final IRI Termination = createClass(NS, "Termination");
    65
    66      // RESOURCES
    67
    68      // PROPERTIES
    69      public final IRI created_by = createProperty(NS, "created_by");
    70      public final IRI creation = createProperty(NS, "creation");
    71      public final IRI participant = createProperty(NS, "participant");
    72      public final IRI participant_in = createProperty(NS, "participant_in");
    73      public final IRI requirement = createProperty(NS, "requirement");
    74      public final IRI requirement_of = createProperty(NS, "requirement_of");
    75      public final IRI resource = createProperty(NS, "resource");
    76      public final IRI resource_for = createProperty(NS, "resource_for ");
    77      public final IRI result = createProperty(NS, "result");
    78      public final IRI result_of = createProperty(NS, "result_of");
    79
    80      private LKIFCoreProcess() {
    81          super(NS);
    82      }
    83
    84  }