owl-api | Interacting with OWL Ontologies | Editor library

 by   phillord Java Version: Current License: No License

kandi X-RAY | owl-api Summary

kandi X-RAY | owl-api Summary

owl-api is a Java library typically used in Editor applications. owl-api has no bugs, it has no vulnerabilities, it has build file available and it has high support. You can download it from GitHub.

Interacting with OWL Ontologies
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              owl-api has a highly active ecosystem.
              It has 9 star(s) with 24 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 2 have been closed. On average issues are closed in 75 days. There are 1 open pull requests and 0 closed requests.
              It has a positive sentiment in the developer community.
              The latest version of owl-api is current.

            kandi-Quality Quality

              owl-api has 0 bugs and 0 code smells.

            kandi-Security Security

              owl-api has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              owl-api code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              owl-api does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              owl-api releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              It has 161189 lines of code, 16433 functions and 1665 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed owl-api and discovered the below as its top functions. This is intended to give you an instant insight into owl-api implemented functionality, and help decide if they suit your requirements.
            • Writes dataOne of values
            • Visit a maxinality
            • Writes the sub - object property of the class
            • Writes the sub - property of an axiom
            • Writes the sub - annotation property of the class
            • Analyzes the OWLObjectSomeValuesFromNode
            • This method is called when a OWLObjectRangeRangeAxiom is visited
            • This method consumes the given axioms of a OWLObjectPropertyDomain
            • Visit a OWLObjectHasSelf
            • Visit a OWLObjectExactCard
            • Visits a Lambda FunctionPropertyAxiom
            • This is called when a HasKeyAxiom is added
            • This method will write SOME values from the node
            • This method is called to write a list of values for the given axiom
            • This method is called when a DataPropertyDomainAxiom is defined
            • Visit a min cardinality
            • Visits an OWLASValue node
            • Visit a DataAllAllValuesFromNode
            • Visit a single function data property
            • Emit the data type restrictions
            • Visits the OWLObjectAllValuesFromNode
            • Emit an annotation assertion
            • This method consumes dataIntersectionOf
            • Emit the given axi property values
            • Visit a OWLObjectOne
            • Writes the sub - property chain of the given axiom
            • Visits all classes in the given axiom
            • Write a disjoint class expression
            • Writes the labels of the given axiom
            • Writes a subclass of the given axiom
            • Emit a max cardinality
            Get all kandi verified functions for this library.

            owl-api Key Features

            No Key Features are available at this moment for owl-api.

            owl-api Examples and Code Snippets

            No Code Snippets are available at this moment for owl-api.

            Community Discussions

            QUESTION

            Fix OWLOntologyStorageException
            Asked 2022-Feb-19 at 15:13

            I'm developing a Java application using owl-api. For testing I want to use a TestDataProvider to provide test data for unit-testing.

            I'm using version 5.0.0 because the tutorial I read is using this version too. I plan to update later.

            ...

            ANSWER

            Answered 2022-Feb-19 at 15:13

            By default, an ontology is saved in the same place it was loaded from - in this case it was loaded from a remote IRI, and there's currently no support for saving an ontology directly to a remote URL.

            You can work around this by specifying a target for your saveOntology() call, e.g.,

            Source https://stackoverflow.com/questions/71183961

            QUESTION

            OWL API NoSuchMethodError in saveOntology() call
            Asked 2022-Jan-31 at 10:43

            I am trying to call an OWL API java program through terminal and it crashes, while the exact same code is running ok when I run it in IntelliJ.

            The exception that rises in my main code is this:

            ...

            ANSWER

            Answered 2022-Jan-31 at 10:43

            As can be seen in the comments of the post, my problem is fixed, so I thought I'd collect a closing answer here to not leave the post pending.

            The actual solution: As explained here nicely by @UninformedUser, the issue was that I had conflicting maven package versions in my dependencies. Bringing everything in sync with each other solved the issue.

            Incidental solution: As I wrote in the comments above, specifically defining 3.3.0 for the maven-assembly-plugin happened to solve the issue. But this was only chance, as explained here by @Ignazio, just because the order of "assembling" things changed, overwriting the conflicting package.

            Huge thanks to both for the help.

            Source https://stackoverflow.com/questions/70854565

            QUESTION

            Problem with 'getInstanceExplanations' when using OWL-API and Pellet reasoner
            Asked 2021-Oct-16 at 13:36

            I trying to get reasoning explanations using getInstanceExplanations method:

            ...

            ANSWER

            Answered 2021-Oct-16 at 13:36

            Pellet 2.3.2 relies on OWLAPI 3.x.x and is not compatible with OWLAPI 4.x.x

            There is a build compatible with OWLAPI 4 available on Maven Central https://search.maven.org/search?q=v:2.4.0-ignazio1977

            There is also a much more recent build for OWLAPI 5, under the Openllet fork: https://search.maven.org/artifact/com.github.galigator.openllet/openllet-parent/2.6.4/pom

            (2.6.4 is compatible with Java 8, same as the versions you're currently using.)

            Source https://stackoverflow.com/questions/69582312

            QUESTION

            Inferencing the Sematincs of Equality (OWL 2 RL) using owlapi
            Asked 2021-May-16 at 14:02

            I'm trying to produce entailment for the rule in OWL 2 RL 'The Semantics of Equality' using owl-api. I already tried to follow: Why the inferences visualised in Protege differ from the exported inferred axioms

            ...

            ANSWER

            Answered 2021-May-16 at 14:02

            There is no inferred axiom generator that materialises the sameAs relations. You could write one yourself, based e.g., on InferredPropertyAssertionGenerator, or you can open an issue on the OWLAPI GitHub repo for the functionality to be added to the library.

            Source https://stackoverflow.com/questions/67546978

            QUESTION

            Using Hermit with ONT-API and SPARQL Query
            Asked 2021-Apr-27 at 15:15

            I am using the OWL-API to load and owl ontology with SWRL rules.

            I loaded an ontology with the following code:

            ...

            ANSWER

            Answered 2021-Apr-27 at 15:15

            Running inferences over the model was the missing step. Therefore, I needed to use the InferredOntologyGenerator class.

            One line of code speaks more than a thousand words:

            Source https://stackoverflow.com/questions/67272845

            QUESTION

            OWL-API rename does not remove old owl:Thing subclass in reasoner
            Asked 2020-Sep-06 at 08:21

            After renaming a class using OWL-API I'm not getting the list of subclasses I expect. I have created a small example to demonstrate.

            The ontology contains 2 classes: Dog and Frisbee. I then rename Dog to Cat. After the rename, the list of owl:Thing subclasses contains both Dog and Cat.

            Here is the rename-test.owl file:

            ...

            ANSWER

            Answered 2020-Sep-06 at 08:21

            Do not use the Structural reasoner. It is not meant for real world use and is likely keeping caches it shouldn't. Just write out the axioms in the ontology, there are few enough in this ontology for that to work.

            Source https://stackoverflow.com/questions/63758234

            QUESTION

            What are the differences between JENA and OWL-API?
            Asked 2020-Aug-06 at 08:26

            Could you tell me what are the main differences between JENA and OWL-API?

            ...

            ANSWER

            Answered 2020-Aug-06 at 08:26

            From the Apache Jena Website:

            Apache Jena (or Jena in short) is a free and open source Java framework for building semantic web and Linked Data applications. The framework is composed of different APIs interacting together to process RDF data.

            From OWL API Github:

            The OWL API is a Java API for creating, manipulating and serialising OWL Ontologies.

            Hence, Jena deals with RDF, while the OWL API deals with OWL.

            What does this mean?

            The short answer: Roughly you can see this as Jena dealing with data and the OWL API as dealing with structure. The parallel with relational databases is that the OWL API defines the schema and RDF the records.

            The longer answer: For good explanations of the differences between OWL and RDF have a look at the answers of this SO question.

            Source https://stackoverflow.com/questions/63249612

            QUESTION

            Semantic web and ontologist books?
            Asked 2020-Aug-06 at 04:12

            Would you recommend books on Semantic web, Protege ontologies, OWL-API? I like the Semantic Web for the working ontologist 2nd edition, and I want to know more in this topic.

            Thank you for your attention!

            ...

            ANSWER

            Answered 2020-Aug-06 at 04:12

            Semantic Web for the working ontologist which is, I think, the best intro textbook, has just had a new edition released: https://dl.acm.org/doi/book/10.1145/3382097. I recommend it.

            Source https://stackoverflow.com/questions/63261405

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install owl-api

            You can download it from GitHub.
            You can use owl-api like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the owl-api component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/phillord/owl-api.git

          • CLI

            gh repo clone phillord/owl-api

          • sshUrl

            git@github.com:phillord/owl-api.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Editor Libraries

            quill

            by quilljs

            marktext

            by marktext

            monaco-editor

            by microsoft

            CodeMirror

            by codemirror

            slate

            by ianstormtaylor

            Try Top Libraries by phillord

            mathjax-latex

            by phillordPHP

            horned-owl

            by phillordRust

            hermit-reasoner

            by phillordHTML

            hermit-maven

            by phillordJava

            protege-tawny

            by phillordJava