🔗 Locorda - RDF Resources

Locorda: Sync offline-first apps using your user's remote storage

Locorda — the rope that connects and weaves local data together.

Locorda is both a specification and Dart library for synchronizing RDF data to Solid Pods and other passive storage backends using Conflict-free Replicated Data Types (CRDTs). This page provides access to the RDF vocabularies and semantic mapping files that define the framework's merge contracts and synchronization behavior.

These resources are designed for offline-first, interoperable applications following semantic web standards.

📚 RDF Vocabularies

Custom RDF vocabularies defining CRDT algorithms, framework mechanics, indexing strategies, and synchronization protocols.

Usage: Reference these vocabularies by their HTTP URIs in your RDF data. For example, use algo:LWWRegister to specify Last-Writer-Wins merge behavior for a property.

🎯 Semantic Mappings

Mapping files defining CRDT merge contracts for specific application domains. These establish the semantic rules for how different types of data should merge during synchronization.

Integration: Applications import relevant mapping files to establish merge contracts. Start with core-v1.ttl and add domain-specific mappings as needed.

🏗️ Architecture Overview

The framework follows a 4-layer architecture:

  1. Data Resource Layer: Clean, standard RDF vocabularies
  2. Merge Contract Layer: Public CRDT rules via vocabularies
  3. Indexing Layer: Performance optimization with sharded indices
  4. Sync Strategy Layer: Client-side synchronization behaviors

Locorda acts as a synchronization "add-on" for passive storage backends while developers retain full control over local storage and querying.