-
Notifications
You must be signed in to change notification settings - Fork 5
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
Sketch of a fairgraph-based implementation #35
Conversation
fairgraph is a Python API for EBRAIN knowledge graph queries, developed by the EBRAINS community. https://fairgraph.readthedocs.io This is intended to replace a prior query implementations.
I tried the code above as a freshly registered user after exporting the token I got from
|
OK, this is unexpected, and very valuable information. The error is strange, but it may be related to a particular permission setup that my account has and your's doesn't. I will investigate. Thx! |
A second attempt worked. Maybe there should be some form of automatic retry? |
OK, thanks for the update. I'll keep this open and looking into some form of mitigation. |
fairgraph is a Python API for EBRAIN knowledge graph queries, developed by the EBRAINS community. https://fairgraph.readthedocs.io
This is intended to replace all prior query implementations.
Right now it is only usable in a Python session like so:
where
a8932c7e-063c-4131-ab96-996d843998e9
is the ID of a knowledge graphDataset
orDatasetVersion
in OpenMinds terminology.https://search.kg.ebrains.eu/instances/a8932c7e-063c-4131-ab96-996d843998e9
This will identify the underlying
Dataset
, and subsequently traverse all known versions.It will then generate a DataLad dataset with one commit per DatasetVersion. Given unchanged information on the side of the EBRAINS knowledge graph, this dataset generation is reproducible, meaning: running this code twice will generate the exact same dataset (down to the gitsha values).
Each commit will contain file pointers to the respective EBRAINS file repository, referring to all files in their particular version that are part of a particular
DatasetVersion
.The
version_innovation
is used as the commit message, and theversion_identifier
is assigned as a tag to each release commit.The screenshot shows the resulting dataset visualized with DataLad Gooey
ebrain-kg-core
#33