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 place module partially implements the theory of relative places (Donnelly, 2005) in OWL DL.
    30   * </p>
    31   *
    32   * @author lewismc
    33   *
    34   */
    35  public class LKIFCoreRelativePlaces extends Vocabulary {
    36
    37      /**
    38       * The namespace of the vocabulary as a string.
    39       */
    40      public static final String NS = "http://www.estrellaproject.org/lkif-core/relative-places.owl#";
    41
    42      private static LKIFCoreRelativePlaces instance;
    43
    44      public static LKIFCoreRelativePlaces getInstance() {
    45          if (instance == null) {
    46              instance = new LKIFCoreRelativePlaces();
    47          }
    48          return instance;
    49      }
    50
    51      //////////////////////////////////////////////////////////////////
    52      /* http://www.estrellaproject.org/lkif-core/relative-places.owl */
    53      //////////////////////////////////////////////////////////////////
    54      // CLASSES
    55      public final IRI Absolute_Place = createClass(NS, "Absolute_Place");
    56      public final IRI Comprehensive_Place = createClass(NS, "Comprehensive_Place");
    57      public final IRI Location_Complex = createClass(NS, "Location_Complex");
    58      public final IRI Place = createClass(NS, "Place");
    59      public final IRI Relative_Place = createClass(NS, "Relative_Place");
    60
    61      // RESOURCES
    62
    63      // PROPERTIES
    64      public final IRI abut = createProperty(NS, "abut");
    65      public final IRI connect = createProperty(NS, "connect");
    66      public final IRI cover = createProperty(NS, "cover");
    67      public final IRI covered_by = createProperty(NS, "covered_by");
    68      public final IRI exactly_coincide = createProperty(NS, "exactly_coincide");
    69      public final IRI externally_connect = createProperty(NS, "externally_connect");
    70      public final IRI in = createProperty(NS, "in");
    71      public final IRI location_complex = createProperty(NS, "location_complex");
    72      public final IRI location_complex_for = createProperty(NS, "location_complex_for");
    73      public final IRI meet = createProperty(NS, "meet");
    74      public final IRI overlap = createProperty(NS, "overlap");
    75      public final IRI partially_coincide = createProperty(NS, "partially_coincide");
    76      public final IRI relatively_fixed = createProperty(NS, "relatively_fixed");
    77      public final IRI spatial_reference = createProperty(NS, "spatial_reference");
    78      public final IRI spatial_relation = createProperty(NS, "spatial_relation");
    79
    80      private LKIFCoreRelativePlaces() {
    81          super(NS);
    82      }
    83
    84  }