---
# System prepended metadata

title: RDF Scratchpad

---

# RDF Scratchpad

Inspired (but not the same) by [Jupyter Notebook](https://jupyter.org/), but for RDF. Graph is the focus, not data-science.

**Goal**: Combine what we (partially) have into a product that enables people to prototype (and learn) with RDF.

**Target-Audience**: Us (think Ericsson-prototyping demo from Adrian), mid-term devs @ customers/companies & students. 

**Challenge**: Figure out good UX when more components are used at the same time.

## Minimal Setup

* [Turtle Editor](https://github.com/zazuko/rdfjs-elements/)
    *  Initially the only place where one can edit RDF
    *  Useful for creating triples manually
* [Ontodia](https://github.com/zazuko/ontodia-fork)
    * Linked to the Turtle editor
    * Easy way to visualize the graph
    * Replacement for dot-based static plots
    * Should be able to handle updates in the Turtle-Editor

* "Backend"
    * Ideally runs 100% in the browser, static file hosting
    * RDF/JS based data structures
    * Maybe [Comunica](https://comunica.dev/) on top of it
        * Supports SPARQL querying in JavaScript
        * Can provide a SPARQL endpoint (only server-side?)
        * Might be a way to dynamically plug Ontodia?
    * 1.0 Version: Persist in local storage (browser)
    
## Shape-Extension

* [Endpoint-Explorer](https://github.com/zazuko/endpoint-explorer/) based browsing
    * Currently requires SPARQL for SHACL generation
    * Via Comunica? Seems to support CONSTRUCT queries
* SHACL Form Generator (Link Thomas)?
* SHACL-Playground?

## SPARQL

* YASGUI
* SPARQL in browser
* Comunica based

## XRM

* XRM based CSV mapper in browser
* Data available like manually curated data

## Store & Load

* Persist Notebook in external SPARQL endpoint
* Load Notebook from external SPARQL endpoint
* Add more SPARQL endpoints to Ontodia (Demo Bart)
* Load data from the web

## RDF/JS

* Support RDF/JS based programming
* RDF-Environmet/Clownface based

# ...

* I'm sure we will come up with additional ideas

