Publishing to TriplyDB¶
Before you publish¶
Ensure:
- You are signed in with an account that has the
lde-authorrole โ see Signing in. Without it the Publish button is locked, with Sign in to publish or You need permission to publish beside it - The service identifier is filled in (it is used to construct the graph IRI)
- The Validate button shows no errors
- The CPRMV version selector (
0.4.1/0.3.2) is set to the version your consumer expects โ it drives the published Turtle just as it drives the preview and download (v1.10.5). See CPRMV vocabulary version.
Publishing¶
- Click the Publish button in the bottom-right of the application (purple).
- Review the Pre-publish SHACL validation panel at the top of the dialog. It validates the Turtle that will actually be published against the CPRMV 0.4.1 / CPSV-AP 3.2.0 / RONL shapes. This is advisory โ a non-conformant result (or an unreachable validation backend, shown in amber) does not stop you from publishing. Click Validate now to re-run it.
- Check the Dataset Name: the dataset to publish into,
DMN-discoveryunless you chose another before. A name is 1 to 40 letters, digits and hyphens. There is nothing else to fill in โ the backend holds the TriplyDB instance, the account and the token. - Optionally click Test Connection to check, through the backend, that the dataset exists.
- Click Publish to TriplyDB.
Progress tracking¶
The dialog lists three steps:
- Validating form
- Generating TTL
- Publishing to TriplyDB
The editor validates the form and generates the Turtle itself. The third step is one call to the backend, which uploads the Turtle and any logos and syncs the dataset's service. The step under way is shown in bold with a filled dot, finished steps get a tick, and steps still to come an open circle.
On success the dialog says Published successfully! and closes after two seconds. A green message under the page title gives the dataset's URL and disappears after ten seconds.
If the Turtle reached TriplyDB but something around it did not, the dialog ends in an orange Published with warning that names each part: Service update failed: with the reason when the dataset's service could not be synced, and Logo not uploaded: with the file name for each logo the backend could not upload. If the backend answered but its answer could not be read โ a proxy's empty or HTML reply instead of JSON โ the warning says The backend's answer could not be read, so the service sync and logos are unconfirmed; check the dataset in TriplyDB, and the message under the page title ends in View at: TriplyDB instead of the dataset's URL (v2026.11.3). It closes after three seconds, and the message under the page title says the same. The data is in TriplyDB, so publishing again would not help: only the dataset's SPARQL service may lag behind it, or a logo be missing.
Error handling¶
Errors are displayed inside the dialog with details. The dialog closes after five seconds and an inline red message appears under the page title. Common causes:
- Sign in as an author to publish. โ the session has run out, or the account lacks
lde-author. - A dataset that does not exist in the publishing account. Test Connection says so before you publish: Dataset not found. Please check the dataset name.
- Publishing is not configured on this backend โ the backend has no TriplyDB account set.
- Network error: Could not connect to backend.
Who can publish¶
You publish as yourself. The editor sends your sign-in token, never a TriplyDB token: the Linked Data Explorer backend holds the TriplyDB account and token, accepts a publish only from an account with the lde-author role, and writes a log line for every attempt โ who, which organisation and service, which graph and dataset, and the outcome.
The only TriplyDB setting the browser keeps is the dataset name. Versions before v2026.11.1 stored a base URL, an account and an API token in localStorage; the token is removed the first time the current version loads.
The role says that you may publish, not on whose behalf: an author can publish a description for any organisation into any dataset of the backend's TriplyDB account.
Per-service graphs¶
Each service is published to its own stable named graph (โฆ/graphs/{org-local}/{service-id}). Republishing the same service overwrites that graph, so it always holds the latest version โ no auto-numbered duplicates accumulate. Different services live in separate graphs within the same dataset, and the backend's unified SPARQL endpoint reflects the current state across all of them.