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>An implementation of the <a href="https://github.com/RinkeHoekstra/lkif-core">lkif-core</a>
23   * vocabulary which is a library of ontologies relevant for the legal domain. 
24   * The library consists of 15 modules, each of which describes a set of closely 
25   * related concepts from both legal and commonsense domains.</p>
26   * 
27   * <p>The time module provides an OWL DL implementation of the 
28   * theory of time by Allen (1984).</p>
29   *
30   * @author lewismc 
31   *
32   */
33  public class LKIFCoreTime extends Vocabulary {
34  	
35      /**
36       * The namespace of the vocabulary as a string.
37       */
38      public static final String NS = "http://www.estrellaproject.org/lkif-core/time.owl#";
39      
40      private static LKIFCoreTime instance;
41      
42      public static LKIFCoreTime getInstance() {
43        if(instance == null) {
44            instance = new LKIFCoreTime();
45        }
46        return instance;
47    }
48      ///////////////////////////////////////////////////////
49      /* http://www.estrellaproject.org/lkif-core/time.owl */
50      ///////////////////////////////////////////////////////
51      // CLASSES
52      public final IRI Interval                    = createClass(NS, "Interval");
53      public final IRI Moment                      = createClass(NS, "Moment");
54      public final IRI Pair_Of_Periods             = createClass(NS, "Pair_Of_Periods");
55      public final IRI Temporal_Occurrence         = createClass(NS, "Temporal_Occurrence");
56      
57      // RESOURCES
58      
59      // PROPERTIES
60      public final IRI after                       = createProperty(NS, "after");
61      public final IRI before                      = createProperty(NS, "before");
62      public final IRI between                     = createProperty(NS, "between");
63      public final IRI during                      = createProperty(NS, "during");
64      public final IRI finishes                    = createProperty(NS, "finishes");
65      public final IRI immediately_after           = createProperty(NS, "immediately_after");
66      public final IRI immediately_before          = createProperty(NS, "immediately_before");
67      public final IRI overlap                     = createProperty(NS, "overlap");
68      public final IRI preceeds                    = createProperty(NS, "preceeds");
69      public final IRI starts                      = createProperty(NS, "starts");
70      public final IRI temporal_relation           = createProperty(NS, "temporal_relation");
71      
72      private LKIFCoreTime() {
73        super(NS);
74      }
75  
76  }