Skip to main content

Overview

Collate uses RDF (Resource Description Framework) to build a knowledge graph of your metadata. This enables semantic search, SPARQL (SPARQL Protocol and RDF Query Language) queries, and JSON-LD representations of your data assets.

What RDF Indexing Enables

RDF indexing extends your metadata catalog with graph capabilities, making it possible to query and explore data relationships beyond simple search.
  • Semantic search: Find entities by meaning. Collate first matches your query against entity embeddings (vector similarity), then enriches and re-ranks the results using relationships and inference from the knowledge graph. This is separate from the hybrid keyword and vector ranking used in standard search. See Hybrid Search Weights.
  • Knowledge graph: Explore connections between entities across your data catalog.
  • SPARQL queries: Run your own graph queries directly against your metadata. Unlike semantic search, SPARQL traverses the graph explicitly and doesn’t use embeddings.
  • JSON-LD serialization: Export any entity in standard linked data formats (JSON-LD, Turtle, RDF/XML, N-Triples).
  • Ontology support: Metadata is modeled against the OpenMetadata OWL ontology.

How It Works

RDF indexing runs as a background application alongside your Collate deployment. Collate uses Apache Jena Fuseki as the underlying triple store. When RDF is enabled:
  • New and updated entities are automatically indexed to the triple store.
  • Hard-deleted entities are removed from the triple store.
  • Existing entities can be reindexed on demand via the RDF Index App.

Storage Maintenance

Starting in 2.0.8, scheduled maintenance and low-space protection compact the Fuseki store before its volume fills. During compaction, RDF writes pause safely and RDF write requests receive a maintenance response. Reads and the relational metadata catalog remain available. Storage status reports whether maintenance is active and how much free space remains. Keep the configured free-space reserve large enough for compaction to finish, and alert on the Fuseki persistent volume. If low-space maintenance starts repeatedly, expand the volume instead of lowering the reserve until the store has no working space.

Available API Endpoints

Use these endpoints to check RDF status, retrieve entities in linked data formats, or run custom graph queries. Once RDF is enabled, these endpoints are available on your Collate instance:

Supported RDF Formats

The default format is JSON-LD. Pass ?format= to the entity endpoint to select a different serialization:

Installation

  1. Select the Profile icon and navigate to Settings > Applications.
  2. Click Add Apps and select the RDF Knowledge Graph Indexing application.
  3. Click Install.
  4. Configure the following options and click Save:
    • Entities — Select which entity types to index. Leave blank to index all supported entities.
    • Recreate RDF Store — When enabled, drops and rebuilds the RDF store before indexing. Default: enabled.
    • Batch Size — Maximum number of entities processed in a single batch. Default: 100.
    • Number of Reader Threads: Number of threads that load entities to index. Writes always go through a single writer, because Fuseki accepts one write transaction at a time. Default: 4 (range: 1–10).
    • Blue/Green Rebuild: Builds the rebuild into an idle dataset and switches to it only after the run succeeds, so queries keep seeing the previous graph instead of a partially rebuilt one. It needs roughly twice the dataset size on disk and applies only when Recreate RDF Store is enabled. Default: disabled.
    • Minimum Success Ratio: Fraction of records that must index successfully before a blue/green rebuild becomes the served dataset. Below this value, the previous dataset keeps serving and Collate marks the run as failed. Default: 0.95 (range: 0–1).
    • Relationship Isolation Failure Limit: Maximum number of failed per-source writes while Collate isolates a failed relationship batch. After the limit, Collate records the remaining sources as failures. Successful writes don’t use the limit, and 0 disables per-source isolation. Default: 3.
  5. Set a schedule and click Submit. The default schedule runs every Saturday at midnight.

Manage Application

After installation, open the application from Settings > Applications > RDF Knowledge Graph Indexing.

Schedule

The Schedule tab shows the current schedule type and interval. Click Edit to update the schedule, or click Run now to trigger an immediate run.

Recent Runs

Each row in the run history shows the run time, run type, who triggered an on-demand run, duration, and status. Click Logs to view the full run log, or Config to see the configuration used for that run.

Run Behavior

  • One run at a time: A reindex runs on one server. If a second run starts while another holds the lock, such as a scheduled run during an on-demand run, the second run ends as Stopped with a message that names the run holding the lock.
  • Interrupted runs: If the server running a reindex stops, Collate marks the run as failed with a message that names the server. This happens at the next server start, or about six minutes after the lock stops renewing if another server is still running.
  • Partial rebuilds: A rebuild without Blue/Green Rebuild that stops midway leaves the graph partial. GET /api/v1/rdf/status reports DEGRADED until a full rebuild completes. An interrupted blue/green run leaves the previous graph serving.

Disable or Uninstall

Select the ⋮ icon in the top-right corner of the application page:
  • Disable — Pauses the application without removing it. The app stops running on schedule but retains its configuration.
  • Uninstall — Removes the application from Collate entirely.