An open API service indexing awesome lists of open source software.

https://github.com/zazuko/cube-viewer

Component/application to visualize RDF Cubes in SPARQL endpoints
https://github.com/zazuko/cube-viewer

dataset graph olap-cube rdf sparql visualization

Last synced: 2 months ago
JSON representation

Component/application to visualize RDF Cubes in SPARQL endpoints

Awesome Lists containing this project

README

        

# cube-viewer

Cube Viewer is both an **app** and a **reusable component** to visualize data cubes based on the [rdf-cube-schema](https://github.com/zazuko/rdf-cube-schema).

A demo of the app is deployed at [cube-viewer.zazuko.com](https://cube-viewer.zazuko.com).

[![RDF Cube Viewer Demo](https://user-images.githubusercontent.com/583021/153154115-efce93de-fedb-4e07-aeb5-34ba1a77b3d0.png)](https://user-images.githubusercontent.com/583021/153151322-c0f91b82-2e90-4391-a79b-e51ed4e25cb3.mp4 "RDF Cube Viewer Demo")

## Link to a specific cube

It is possible to create a link to view a specific cube:
`https://cube-viewer.zazuko.com?endpointUrl=&cube=`

The following query params are supported:
- `endpointUrl` (mandatory): URL of the SPARQL endpoint
- `cube`: URI of the cube
- `sourceGraph`: URI of the graph
- `user`: username to connect to the endpoint
- `password`: password to connect to the endpoint (it's probably not a good idea to share links that contain passwords...)

## Use the component

TODO

## Development

Setup project:

```sh
git clone https://github.com/zazuko/cube-viewer.git
cd cube-viewer
npm install
```

Start development server:

```sh
npm run serve
```

Run tests:

```sh
npm run test:unit
npm run lint
```

Compile app for production:

```sh
npm run build
```

Compile component app for production:

```sh
npm run build-wc
```

A new version of the app will be deployed on each commit on the `main` branch.