Skip to main content

Updated versions of the Selventa Small and Large Corpus

Licenses

  • Code in this repository is licensed under the MIT License

  • Both the Selvanta Small Corpus and Selventa Large Corpus are distributed under the Creative Commons Attribution-Non-Commercial-ShareAlike 3.0 Unported License.

Installation

selventa_knowledge can be installed from PyPI with:

$ pip install selventa-knowledge

selventa_knowledge can be installed from GitHub with:

$ pip install git+https://github.com/cthoyt/selventa-knowledge.git

Usage

The combine graph can be loaded with:

>>> import selventa_knowledge
>>> graph = selventa_knowledge.get_graph()

If you need granularity, you can load each graph in a dictionary where all of the names of the files creating each graph are the keys and the values are also BEL graphs with:

>>> import selventa_knowledge
>>> graphs = selventa_knowledge.get_graphs()

The functions from each of the previous examples are simply exposing the bound functions from the BELRepository object, which can be accessed with:

>>> import selventa_knowledge
>>> repository = selventa_knowledge.repository

If you want to use this knowledge with INDRA, there’s a method:

>>> import selventa_knowledge
>>> statements = selventa_knowledge.repository.get_indra_statements()

More BEL Content

See A Listing of Publicly Available Content in the Biological Expression Language (BEL) on Charles Tapley Hoyt’s blog for more BEL content.

Metadata

Release files for selventa-knowledge 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for selventa-knowledge 1.1.2
File Size Uploaded
selventa_knowledge-1.1.2.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for selventa-knowledge 1.1.2
File Interpreter ABI Platform
selventa_knowledge-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.2 kB

Release files / selventa_knowledge-1.1.2.tar.gz

Download URL selventa_knowledge-1.1.2.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
187313742d38d5902e51249d39840ac3d8f1c7fab828d9f9445cc8e642f7a413
BLAKE2b-256 checksum
How to use checksums
2f2653d6511b78b2094767db75378b7d0f60f7b3bd20f71bd17786bb1f776233
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / selventa_knowledge-1.1.2-py3-none-any.whl

Download URL selventa_knowledge-1.1.2-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2de1fda83f7d6d7ad755add930cc7fb5d43522ecd1ab98db33daafe35af2fe32
BLAKE2b-256 checksum
How to use checksums
0ace33d08e7a3a5adf67ec8f95e39f339087ff354ac7940e455654203227e20a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page