rmotta.marmotta-reasoner-kiwi.3.3.0.source-code.rdfs.kwrl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of marmotta-reasoner-kiwi
Show all versions of marmotta-reasoner-kiwi
Provides support for the sKWRL rule-based reasoning language. Rule programs can be uploaded and are evaluated
in a forward chaining algorithm whenever a transaction commits. Since the reasoner evaluates rules directly on
the database, reasoning is quite efficient.
/*
* Copyright (c) 2013 The Apache Software Foundation
*
* Licensed 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.
*/
@prefix rdfs:
@prefix rdf:
($1 rdfs:subClassOf $2), ($2 rdfs:subClassOf $3) -> ($1 rdfs:subClassOf $3)
($1 rdfs:subPropertyOf $2), ($2 rdfs:subPropertyOf $3) -> ($1 rdfs:subPropertyOf $3)
($1 rdf:type $2), ($2 rdfs:subClassOf $3) -> ($1 rdf:type $3)
($p rdfs:range $r), ($1 $p $2) -> ($2 rdf:type $r)
($p rdfs:domain $d), ($1 $p $2) -> ($1 rdf:type $d)