Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions docs/reference/data-model/resources.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ ORDER BY ?categoryName''' .</pre>
<li>tabular <code>SELECT</code> results (<code>ldh:ResultSetChart</code>)</li>
<li>graph results of <code>DESCRIBE</code> and <code>CONSTRUCT</code> (<code>ldh:GraphChart</code>)</li>
</ul>
<p>A chart plots the results of its query wherever the query runs, so a chart over a query that names an external
<a href="#queries">service</a> with <code>ldh:service</code> plots that endpoint's data.</p>
<p>A chart resource is easily confused with the chart layout mode in <a href="../views/">views</a>. The layout mode renders
view results as a chart on the fly, while a chart resource additionally stores the chart type as well as the category and
series information: variable names in the case of tabular results, and property URIs in the case of graph results.</p>
Expand Down
3 changes: 3 additions & 0 deletions docs/reference/data-model/views.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
spin:query &lt;#select-categories-query&gt; ;
ac:mode &lt;https://w3id.org/atomgraph/client#GridMode&gt; .</pre>
<p class="exhibit-links">Source: <a href="https://github.com/AtomGraph/LinkedDataHub-Apps/blob/master/demo/northwind-traders/categories.ttl" target="_blank">categories.ttl</a> · Live: <a href="https://northwind-traders.demo.linkeddatahub.com/categories/" target="_blank">/categories/</a></p>
<p>The view runs its query wherever the query runs: against the dataspace's own SPARQL service, or against the
<a href="../resources/#queries">service the query names</a> with <code>ldh:service</code>. A view over a query that names an
external endpoint therefore lists that endpoint's resources on the page.</p>
<p>Views can be rendered in multiple layout modes: properties, list, grid, table, map, chart, and graph. They also show
the total number of results and allow result ordering by property. In the table mode, columns can be sorted by clicking
their headers; the sort order follows each column's datatype.</p>
Expand Down
Loading