Utilities

Domains (Schemas, Vocabularies)

Nexus provides some schemas which make building provenance based knowledge graphs easier.

Nexus Core Schemas

nexus-schemaorg

SHACL version of a subset of schemas defined by schema.org that are commonly used in Blue Brain Nexus.

Source Code

nexus-prov

Data management oriented SHACL version of W3C PROV-O.

Source Code

Nexus domain specific components

Nexus BBP Data models

Data models that Blue Brain has developed in order to facilitate the integration of specific neuroscience data.

Source Code

Neuroshapes

A community effort to develop open SHACL schemas for FAIR (Findable, Accessible, Interoperable, Reproducible) neuroscience data.

Source Code

Nexus Tools

Nexus Python SDK

A Python wrapper for the Blue Brain Nexus REST API.

How to install the Nexus Python SDK

pip install nexus-sdk

Usage

import nexussdk as nexus

nexus.config.set_environment(DEPLOYMENT)
nexus.config.set_token(TOKEN)

nexus.permissions.fetch()

Source Code | Documentation

Nexus.js

The Javascript SDK provides many features to help you build web applications that integrate with Blue Brain Nexus.

Nexus JS logo

How to install Nexus.js

npm install @bbp/nexus-sdk

Typescript declarations

The SDK is written in Typescript, so type declarations for all operations are included in the package.

You can generate documentation using npm run documentation or with docker by running make documentation. More information can be found here.

Source Code

Documentation:

Other JavaScript Packages

React-Nexus

This package contains some utility components to easily integrate the Nexus SDK as React hooks or contexts.

Nexus-Link

Another utility packages was written to facilitate chained calling behavior, which can be used independently of Nexus.js for other projects.