A python porting of the Fuzzy Description Language (see https://www.umbertostraccia.it/cs/software/fuzzyDL/fuzzyDL.html) and the Fuzzy OWL 2 framework (see https://www.umbertostraccia.it/cs/software/FuzzyOWL/index.html).


License
CC-BY-SA-4.0
Install
pip install fuzzy-dl-owl2==1.0.25

Documentation

Docs Tests Documentation PyPI Python Versions Code Style

Fuzzy DL OWL 2

A Python porting of the Fuzzy Description Language (FuzzyDL) and the Fuzzy OWL 2 framework, for representing fuzzy logic within description logic and for mapping a knowledge base represented in FuzzyDL to a Fuzzy OWL 2 construct in RDF/XML format.

📖 Full documentation: fuzzy-dl-owl2.readthedocs.io

Features:

  • Object-oriented representation of Fuzzy Description Logic elements
  • Object-oriented representation of Fuzzy OWL 2 elements
  • Mapping from FuzzyDL to Fuzzy OWL 2
  • Mapping from Fuzzy OWL 2 to FuzzyDL
  • Reasoning in FuzzyDL

Installation

pip install fuzzy-dl-owl2

Quick start

from fuzzy_dl_owl2.fuzzydl.parser import DLParserFast as DLParser

DLParser.main("./example.fdl")

See the Usage guide for reasoning, querying, and FuzzyDL ⇄ Fuzzy OWL 2 conversion examples.

Documentation

The full reference lives on Read the Docs:

Examples

The dl-examples directory contains sample knowledge bases written in the FuzzyDL language.

Test

The test directory contains the unittest files; test_suite.py is the full suite. The knowledge bases used by the tests are in examples/TestSuite.

License

This project is licensed under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0).