Repository navigation
Add rhea and EC curie prefixes to neo4j2owl config - #20
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The dumps pipeline logs thousands of lines like:
A namespace does not have a legal namespace ... http://rdf.rhea-db.org/70411
Adding NS: http://rdf.rhea-db.org/70411 to ns2287
Rhea reaction IRIs (http://rdf.rhea-db.org/NNNNN) and UniProt enzyme IRIs
(http://purl.uniprot.org/enzyme/N.N.N.N) end in a bare number, so neo4j2owl
cannot derive a namespace and mints a throwaway nsNNNN prefix for every IRI
(ns2287 to ns2505 in the 5-6 Oct run).
This adds two curie_map entries:
rhea: http://rdf.rhea-db.org/
EC: http://purl.uniprot.org/enzyme/
Effects:
depending on processing order (ns2287:http___rdf_rhea_db_org_70411).
Note: this changes short_form and curie values for Rhea/EC nodes in the KB.
Nothing in this repo keys on the old values, but worth a glance before the
next load. The config is fetched from virtualflybrain.org/config/, so the file
needs publishing there for dumps to pick it up.
Not covered here: the "starts with a digit" messages (neo4j2owl change, held
back) and the mangled http://purl.oboInOwllibrary.org/oboInOwl/uberon/core#
namespace, which looks like an upstream data issue.