Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

owlgen: no class needed for terms defined on other vocabularies #1287

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on May 16, 2023

  1. fix(owlgen): no triple needed for imported terms

    It is not possible to inherit from terms from external vocabularies (for
    example, you cannot write "is_a: schema:Person"), since those terms are
    not available in the schema.
    
    One way to make them available in the schema is explicitly declaring
    them like this (for the above example with "schema:Person":
        Person:
          class_uri: schema:Person
    but it creates an unexpected class declaration in the OWL ontology
    saying that "schema:Person is an exactMatch of schema:Person".
    
    This patch gets rid of all those superfluous declarations.
    
    Signed-off-by: Silvano Cirujano Cuesta <silvano.cirujano-cuesta@siemens.com>
    Silvanoc committed May 16, 2023
    Configuration menu
    Copy the full SHA
    241ddc5 View commit details
    Browse the repository at this point in the history