Basic tutorial to generate inference in OWL using SWRL rules
This tutorial was developed using the language JAVA and the Framework [Apache Jena]. Aims to auxiliate who users
Apache Jena version 3.0
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>apache-jena-libs</artifactId>
<type>pom</type>
<version>3.0</version>
</dependency>
- First case
- [S1: (?x eg:hasSon ?y), (?y eg:hasSon ?z), (?w eg:hasSpouse ?y) -> (?z eg:hasGrandFather ?x), (?w eg:hasSon ?z)]