All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.stanbol.rules.base.SWRL Maven / Gradle / Ivy

The newest version!
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.stanbol.rules.base;

/* CVS $Id: SWRL.java 1082452 2011-03-17 12:21:50Z concelvio $ */

import com.hp.hpl.jena.rdf.model.Model;
import com.hp.hpl.jena.rdf.model.ModelFactory;
import com.hp.hpl.jena.rdf.model.Property;
import com.hp.hpl.jena.rdf.model.Resource;

/**
 * Vocabulary definitions from http://www.w3.org/Submission/SWRL/swrl.owl
 * 
 * @author Auto-generated by schemagen on 15 feb 2010 15:40
 */
public class SWRL {
    /**
     * 

* The RDF model that holds the vocabulary terms *

*/ private static Model m_model = ModelFactory.createDefaultModel(); /** *

* The namespace of the vocabulary as a string *

*/ public static final String NS = "http://www.w3.org/2003/11/swrl#"; /** *

* The namespace of the vocabulary as a string *

* * @see #NS */ public static String getURI() { return "http://www.w3.org/Submission/SWRL/swrl.owl"; } /** *

* The namespace of the vocabulary as a resource *

*/ public static final Resource NAMESPACE = m_model.createResource(NS); /** *

* can be a Literal or Resource *

*/ public static final Property argument1 = m_model .createProperty("http://www.w3.org/2003/11/swrl#argument1"); public static final Property argument2 = m_model .createProperty("http://www.w3.org/2003/11/swrl#argument2"); public static final Property classPredicate = m_model .createProperty("http://www.w3.org/2003/11/swrl#classPredicate"); public static final Property propertyPredicate = m_model .createProperty("http://www.w3.org/2003/11/swrl#propertyPredicate"); public static final Property body = m_model.createProperty("http://www.w3.org/2003/11/swrl#body"); public static final Property head = m_model.createProperty("http://www.w3.org/2003/11/swrl#head"); /** *

* common superclass *

*/ public static final Resource Atom = m_model.createResource("http://www.w3.org/2003/11/swrl#Atom"); public static final Resource AtomList = m_model.createResource("http://www.w3.org/2003/11/swrl#AtomList"); public static final Resource Builtin = m_model.createResource("http://www.w3.org/2003/11/swrl#Builtin"); /** *

* consists of a builtin and a List of arguments *

*/ public static final Resource BuiltinAtom = m_model .createResource("http://www.w3.org/2003/11/swrl#BuiltinAtom"); /** *

* consists of a classPredicate and argument1 *

*/ public static final Resource ClassAtom = m_model .createResource("http://www.w3.org/2003/11/swrl#ClassAtom"); /** *

* consists of a dataRange and argument1 *

*/ public static final Resource DataRangeAtom = m_model .createResource("http://www.w3.org/2003/11/swrl#DataRangeAtom"); /** *

* consists of a propertyPredicate (owl:DatatypeProperty), argument1 (owl:Thing), and argument2 * (rdfs:Literal) *

*/ public static final Resource DatavaluedPropertyAtom = m_model .createResource("http://www.w3.org/2003/11/swrl#DatavaluedPropertyAtom"); /** *

* consists of argument1 (owl:Thing) and argument2 (owl:Thing) *

*/ public static final Resource DifferentIndividualsAtom = m_model .createResource("http://www.w3.org/2003/11/swrl#DifferentIndividualsAtom"); /** *

* implication (rule) *

*/ public static final Resource Imp = m_model.createResource("http://www.w3.org/2003/11/swrl#Imp"); /** *

* consists of a propertyPredicate (owl:ObjectProperty), argument1 (owl:Thing), and argument2 (owl:Thing) *

*/ public static final Resource IndividualPropertyAtom = m_model .createResource("http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"); /** *

* consists of argument1 (owl:Thing) and argument2 (owl:Thing) *

*/ public static final Resource SameIndividualAtom = m_model .createResource("http://www.w3.org/2003/11/swrl#SameIndividualAtom"); /** *

* indicate that a URI is being used as a variable *

*/ public static final Resource Variable = m_model.createResource("http://www.w3.org/2003/11/swrl#Variable"); public static final Resource nil = m_model .createResource("http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy