Giter Club home page Giter Club logo

leancor's Introduction

leancor

A fork of leanCoR that aims description logics reasoning.

Usage

Check consistency (not supported yet)

./leancor consistency tests/ontologies/examples/ontology_travel.owl ../travel-consistency.csv

Classify ontology

./leancor classification tests/ontologies/examples/ontology_travel.owl ../travel.owl

Check satisfiability of concept names (not supported yet)

./leancor sat test/pizza.owl test/output/pizza-sat.csv http://www.co-ode.org/ontologies/pizza/pizza.owl#SloppyGiuseppe
./leancor sat test/pizza.owl test/output/pizza-sat.csv http://www.co-ode.org/ontologies/pizza/pizza.owl#IceCream

leancor's People

Contributors

adrianomelo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

leancor's Issues

Expressions and Axioms used by wine, galen and tambis

These are the expressions and axioms used by the ontologies that we want test:

Class
ClassAssertion
DataAllValuesFrom
DataProperty
DataPropertyAssertion
DataPropertyDomain
DataPropertyRange
DataSomeValuesFrom
Declaration
DifferentIndividuals
DisjointClasses
EquivalentClasses
FunctionalDataProperty
FunctionalObjectProperty
Import
InverseObjectProperties
ObjectAllValuesFrom
ObjectComplementOf
ObjectExactCardinality
ObjectHasValue
ObjectIntersectionOf
ObjectMaxCardinality
ObjectMinCardinality
ObjectOneOf
ObjectProperty
ObjectPropertyAssertion
ObjectPropertyDomain
ObjectPropertyRange
ObjectSomeValuesFrom
ObjectUnionOf
SubClassOf
SubObjectPropertyOf
SymmetricObjectProperty
TransitiveObjectProperty

Support chinese and russian characters

Axioms such as

ClassAssertion(<http://grapson.com/expression#Noun> <http://kyamk.fi/customs/expression#zh.海关辖区.N>)
ClassAssertion(<http://grapson.com/term#Term> <http://kyamk.fi/customs/term#ru.штриховой_код.NP-kyamk.Bar_code>)

are not parsed correctly.

Support check consistency

One of the reasoning tasks required for a OWL reasoner is check consistency. We need execute this task before classification and from the command line:

./leancor consistency tests/ontologies/examples/ontology_travel.owl ../travel-consistency.csv

The result output file () must contain ’true’ if the ontology is consistent and ’false’ if the ontology is inconsistent.

Support Realisation reasoning task

Realisation: identifying the types of all individuals in an ontology.

For realisation, the result output file () must be an OWL 2 file (in OWL 2 Functional Syntax, or any other serialization format that can be read with the OWL API), which contains all types of all individuals with ClassAssertion axioms, i.e.,

  • If an individual a is an instance of a class A, then the result ontology has to contain the axiom ClassAssertion(A a), i.e., all indirect types of individuals must also be expressed by ClassAssertion axioms.
  • If the ontology is inconsistent, then the result ontology must contain an axiom of the form SubClassOf(owl:Thing owl:Nothing), EquivalentClasses(owl:Thing owl:Nothing), or ClassAssertion(owl:Nothing a).

Create an interface using Qt

It's just an idea, but it would be nice if we provide an UI to visualize proofs and let easier to use the reasoner.

Same class name but different URI

Some ontologies have two classes with the same name, e.g.,
SubClassOf(<http://xmlns.com/foaf/0.1/Person> <http://purl.org/dc/terms/Agent>) SubClassOf(<http://xmlns.com/foaf/0.1/Person> <http://xmlns.com/foaf/0.1/Agent>)
In this case, we get lost.

Handle parenthesis on class name

Example:

SubClassOf(<http://cui.unige.ch/isi/ontologies/citygml#chimney_(part_of_a_building)> <http://cui.unige.ch/isi/ontologies/citygml#BuildingInstallationFunctionType>)'

Add more axioms to the parser

Some axioms still not supported by the parser. Most of them are commented in the code, some others need be more tested, e.g. data properties.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.