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 rules &amp; argumentation module defines roles central to 
28   * argumentation, and describes the vocabulary for LKIF rules 
29   * as defined in Deliverable 1.1, chapter 5. The module 
30   * leaves room for further extension to complex argumentation 
31   * frameworks (AIF, Carneades).</p>
32   *
33   * @author lewismc 
34   *
35   */
36  public class LKIFCoreRules 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/lkif-rules.owl#";
42      
43      private static LKIFCoreRules instance;
44      
45      public static LKIFCoreRules getInstance() {
46        if(instance == null) {
47            instance = new LKIFCoreRules();
48        }
49        return instance;
50    }
51      /////////////////////////////////////////////////////////////
52      /* http://www.estrellaproject.org/lkif-core/lkif-rules.owl */
53      /////////////////////////////////////////////////////////////
54      // CLASSES
55      public final IRI Valid_Rule                  = createClass(NS, "Valid_Rule");
56      public final IRI Rule                        = createClass(NS, "Rule");
57      
58      // RESOURCES
59      
60      // PROPERTIES
61      public final IRI rule_predicate              = createProperty(NS, "rule_predicate");
62      public final IRI prior                       = createProperty(NS, "prior");
63      public final IRI excluded                    = createProperty(NS, "excluded");
64      public final IRI applies                     = createProperty(NS, "applies");
65      public final IRI rebuts                      = createProperty(NS, "rebuts");
66      
67      private LKIFCoreRules() {
68        super(NS);
69      }
70  
71  }