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