Code Monkey home page Code Monkey logo

Comments (9)

balhoff avatar balhoff commented on June 2, 2024 1

Try also passing --remove-redundant-subclass-axioms true to robot reason. I'm not completely sure but I think these will go away.

from boomer.

balhoff avatar balhoff commented on June 2, 2024

@wdduncan you are right—currently it's outputting a very literal translation of the axioms used in the reasoning tests. An immediate thing you could do is run the output through robot reason with --axiom-generators "SubClass EquivalentClass".

from boomer.

wdduncan avatar wdduncan commented on June 2, 2024

Yes ... I was just trying a step in the output :(
Will the -- axiom-generators "SubClass EquivalentClass" option eliminate the redundant is_a statements?

from boomer.

wdduncan avatar wdduncan commented on June 2, 2024

Thanks!

from boomer.

wdduncan avatar wdduncan commented on June 2, 2024

This command:

robot reason -e all --axiom-generators "SubClass EquivalentClass" -i axioms-boomer.owl -o axioms-boomer-reasoned.owl

generates the reasoned file, but produces a number of errors:

2020-04-13 18:20:33,784 ERROR org.obolibrary.robot.ReasonOperation - Reference violations found: 6 - reasoning may be incomplete
2020-04-13 18:20:33,786 ERROR org.obolibrary.robot.ReasonOperation - Reference violation: InvalidReferenceViolation [axiom=SubClassOf(<http://boom.monarchinitiative.org/vocab/DisjointSibling#47310af97e7ead4f66b3d7f107d5880706f0cae3> <http://purl.obolibrary.org/obo/NCIT_C160214>), referencedObject=<http://purl.obolibrary.org/obo/NCIT_C160214>, category=DANGLING]
2020-04-13 18:20:33,786 ERROR org.obolibrary.robot.ReasonOperation - Reference violation: InvalidReferenceViolation [axiom=Declaration(Class(<http://purl.obolibrary.org/obo/NCIT_C160214>)), referencedObject=<http://purl.obolibrary.org/obo/NCIT_C160214>, category=DANGLING]
2020-04-13 18:20:33,786 ERROR org.obolibrary.robot.ReasonOperation - Reference violation: InvalidReferenceViolation [axiom=SubClassOf(<http://purl.obolibrary.org/obo/PECO_0000137> <http://purl.obolibrary.org/obo/NCIT_C160214>), referencedObject=<http://purl.obolibrary.org/obo/NCIT_C160214>, category=DANGLING]
2020-04-13 18:20:33,786 ERROR org.obolibrary.robot.ReasonOperation - Reference violation: InvalidReferenceViolation [axiom=SubClassOf(<http://purl.obolibrary.org/obo/NCIT_C29029> <http://purl.obolibrary.org/obo/XCO_0000543>), referencedObject=<http://purl.obolibrary.org/obo/XCO_0000543>, category=DANGLING]
2020-04-13 18:20:33,786 ERROR org.obolibrary.robot.ReasonOperation - Reference violation: InvalidReferenceViolation [axiom=Declaration(Class(<http://purl.obolibrary.org/obo/XCO_0000543>)), referencedObject=<http://purl.obolibrary.org/obo/XCO_0000543>, category=DANGLING]
2020-04-13 18:20:33,786 ERROR org.obolibrary.robot.ReasonOperation - Reference violation: InvalidReferenceViolation [axiom=SubClassOf(<http://boom.monarchinitiative.org/vocab/DisjointSibling#6212d8e82b7be24d8b37ade44a50fda4ead7c8c5> <http://purl.obolibrary.org/obo/XCO_0000543>), referencedObject=<http://purl.obolibrary.org/obo/XCO_0000543>, category=DANGLING]

Is there another flag I need to pass for the DANGLING errors?

from boomer.

wdduncan avatar wdduncan commented on June 2, 2024

Also, when I convert to obo format, there is a line called owl-axioms that lists all the axioms in functional syntax. Is this normal? I found an explanation in the documentation about them being untranslatable, but there are just a lot of them.

from boomer.

balhoff avatar balhoff commented on June 2, 2024

but produces a number of errors:

This is normal ROBOT output, nothing to worry about here.

Also, when I convert to obo format, there is a line called owl-axioms that lists all the axioms in functional syntax. Is this normal? I found an explanation in the documentation about them being untranslatable, but there are just a lot of them.

That's right, these are axioms that can't be translated to OBO format. Do you need to use OBO format? I avoid it whenever possible.

from boomer.

matentzn avatar matentzn commented on June 2, 2024

Plus 100 to avoid, but Bill has to live in OBO-grepistan.. no choice. I wouldn’t worry about what’s in owlaxioms for now.

from boomer.

balhoff avatar balhoff commented on June 2, 2024

Closing this in favor of #44.

from boomer.

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.