microsoft /Ontology-Playground

Free, open-source web app for learning about ontologies and Microsoft Fabric IQ. Explore a catalogue of pre-built ontologies, design your own visually, export as RDF/XML, and share interactive diagrams. Zero backend, fully static.

★ 3,002⑂ 392👁 25▤ 0
TypeScriptCreated 2026-02-17
+0
Daily
+0
Weekly
+134
Monthly
3,002
stars
392
forks
25
watchers
–
prs
–
issues
0
releases

README

Ontology Playground (Preview) ☕

English · 简体中文 · 日本語

 Note: This project was developed with AI-assisted coding.

Try it live &x2192; microsoft.github.io/Ontology-Playground



A free, open-source web application for learning about ontologies and
Microsoft Fabric IQ. Explore pre-built ontologies, design your own in a
visual editor, export as RDF/XML, and share interactive diagrams — all from a
fully static site with zero backend dependencies.

!Microsoft Fabric
!React
!TypeScript
!License

 Features

Text and icons use theme-aware foreground colors, including yellow accents in
the welcome, help, data-source, and quest panels. Automated contrast checks
cover the supported theme palettes.

 Interactive Graph Exploration

Cytoscape.js-powered graph that renders any ontology as an interactive
node-and-edge diagram. Pan, zoom, click nodes to inspect properties, and use
the live search bar to filter entities and relationships.
The graph has an accessible text summary naming the ontology and its entity
and relationship totals; semantic overviews also identify the visible counts.
Zoom, fit, reset, and PNG download controls have explicit accessible names,
while the legend and semantic-view controls remain independently accessible.
This summary does not provide keyboard navigation of canvas nodes.

 Ontology Catalogue

A curated library of official and community-contributed ontologies spanning six
domains (Retail, E-Commerce, Healthcare, Finance, Manufacturing, Education).
Browse by category, search by name or tags, load any ontology with one click,
and inspect or download its exact reviewed RDF source.
Catalogue cards preserve and display available license, upstream source, and
version attribution for external standards and adapted community entries. The
gallery downloads a lightweight metadata index; each versioned graph payload
and original source is published separately at an immutable,
content-addressed URL and verified by SHA-256 when requested. Original files
remain byte-for-byte intact, including source-only SHACL rules and unsupported
triples. The graph is a visual projection; opening a catalogue entry in the
Designer carries the complete verified source with it. Every ontology has a
shareable deep link
(//catalogue/official/cosmic-coffee).

 Visual Ontology Designer

A full-screen, split-pane editor for creating ontologies from scratch or
editing existing ones. Add entity types with icons, colors, and typed
properties; define relationships with cardinalities; see a live graph preview
that updates as you work, including reconnecting edges when a relationship's
From or To entity changes without repositioning existing nodes.
Includes undo/redo (50 levels), real-time validation,
and export to RDF/XML or JSON. Source-backed RDF uses a bounded editing mode:
only unambiguous existing labels, comments, and direct named-class
rdfs:subClassOf edges can be changed. Unsupported controls stay read-only,
and undo/redo updates both the graph projection and RDF

Snapshot: 2026-11-04T14:00:00Z · Data license Apache-2.0 · JSON