BlueBrain / BlueBrain/nexus

Advanced Plugin - improve and expand ability to view resources in all supported formats

Open
#3,789 0 comments 0 reactions 0 assignees View on GitHub
enhancement fusion fusion-admin
Dominant language
Scala
Stars
301
Forks
76
PR merge metrics
No merged PRs in 30d

Description

## Description
In Delta 1.8.x, it is now possible to get the original JSON payload the user submitted, decorated with the Nexus metadata. Fusion should give this option in the JSON-LD viewer.
Furthermore, the current state of the Advanced plugin creates confusion with users and we would like to improve on it.

An initial proposal has been drafted: https://docs.google.com/presentation/d/1SbFXzlxWhlYloIGZnxYEeYekPhK1RfNYBErWGG0VLgE/ (BBP only)

Proposed new payload representation:
- `Original`
- Definition: Original payload submitted by the user.
- Delta URL: `https:///nexus/v1/resources///_//source?rev=`
- `Original + Nexus Metadata`
- Definition: Original payload submitted by the user augmented with Nexus Metadata.
- Delta URL: `https:///nexus/v1/resources///_//source?annotate=true&rev=`
- `JSON-LD Compacted`
- Definition: Compacted JSON-LD, all keys and Ids are compacted using the provided context.
- Delta URL: `https:///nexus/v1/resources///_//source?format=compacted&rev=`
- `JSON-LD Expanded`
- Definition: Expanded JSON-LD, all keys and Ids become full URI using the provided context.
- Delta URL: `https:///nexus/v1/resources///_//source?format=expanded&rev=`
- N-Triples
- Definition: Text based serialisation of RDF as a list of Triples.
- Delta URL: `https:///nexus/v1/resources///_//source?rev=`
- HTTP HEADER: 'accept: application/n-triples'
- N-Quads
- Definition: Text based serialisation of RDF as a list of Quads.
- Delta URL: `https:///nexus/v1/resources///_//source?rev=`
- HTTP HEADER: 'accept: application/n-quads'
- DOT
- Definition: Graph representation of the RDF graph for this resource. Use GraphViz to render.
- Delta URL: `https:///nexus/v1/resources///_//source?rev=`
- HTTP HEADER: 'accept: text/vnd.graphviz'

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.