Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Instances

The Instances tab, next to Graph, draws the data of your project rather than its schema: each instance is a circle, and each property linking two instances is an arrow from subject to object.

Picking concepts

Nothing is drawn until you pick at least one concept.

  • With nothing picked, the row of suggestions lists every concept of the project.
  • Once you pick one, the suggestions narrow to the concepts a property links to what you picked, in either direction (the concept is the property’s domain or its range). Each suggestion names the property, for example Dog via owns.
  • Click a suggestion to add it. Click × on a chip to remove it, or Clear to start over. Clear also drops the picked properties.
  • On a phone the chips fold into an N selected ▾ button: tap it to show them over the graph, and Done (or Escape) to fold them again.

Picking properties

Once a concept is picked, a Properties: row lists the properties that have a picked concept as domain or range. Each one says which side the picked concept is on: domain, range, or both. The other end of the property does not need to be picked.

  • The properties drawn between the picked concepts (those with at least one link between two drawn instances, a link from a concept to itself included) show as property chips, as if you had picked them. At first every link is shown.
  • Click × on such a chip to hide its links. The property goes back to the Properties: row; click it there to show its links again. Hiding all of them leaves the instances without links.
  • Pick another property from the row to add its links too. The instances drawn do not change: they still come from the picked concepts.
  • Removing a concept also drops the picked and hidden properties that no picked concept offers any more. Clear resets them all.

What the data holds

Once a concept is picked, the suggestions are checked against the live data (the same store the arrows are drawn from), counted over all the picked concepts together:

  • A count badge on a concept is how many of its instances are linked to an instance of a picked concept, in either direction. On a property, it is how many triples use it with a picked instance as subject or object; hover the badge for the split (out / in).
  • A dimmed suggestion is one the schema allows but the data has none of yet. You can still pick it.
  • A data only tag marks a concept or property the data links to what you picked although the schema does not offer it, for example a property with no declared domain or range on that concept. It has no via or side hint. A picked data-only property narrows links like any other.

While the counts load, or if they cannot be had (a note then says why), the suggestions show as plain schema suggestions. With nothing picked there are no counts: every concept is listed as before.

For what a domain and range are, see the language documentation.

Each concept keeps its colour. The circles of its instances, its chip and its suggestion dot all use it.

What is drawn

  • Instances of the picked concepts in the live package (your saved sources, with RDFS reasoning), labelled with their rdfs:label, else the last part of their IRI. Hover a circle for a card with its IRI, concept and literal values (up to 20, long values shortened; labels are not repeated). Click a circle to pin its card; see Why does a fact hold? for its Why? buttons.
  • Links only between two drawn instances, through the picked properties if any. Each arrow is labelled with its property name; arrows between the same two instances spread their labels apart. Hover an arrow for the full link.
  • At most 200 instances. Past that, a note says the view is truncated.
  • With a mouse over the graph, it zooms in so circles keep the same size whatever the graph’s size; the view follows the mouse, reaching the graph’s left edge at the panel’s left edge and its right edge at the right (same top and bottom). Move the mouse out to see the whole graph again. Dragging a circle keeps the zoom where it was. On touch screens the whole graph stays shown.
  • Two links of the same property in opposite directions between two instances are drawn as one double-headed arrow.
  • When the schema declares two properties inverse of one another (owl:inverseOf), a link and its inverse between the same two instances are drawn as one double-headed link, labelled with one of the two properties. Hover it to see both triples.
  • For a transitive property (owl:TransitiveProperty), a link implied by other links through drawn instances is hidden: only the transitive reduction over the drawn instances is shown. If the middle instance is not drawn, the link stays. Links on a cycle all stay.

Tick Show all links (next to Clear, once a concept is picked) to turn off the last two rules and draw every link: inverse pairs as two links, transitive shortcuts included. It is a debugging aid, off by default and remembered by your browser.

Hierarchy

When a drawn link uses a property whose domain and range are the same concept, or one is a subconcept of the other (partOf: Part -> Part, ancestorOf: Person -> Person), a Hierarchy picker shows above the graph. It lists those properties, transitive ones first. Pick one to draw it as a tree:

  • Roots (instances with no incoming link of that property) are drawn biggest. Each level down, circles, names and that property’s links get a quarter smaller. Other links keep their usual length.
  • An instance’s level is its longest path from a root, so the two branches of a diamond agree. Instances on a cycle share one level. Instances with no link of that property keep their usual size.
  • The ⇅ button flips the direction: roots at the subject end of the links (ancestorOf), or at the object end (partOf).
  • Circles stop shrinking at 6 px and names at 9 px. A circle at that floor shows its name only in its hover card.
  • none (the default) draws the graph as usual. The pick is remembered per project by your browser. If the property is no longer offered, the graph is drawn with none.

The tab refreshes on every save while it is open. When the project does not compile, it says so instead of drawing anything. The Problems panel tells you why.