pauloprsdesouza / basic-rule-swrl

Basic example: how to uses SWRL rules to generate inference in the OWL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SWRL rules

Basic tutorial to generate inference in OWL using SWRL rules

Introduction

This tutorial was developed using the language JAVA and the Framework [Apache Jena]. Aims to auxiliate who users

Dependencies

Apache Jena version 3.0

Maven

<dependency>
  <groupId>org.apache.jena</groupId>
  <artifactId>apache-jena-libs</artifactId>
  <type>pom</type>
  <version>3.0</version>
</dependency>

Examples

  • First case
    • [S1: (?x eg:hasSon ?y), (?y eg:hasSon ?z), (?w eg:hasSpouse ?y) -> (?z eg:hasGrandFather ?x), (?w eg:hasSon ?z)]

About

Basic example: how to uses SWRL rules to generate inference in the OWL

License:MIT License


Languages

Language:Java 100.0%