Comments (2)
Use the context file here: https://raw.githubusercontent.com/biolink/biolink-model/master/context.jsonld
m = curie_util.read_remote_jsonld_context("https://raw.githubusercontent.com/biolink/biolink-model/master/context.jsonld")
...
shortform = contract_uri(uri, [m])
this will contract to either a CURIE or a short-form, e.g biolink class name or property name
from kgx.
We do this now via kgx.prefix_manager
, which uses JSON-LD context from BioLink Model repository, but would be good to keep this issue open until all the transformers implement this manager for contracting URIs and expanding CURIEs.
from kgx.
Related Issues (20)
- migrate KGX to poetry HOT 1
- remove knowledge source parameters from node files (instead rely on provided_by for nodes) HOT 4
- TSV->TSV transform ignores transform-level metadata about knowledge sources
- Add ability to "turn off" KGX's prefix mapping functionality
- KGX edge merge does not take into account enough attributes on the edge HOT 1
- add documentation to the kgx merge doc that shows when to use cat-merge as well as a set of steps to use merge config
- Dynamic configuration of Biolink Model semantics in KGX validation
- Knowledge Graph Exchange (KGE) Archive Download
- neo_sink.py constraints not created in neo4j v5+
- Do the KGX serialization formats support representation of Biolink qualifiers? HOT 2
- Error occurs when specifying a version starting with "v" in get_biolink_model_schema method HOT 1
- remove pinning of docutils==0.16.0 so that downstream users can also use sphinx
- Option to add un-prefixed labels in neo4j labels
- Automate mapping of infores in primary_knowledge_source HOT 1
- Fetching biolink-model for validate is confused by `v` in biolink version HOT 1
- run kgx validate from inside the project - need scripts defined in pyproject.toml HOT 2
- kgx validate `-o` option writes an empty file, output goes to stderr rather than stdout
- log_error in validation scales poorly HOT 1
- add SQL sink
- When translating kgx tsvs to ntriples, type assertions are wrong
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kgx.