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: 4 months ago
JSON representation
Component/application to visualize RDF Cubes in SPARQL endpoints
- Host: GitHub
- URL: https://github.com/zazuko/cube-viewer
- Owner: zazuko
- Created: 2021-04-20T07:58:35.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-22T09:46:05.000Z (over 3 years ago)
- Last Synced: 2025-12-19T18:50:23.515Z (6 months ago)
- Topics: dataset, graph, olap-cube, rdf, sparql, visualization
- Language: Vue
- Homepage: https://cube-viewer.zazuko.com
- Size: 6.63 MB
- Stars: 3
- Watchers: 5
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
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).
[](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.