Coder Social home page Coder Social logo

Reasoner error? about owlsharp HOT 5 CLOSED

constnick avatar constnick commented on August 15, 2024
Reasoner error?

from owlsharp.

Comments (5)

mdesalvo avatar mdesalvo commented on August 15, 2024

Hi constnick,
thanks as usual for the attention to the library and for your detailed reports!

This is an error of the reasoner, which should not consider blank properties during the execution of this specific rule: I'll patch this rule, after the patch you should not see any inferences coming from this rule. I think you should try instead the "InverseOfEntailment" rule, which reverses object assertions by exploiting owl:inverseOf relations between object properties. I'll also check this one in order to see if it is smart enough to detect the expected inference. I'll also patch this, in case it doesn't work.

Regards,
Marco

from owlsharp.

mdesalvo avatar mdesalvo commented on August 15, 2024

Checked-in fixes in bd56416:

  • Discard blank properties during "PropertyEntailment" reasoner rule, so that it will not crash anymore when encountering blank candidate properties coming from OWL2-full anonymous inline property expressions
  • Recognize OWL2-full anonymous inline property expressions during owl:inverseOf computation, so that "InverseOfEntailment" reasoner rule will be able to infer "ex:iJunior ex:DescendantOf ex:iMajor"

from owlsharp.

mdesalvo avatar mdesalvo commented on August 15, 2024

Hi @constnick,
as you are an expert ontologist, can you kindly explain me the purpose of the syntax:

ex:ParentOf rdfs:subPropertyOf [ owl:inverseOf ex:DescendantOf ] .

What is the advantage against an explicit statement:

ex:ParentOf owl:inverseOf ex:DescendantOf

Can this also exist in equivalency way:

ex:ParentOf owl:equivalentProperty [ owl:inverseOf ex:DescendantOf ] .

Thanks,
Marco

from owlsharp.

constnick avatar constnick commented on August 15, 2024

ex:ParentOf owl:inverseOf ex:DescendantOf — it is a wrong assertion within the model.
The inverse of DescendantOf is something like AncestorOf, and ParentOf is the subproperty of it.
Of course we can create the inverse property explicitly, but it is usually inconvenient to create inverse of every property for possible rare usage.

from owlsharp.

mdesalvo avatar mdesalvo commented on August 15, 2024

Thanks for the clarification.

I checked on Protege with Pellet and HermiT reasoners emitting "ex:iJunior ex:DescendantOf ex:iMajor" inference. I confirm that now our rule named "InverseOfEntailment" is compliant. Expect the updated version soon.

Regards,
Marco

from owlsharp.

Related Issues (20)

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.