Skip to content

Playground

Visualize any RDF/Turtle data instantly — no installation needed. Paste your TTL, optionally add SHACL shapes, and click Visualize.

Share via URL

You can link directly to a visualization by passing URL parameters:

https://ise-fizkarlsruhe.github.io/ontoink/playground/?data=URL_TO_TTL
Parameter Description
data URL to a Turtle file (also accepts ttl or source as aliases)
shape URL to a SHACL shape file (optional)
auto Set to false to load without auto-visualizing

Example:

https://ise-fizkarlsruhe.github.io/ontoink/playground/?data=https://raw.githubusercontent.com/ISE-FIZKarlsruhe/ontoink/main/demo/docs/shapes/reasoning-demo/shape-data.ttl&shape=https://raw.githubusercontent.com/ISE-FIZKarlsruhe/ontoink/main/demo/docs/shapes/reasoning-demo/shape.ttl

CORS

The TTL file must be served with CORS headers allowing cross-origin requests. GitHub raw files, GitLab raw files, and most ontology repositories support this.

How it works

The playground runs entirely in your browser. Your data is never uploaded to any server. The Turtle is parsed with a lightweight JavaScript parser and visualized with Cytoscape.js.

Limitations

  • No OWL reasoning — reasoning requires Python (HermiT via owlready2), which is only available when using the MkDocs plugin
  • Simplified SHACL — basic sh:minCount/sh:maxCount constraints are supported; advanced SHACL features require the full plugin
  • For production use with reasoning and full SHACL, install ontoink as a MkDocs plugin