Graal Defeasible Core

This is the core library relying on the GRAAL reasoning tool and containing a Defeasible Existential Rules DLGP parser along with the support for preferences on rules and alternatives

Лицензия

Лицензия

http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
Категории

Категории

Graal
Группа

Группа

fr.lirmm.graphik
Идентификатор

Идентификатор

graal-defeasible-core
Последняя версия

Последняя версия

0.0.6
Дата

Дата

Тип

Тип

jar
Описание

Описание

Graal Defeasible Core
This is the core library relying on the GRAAL reasoning tool and containing a Defeasible Existential Rules DLGP parser along with the support for preferences on rules and alternatives
Ссылка на сайт

Ссылка на сайт

https://github.com/hamhec/graal-defeasible-core
Система контроля версий

Система контроля версий

https://github.com/hamhec/graal-defeasible-core.git

Скачать graal-defeasible-core

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/fr.lirmm.graphik/graal-defeasible-core/ -->
<dependency>
    <groupId>fr.lirmm.graphik</groupId>
    <artifactId>graal-defeasible-core</artifactId>
    <version>0.0.6</version>
</dependency>
// https://jarcasting.com/artifacts/fr.lirmm.graphik/graal-defeasible-core/
implementation 'fr.lirmm.graphik:graal-defeasible-core:0.0.6'
// https://jarcasting.com/artifacts/fr.lirmm.graphik/graal-defeasible-core/
implementation ("fr.lirmm.graphik:graal-defeasible-core:0.0.6")
'fr.lirmm.graphik:graal-defeasible-core:jar:0.0.6'
<dependency org="fr.lirmm.graphik" name="graal-defeasible-core" rev="0.0.6">
  <artifact name="graal-defeasible-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='fr.lirmm.graphik', module='graal-defeasible-core', version='0.0.6')
)
libraryDependencies += "fr.lirmm.graphik" % "graal-defeasible-core" % "0.0.6"
[fr.lirmm.graphik/graal-defeasible-core "0.0.6"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
fr.lirmm.graphik : graal-core jar 1.3.1
fr.lirmm.graphik : graal-io-dlgp jar 1.3.1
fr.lirmm.graphik : graal-forward-chaining jar 1.3.1
org.slf4j : slf4j-api jar 1.7.7

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12

Модули Проекта

Данный проект не имеет модулей.

Maven Central

Graal Defeasible Core

This is the parser module for Defeasible Datalog+-, it can parse strict, defeasible, and defeater (existential) rules along with preferences on rules and on alternatives using DLGP fromat.

Getting Started

You can either import this module using Maven Central (recommended). Add the following to your pom.xml:

<dependency>
      <groupId>fr.lirmm.graphik</groupId>
      <artifactId>graal-defeasible-core</artifactId>
      <version>0.0.2</version>
</dependency>

Or using Github then adding it to your project:

> git clone https://github.com/hamhec/graal-defeasible-core.git

Example

penguin(kowalski). # strict fact.
bird(tweety) <= . # defeasible fact.
brokenWing(tweety) <= . # defeasible fact.

# penguins definetly are birds who do not fly
[r1] notFly(X), bird(X) <- penguin(X). # strict rule, the label [r1] is optional

# birds generally fly
[r2] fly(X) <= bird(X). # defeasible rule 

# birds with broken wings are not able to fly
[r3] notFly(X) <~ bird(X), brokenWings(X). # defeater rule

# r3 is preferred to r2
r3 >> r2. # preference on rules.

# one cannot fly and notFly at the same time (it leads to bottom '!' )
! :- fly(X), notFly(X). # Negative Constraint to express negation.

Authors

  • Abdelraouf Hecham - Developement and Maintenance - Hamhec
  • Clement Sipieter - Initial work - 6pi

License

This project is licensed under CeCILL 2.1 - see the LICENSE file for details

Версии библиотеки

Версия
0.0.6
0.0.4
0.0.3
0.0.2
0.0.1