Vocabularies

Shapes vocabulary

PREFIX tts: <http://w3id.org/tripletrail/shapes#>

Annotations on SHACL shapes for the parts of TripleTrail that read them: validation, the map, describe pages, search, OGC API Features, the REST and GraphQL APIs and the AI assistant.

Turtle: shapes.ttl. Reference: Server.

TermKindDescription
tts:ShapeSetClassA set of shapes a dataset is read and validated with.
tts:inSetProperty
tts:sourcePropertyWhere the set comes from: "generated", "local" or a repository URL.
tts:dataGenerationPropertyThe version of the data a generated set was made from.
tts:versionPropertyThe version of a dataset's own set, counted from 1 at each save.
tts:commitPropertyThe git commit a set pulled from a repository was read from: its full hash.
tts:packPropertyThe name of the shape pack installed on a dataset, between the generated set and its own set.
tts:packVersionPropertyThe version of the installed shape pack, as its publisher names it.
tts:refinesPropertytrue on a node shape of a higher layer: it changes the node shape of the same IRI below instead of replacing it. The settings it gives replace those below, its property shapes replace those below with the same path, and the rest of the shape below stays.
tts:instancesPropertyHow many instances of the target class the data had when the shape was generated.
tts:ReadersConceptScheme
tts:ReaderClassA part of TripleTrail that reads the shape set.
tts:Reader-ValidationReader
tts:Reader-MapReader
tts:Reader-DescribeReader
tts:Reader-OgcFeaturesReader
tts:Reader-RestApiReader
tts:Reader-GraphQLReader
tts:Reader-AiReader
tts:hiddenFromPropertyA reader that leaves the shape out.
tts:onlyForPropertyThe readers that read the shape; the others leave it out.
tts:ProfileClassA use case: the shapes shown and validated when it is active.
tts:inProfilePropertyA profile the node shape belongs to. A shape in no profile is in all; property shapes take their node shape's profiles.
tts:keyPropertyA short name for the shape in APIs (a collection, a field): unique among the node shapes of a set, and among the property shapes of a node shape. Also the name of a map view in the map's link.
tts:labelPathPropertyThe SHACL path from an instance to its label.
tts:searchablePropertyWhether search lists the instances of the target class.
tts:geometryPropertyA way to the instance's geometry: a node with sh:path (to the geometry literal), sh:order and the geometry types found.
tts:lineBetweenPropertyOn a geometry way, in place of sh:path: a list of two SHACL paths, each to a geometry literal. The way's geometry is the straight line from the first to the second, such as a section of line between its two operational points. Readers take it for the instances without a value on the first way with sh:path.
tts:geometryTypePropertyA WKT geometry type found at the end of the path, such as "POINT" or "LINESTRING".
tts:colorPropertyThe map colour of the instances, as #rrggbb.
tts:minZoomPropertyThe web map zoom level from which the map shows the instances.
tts:drawOrderPropertyWhere a map draws the instances among those of other classes of the same kind of geometry (areas, lines, points): higher on top. Without it, classes with more instances are drawn first, below the others.
tts:colorClassesPropertyA list of the classes a map colours a range facet's values in, low to high: each a node with tts:upTo (the highest value in it) and an optional rdfs:label, the last without tts:upTo for every higher value. Without it, a map makes classes from the values.
tts:colorByPropertyAn integer on a facet a map can colour by: the map's "Colour by" lists such facets first, lowest first, then the others in their order.
tts:selectPropertyOn a facet: a SPARQL group graph pattern (without its braces) that binds ?value to the facet's values of the feature $this, in place of its sh:path, for a value computed from the data (whether a track meets a requirement). It is written with full IRIs (no prefixes) and joined where $this is bound, so OPTIONAL keeps the features without a value; its other variables stay inside it. Only the map reads it: such a facet is no property in the OGC API, REST or GraphQL.
tts:MapViewClassA named lens on the map, picked above its layers: the classes it shows (tts:showsClass, the others hidden), the filters set when it opens (tts:filter), the facet it colours them by (tts:colorFacet) and the facets its filter panel lists first (tts:listsFacets). It has an tts:key (in the map's link), an rdfs:label, an rdfs:comment and an sh:order; sh:deactivated true leaves it out.
tts:listsFacetsPropertyOn a map view: the keys (tts:key) of the facets its filter panel lists first, in this order, as an RDF list. A key a collection has no values or range facet for is left out for it.
tts:showsClassPropertyA class a map view shows; the map hides the others while the view is on.
tts:filterPropertyA filter a map view sets when it opens: a node with the facet's tts:key and sh:in (a list of the values kept) or sh:minInclusive and sh:maxInclusive (a range facet's bounds). It filters each class the view shows that has a facet of that key.
tts:colorFacetPropertyThe tts:key of the facet a map view colours its classes by, for each class that has a facet of that key.
tts:upToPropertyThe highest value in a colour class (inclusive).
tts:facetPropertyHow the map and search filter on the property.
tts:FacetKindClass
tts:Facet-ValuesFacetKindPick among the values (a code list).
tts:Facet-RangeFacetKindA range of numbers or dates.
tts:Facet-TextFacetKindText the value contains.
tts:timePropertyWhat the property's dates or date-times say of the instance's time: when it holds (tts:Time-Instant), or when it begins (tts:Time-Start) or ends (tts:Time-End). The OGC API's datetime parameter filters on it.
tts:TimeRoleClass
tts:Time-InstantTimeRoleThe instance holds at this time.
tts:Time-StartTimeRoleThe instance holds from this time on; without a start it holds since always.
tts:Time-EndTimeRoleThe instance holds until this time; without an end it still holds.
tts:Group-AttributesPropertyGroup