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 mereology module defines mereological concepts such as parts 
28   * and wholes, and typical mereological relations such as part of, 
29   * component of, containment, membership etc.</p>
30   *
31   * @author lewismc 
32   *
33   */
34  public class LKIFCoreMereology extends Vocabulary {
35  	
36      /**
37       * The namespace of the vocabulary as a string.
38       */
39      public static final String NS = "http://www.estrellaproject.org/lkif-core/mereology.owl#";
40      
41      private static LKIFCoreMereology instance;
42      
43      public static LKIFCoreMereology getInstance() {
44        if(instance == null) {
45            instance = new LKIFCoreMereology();
46        }
47        return instance;
48    }
49      /////////////////////////////////////////////////////////////
50      /* http://www.estrellaproject.org/lkif-core/mereology.owl */
51      /////////////////////////////////////////////////////////////
52      // CLASSES
53      public final IRI Atom                        = createClass(NS, "Atom");
54      public final IRI Composition                 = createClass(NS, "Composition");
55      public final IRI Pair                        = createClass(NS, "Pair");
56      public final IRI Part                        = createClass(NS, "Part");
57      public final IRI Whole                       = createClass(NS, "Whole");
58      
59      // RESOURCES
60      
61      // PROPERTIES
62      public final IRI component                   = createProperty(NS, "component");
63      public final IRI component_of                = createProperty(NS, "component_of");
64      public final IRI composed_of                 = createProperty(NS, "composed_of");
65      public final IRI composes                    = createProperty(NS, "composes");
66      public final IRI contained_in                = createProperty(NS, "contained_in");
67      public final IRI contains                    = createProperty(NS, "contains");
68      public final IRI direct_part                 = createProperty(NS, "direct_part");
69      public final IRI direct_part_of              = createProperty(NS, "direct_part_of");
70      public final IRI member                      = createProperty(NS, "member");
71      public final IRI member_of                   = createProperty(NS, "member_of");
72      public final IRI part                        = createProperty(NS, "part");
73      public final IRI part_of                     = createProperty(NS, "part_of");
74      public final IRI strict_part                 = createProperty(NS, "strict_part");
75      public final IRI strict_part_of              = createProperty(NS, "strict_part_of");
76      
77      private LKIFCoreMereology() {
78        super(NS);
79      }
80  
81  }