Documentation

Arspec is a viewer and editor for RDF ontologies. These pages explain how to open a file, work with the built-in views, make views of your own, and let an AI assistant help. None of it requires programming, with one exception: the Styles page is for people who want to change how views are drawn, and it assumes some comfort with markup.

Try it first

The whole editor runs in a browser at run.arspec.app. The demo opens with a small file about a team already loaded and three views made for it — People, Projects, Who knows whom. Pick a tab, press Configure (the sliders at the top right), and you will see what a view is made of. Or open an ontology of your own, from your disk or by its URL; a link can carry the file: run.arspec.app/?f=www.w3.org/TR/rdf12-turtle/examples/example1.ttl opens with the W3C's first Turtle example already loaded.

A few words you will meet

WordWhat it means in Arspec
SourceA file you have opened: an ontology, a vocabulary, any RDF document. Opened from disk or from a URL.
TopicA group of sources that belong together, plus the views that apply to them. Saved as a small .arspec file.
PerspectiveA view: which items to list, what to show about each, and how things are nested. Each tab above a file is one perspective.
LensA perspective about a single item. Click an item and its lenses show what the file says about it.
Service perspectiveA lens that belongs to one perspective and runs only inside it. Not listed with the file's views; edited through the view that owns it.
TermAnything that can stand in a statement: a named thing, a relation, or a value such as text or a number.
StylesheetRules for how a view is drawn: how it looks, not what it does. The app ships with one that covers most needs; power users can add their own.

For power users: the vocabularies

Perspectives and stylesheets are themselves RDF documents, so they can be read, written and version-controlled like any other. They use two small vocabularies, each published as an ontology at its own address:

PrefixIRIWhat it describes
ars:https://arspec.org/ars/spec/1/schema#Perspectives: their lists, conditions, what they display, and their defaults.
av:https://arspec.org/ars/spec/1/schema/view#Stylesheets: styles, what they apply to, layout and content.

Both ontologies ship inside the app. Preferences → Profile → Your perspectives and styles can open them, and the Prefixes tab of any file lists every prefix the file uses.