Skip to content

Views and charts over a query that names a service show that endpoint's data - #78

Merged
namedgraph merged 1 commit into
developfrom
docs/query-service-blocks
Oct 21, 2026
Merged

namedgraph merged 1 commit into
developfrom
docs/query-service-blocks

Conversation

@namedgraph

Copy link
Copy Markdown
Member

The query reference already says a query may name the SPARQL service it executes against (ldh:service), with the live Northwind example. It did not say what follows from it: a view or a chart runs the query it references, so one over such a query shows the external endpoint's data on the page.

  • reference/data-model/views.ttl: after the view example, a view runs its query wherever the query runs, so a view over a query naming an external endpoint lists that endpoint's resources.
  • reference/data-model/resources.ttl, Charts: the same for a chart.

Both files validated with riot, and their XHTML literals with xmllint. The generated docs/html/ is not touched, as in the other reference commits.

The behaviour is tested in AtomGraph/LinkedDataHub#464 (UI tests for query, view and chart blocks over a query that names its own service).

🤖 Generated with Claude Code

… names a service shows that endpoint's data

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@namedgraph
namedgraph merged commit c488d10 into develop Oct 21, 2026
2 checks passed
@namedgraph
namedgraph deleted the docs/query-service-blocks branch October 21, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant