HomeData ScienceRDF Knowledge Graph & SPARQL Pattern Explorer (2D)

RDF Knowledge Graph & SPARQL Pattern Explorer (2D)

Interactive 2D RDF knowledge graph: watch a force-directed subject-predicate-object triple graph settle into shape on a flat canvas, toggle RDFS subclass reasoning to see inferred triples appear as dashed edges, and run live SPARQL-style basic graph pattern queries that highlight matching triples. Drag to pan, scroll to zoom.

Data Science2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-ds-topic-72 ↗ Open standalone

The Semantic Web represents everything as subject-predicate-object triples, and this simulator renders a live one as a 2D force-directed graph: classes, individuals and values repel each other and are pulled together along predicate edges until the layout settles, exactly like a real knowledge-graph visualizer laid flat on a canvas. Flip on RDFS reasoning to watch the reasoner walk the subclass hierarchy and add inferred type edges no one asserted by hand, add random triples to grow the graph, tune the spring stiffness and particle flow speed to see the layout physics respond live, and build a basic-graph-pattern query from the Subject / Predicate / Object dropdowns — using ? as a SPARQL-style wildcard — to see exactly which triples in the store match, the same mechanism a real SPARQL endpoint uses over Linked Data such as DBpedia or Wikidata. Drag to pan the view and scroll to zoom.

⚙ Under the hood

Interactive 2D RDF knowledge graph: watch a force-directed subject-predicate-object triple graph settle into shape on a flat canvas, toggle RDFS subclass reasoning to see inferred triples appear as dashed edges, tune spring stiffness and particle flow speed, and run live SPARQL-style basic graph pattern queries that highlight matching triples. Drag to pan and scroll to zoom the graph.

semantic webrdfsparqlknowledge graphontologylinked data

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)