Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add documentation for sh:in #965

Merged
merged 1 commit into from
Feb 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions app/docs/rdf-to-visualize.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,18 @@ called _Shared dimensions_, and their values will be fetched outside the cube.

ℹ️ GeoShape dimensions can be shown on a map as _shapes_

#### Values

The `sh:in` predicate on the dimension is used to attach what values are available
on the dimension. It is used by visualize as an optimization to list the values that
are available on the dimension. This list of possible values can be used for example
on dimension filters, or inside the legend.

- It is provided automatically by `cube-creator` if the number of distinct values is
inferior to `100`.
- If this property is not present, visualize dynamically loads all distinct values from
the dimension, which results in poorer performance than if the values are present.

#### Currencies

If the dimension is related to a currency (`?dimension a qudt:CurrencyUnit`), when the
Expand Down