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 expression module describes a vocabulary for describing, propositions and propositional attitudes (belief,
    30   * intention), qualifications, statements and media. It furthermore extends the role module with a number or epistemic
    31   * roles, and is the basis for the definition of norms.
    32   * </p>
    33   *
    34   * @author lewismc
    35   */
    36  public class LKIFCoreExpression extends Vocabulary {
    37
    38      /**
    39       * The namespace of the vocabulary as a string.
    40       */
    41      public static final String NS = "http://www.estrellaproject.org/lkif-core/expression.owl#";
    42
    43      private static LKIFCoreExpression instance;
    44
    45      public static LKIFCoreExpression getInstance() {
    46          if (instance == null) {
    47              instance = new LKIFCoreExpression();
    48          }
    49          return instance;
    50      }
    51
    52      /////////////////////////////////////////////////////////////
    53      /* http://www.estrellaproject.org/lkif-core/expression.owl */
    54      /////////////////////////////////////////////////////////////
    55      // CLASSES
    56      public final IRI Argument = createClass(NS, "Argument");
    57      public final IRI Assertion = createClass(NS, "Assertion");
    58      public final IRI Assumption = createClass(NS, "Assumption");
    59      public final IRI Belief = createClass(NS, "Belief");
    60      public final IRI Cause = createClass(NS, "Cause");
    61      public final IRI Communicated_Attitude = createClass(NS, "Communicated_Attitude");
    62      public final IRI Declaration = createClass(NS, "Declaration");
    63      public final IRI Desire = createClass(NS, "Desire");
    64      public final IRI Document = createClass(NS, "Document");
    65      public final IRI Evaluative_Attitude = createClass(NS, "Evaluative_Attitude");
    66      public final IRI Evaluative_Proposition = createClass(NS, "Evaluative_Proposition");
    67      public final IRI Evidence = createClass(NS, "Evidence");
    68      public final IRI Exception = createClass(NS, "Exception");
    69      public final IRI Expectation = createClass(NS, "Expectation");
    70      public final IRI Expression = createClass(NS, "Expression");
    71      public final IRI Fact = createClass(NS, "Fact");
    72      public final IRI Intention = createClass(NS, "Intention");
    73      public final IRI Lie = createClass(NS, "Lie");
    74      public final IRI Medium = createClass(NS, "Medium");
    75      public final IRI Observation = createClass(NS, "Observation");
    76      public final IRI Problem = createClass(NS, "Problem");
    77      public final IRI Promise = createClass(NS, "Promise");
    78      public final IRI Proposition = createClass(NS, "Proposition");
    79      public final IRI Propositional_Attitude = createClass(NS, "Propositional_Attitude");
    80      public final IRI Qualification = createClass(NS, "Qualification");
    81      public final IRI Qualified = createClass(NS, "Qualified");
    82      public final IRI Reason = createClass(NS, "Reason");
    83      public final IRI Speech_Act = createClass(NS, "Speech_Act");
    84      public final IRI Statement_In_Writing = createClass(NS, "Statement_In_Writing");
    85      public final IRI Surprise = createClass(NS, "Surprise");
    86
    87      // RESOURCES
    88
    89      // PROPERTIES
    90      public final IRI addressee = createProperty(NS, "addressee");
    91      public final IRI asserted_by = createProperty(NS, "asserted_by");
    92      public final IRI asserts = createProperty(NS, "asserts");
    93      public final IRI attitude = createProperty(NS, "attitude");
    94      public final IRI author = createProperty(NS, "author");
    95      public final IRI bears = createProperty(NS, "bears");
    96      public final IRI believed_by = createProperty(NS, "believed_by");
    97      public final IRI believes = createProperty(NS, "believes");
    98      public final IRI declares = createProperty(NS, "declares");
    99      public final IRI declared_by = createProperty(NS, "declared_by");
    100     public final IRI evaluated_by = createProperty(NS, "evaluated_by");
    101     public final IRI evaluates = createProperty(NS, "evaluates");
    102     public final IRI evaluatively_comparable = createProperty(NS, "evaluatively_comparable");
    103     public final IRI held_by = createProperty(NS, "held_by");
    104     public final IRI holds = createProperty(NS, "holds");
    105     public final IRI intended_by = createProperty(NS, "intended_by");
    106     public final IRI intends = createProperty(NS, "intends");
    107     public final IRI medium = createProperty(NS, "medium");
    108     public final IRI observer = createProperty(NS, "observer");
    109     public final IRI observes = createProperty(NS, "observes");
    110     public final IRI promised_by = createProperty(NS, "promised_by");
    111     public final IRI promises = createProperty(NS, "promises");
    112     public final IRI qualified_by = createProperty(NS, "qualified_by");
    113     public final IRI qualifies = createProperty(NS, "qualifies");
    114     public final IRI qualitatively_comparable = createProperty(NS, "qualitatively_comparable");
    115     public final IRI stated_by = createProperty(NS, "stated_by");
    116     public final IRI states = createProperty(NS, "states");
    117     public final IRI towards = createProperty(NS, "towards");
    118     public final IRI utterer = createProperty(NS, "utterer");
    119     public final IRI utters = createProperty(NS, "utters");
    120     public final IRI creation = createProperty(NS, "creation");
    121     public final IRI counts_as = createProperty(NS, "counts_as");
    122     public final IRI imposed_on = createProperty(NS, "imposed_on");
    123     public final IRI played_by = createProperty(NS, "played_by");
    124     public final IRI plays = createProperty(NS, "plays");
    125
    126     private LKIFCoreExpression() {
    127         super(NS);
    128     }
    129
    130 }