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

Management of external ontologies #520

Merged
merged 1 commit into from
Mar 19, 2024

Commits on Mar 19, 2024

  1. Introduce external ontology handling.

    With this PR external ontologies can be pulled and combined to create the KMS data.
    Every onology contains of a prefix, and three parts: prefix_entities.ttl, prefix_knowledge.ttl
    and prefix_shacl.ttl. Different ontologies can be pulled together with a make target:
    make ontology2kms ONTOLOGIES="base filter"
    would pull in base and filter ontologies and compile a joint kms structure.
    The PR provides:
    * Syncing of knowledge configmaps between debezium-bridge and semantic model
    * Added stakater/Reloader to restart debezium-bridge when new knowledge is deployed
    * Extended SPARQL parser to enable consistent inheritance of RDFS Types when creating SHACL constraints and rules
    * Tolerating of rdfs:subClassOf* path expression
    * Streamlining of Knowledge closure calculation across all tools and add explicit script to calculate
      knowledge closure (create_knowledge_closure.py)
    * Add explicit tool to execute SPARQL query (check_sparql_expression.py)
    * For the time being - drop the sh:ord based deterministic ordering of fields. It creates confusion but will be needed in future
      to allow forward compatibility. For the time being, deterministic ordering is achieved by lexical ordering by field names.
    
    Related EPIC: IndustryFusion#514
    Related User Story: IndustryFusion#515
    
    Signed-off-by: marcel <[email protected]>
    wagmarcel committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    ab5bc7c View commit details
    Browse the repository at this point in the history