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 norm module is an extension primarily on the expression module where norms are defined as qualifications. Please
    30   * refer to Deliverable 1.1 for a more in-depth description of the underlying theory. It furthermore defines a number of
    31   * legal sources, e.g. legal documents, customary law etc., and a typology of rights and powers, cf. Sartor (2006),
    32   * Rubino et al. (2006)
    33   * </p>
    34   *
    35   * @author lewismc
    36   *
    37   */
    38  public class LKIFCoreNorm 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/norm.owl#";
    44
    45      private static LKIFCoreNorm instance;
    46
    47      public static LKIFCoreNorm getInstance() {
    48          if (instance == null) {
    49              instance = new LKIFCoreNorm();
    50          }
    51          return instance;
    52      }
    53
    54      ///////////////////////////////////////////////////////
    55      /* http://www.estrellaproject.org/lkif-core/norm.owl */
    56      ///////////////////////////////////////////////////////
    57      // CLASSES
    58      public final IRI Hohfeldian_Power = createClass(NS, "Hohfeldian_Power");
    59      public final IRI Normatively_Qualified = createClass(NS, "Normatively_Qualified");
    60      public final IRI Code_of_Conduct = createClass(NS, "Code_of_Conduct");
    61      public final IRI Regulation = createClass(NS, "Regulation");
    62      public final IRI Soft_Law = createClass(NS, "Soft_Law");
    63      public final IRI Strictly_Disallowed = createClass(NS, "Strictly_Disallowed");
    64      public final IRI Permissive_Right = createClass(NS, "Permissive_Right");
    65      public final IRI Proclamation = createClass(NS, "Proclamation");
    66      public final IRI Legal_Expression = createClass(NS, "Legal_Expression");
    67      public final IRI Qualificatory_Expression = createClass(NS, "Qualificatory_Expression");
    68      public final IRI Enabling_Power = createClass(NS, "Enabling_Power");
    69      public final IRI Existential_Expression = createClass(NS, "Existential_Expression");
    70      public final IRI Persuasive_Precedent = createClass(NS, "Persuasive_Precedent");
    71      public final IRI Belief_In_Violation = createClass(NS, "Belief_In_Violation");
    72      public final IRI Strictly_Allowed = createClass(NS, "Strictly_Allowed");
    73      public final IRI Legal_Doctrine = createClass(NS, "Legal_Doctrine");
    74      public final IRI Resolution = createClass(NS, "Resolution");
    75      public final IRI Evaluative_Expression = createClass(NS, "Evaluative_Expression");
    76      public final IRI Liberty_Right = createClass(NS, "Liberty_Right");
    77      public final IRI Declarative_Power = createClass(NS, "Declarative_Power");
    78      public final IRI Contract = createClass(NS, "Contract");
    79      public final IRI Custom = createClass(NS, "Custom");
    80      public final IRI Exclusionary_Right = createClass(NS, "Exclusionary_Right");
    81      public final IRI International_Agreement = createClass(NS, "International_Agreement");
    82      public final IRI Customary_Law = createClass(NS, "Customary_Law");
    83      public final IRI Action_Power = createClass(NS, "Action_Power");
    84      public final IRI Legal_Source = createClass(NS, "Legal_Source");
    85      public final IRI Statute = createClass(NS, "Statute");
    86      public final IRI International_Arbitration = createClass(NS, "International_Arbitration");
    87      public final IRI Immunity = createClass(NS, "Immunity");
    88      public final IRI Treaty = createClass(NS, "Treaty");
    89      public final IRI Mandatory_Precedent = createClass(NS, "Mandatory_Precedent");
    90      public final IRI Code = createClass(NS, "Code");
    91      public final IRI Allowed = createClass(NS, "Allowed");
    92      public final IRI Observation_of_Violation = createClass(NS, "Observation_of_Violation");
    93      public final IRI Legal_Document = createClass(NS, "Legal_Document");
    94      public final IRI Potestative_Expression = createClass(NS, "Potestative_Expression");
    95      public final IRI Norm = createClass(NS, "Norm");
    96      public final IRI Potestative_Right = createClass(NS, "Potestative_Right");
    97      public final IRI Allowed_And_Disallowed = createClass(NS, "Allowed_And_Disallowed");
    98      public final IRI Obligation = createClass(NS, "Obligation");
    99      public final IRI Disallowed_Intention = createClass(NS, "Disallowed_Intention");
    100     public final IRI Permission = createClass(NS, "Permission");
    101     public final IRI Liability_Right = createClass(NS, "Liability_Right");
    102     public final IRI Right = createClass(NS, "Right");
    103     public final IRI Obliged = createClass(NS, "Obliged");
    104     public final IRI Non_binding_International_Agreement = createClass(NS, "Non-binding_International_Agreement");
    105     public final IRI Directive = createClass(NS, "Directive");
    106     public final IRI Disallowed = createClass(NS, "Disallowed");
    107     public final IRI Definitional_Expression = createClass(NS, "Definitional_Expression");
    108     public final IRI Prohibition = createClass(NS, "Prohibition");
    109     public final IRI Precedent = createClass(NS, "Precedent");
    110     public final IRI Obligative_Right = createClass(NS, "Obligative_Right");
    111
    112     // RESOURCES
    113
    114     // PROPERTIES
    115     public final IRI normatively_comparable = createProperty(NS, "normatively_comparable");
    116     public final IRI normatively_equivalent_or_better = createProperty(NS, "normatively_equivalent_or_better");
    117     public final IRI disallows = createProperty(NS, "disallows");
    118     public final IRI normatively_strictly_worse = createProperty(NS, "normatively_strictly_worse");
    119     public final IRI normatively_not_equivalent = createProperty(NS, "normatively_not_equivalent");
    120     public final IRI normatively_strictly_better = createProperty(NS, "normatively_strictly_better");
    121     public final IRI allowed_by = createProperty(NS, "allowed_by");
    122     public final IRI disallowed_by = createProperty(NS, "disallowed_by");
    123     public final IRI allows = createProperty(NS, "allows");
    124     public final IRI normatively_equivalent_or_worse = createProperty(NS, "normatively_equivalent_or_worse");
    125     public final IRI commands = createProperty(NS, "commands");
    126     public final IRI commanded_by = createProperty(NS, "commanded_by");
    127     public final IRI strictly_equivalent = createProperty(NS, "strictly_equivalent");
    128
    129     private LKIFCoreNorm() {
    130         super(NS);
    131     }
    132
    133 }