BlueBrain / nexus-forge

Building and Using Knowledge Graphs made easy
https://nexus-forge.readthedocs.io
GNU Lesser General Public License v3.0
38 stars 19 forks source link

Expose to_symbol, expand for URIs instead of going through the model's context to do it #335

Closed ssssarah closed 10 months ago

ssssarah commented 11 months ago

Currently I have to do: forge._model.context().expand(__) and forge._model.context().to_symbol(__)

crisely09 commented 11 months ago

Hmm the context is exposed, you can do forge.get_model_context()

ssssarah commented 10 months ago

Nice, I guess this solves it!