Build local-first, secure and decentralized apps with NextGraph and Linked Data

Published: 04 Jul 2025, Last Modified: 04 Jul 2025SemDev 2025 SoftwaredemoEveryoneRevisionsBibTeXCC BY 4.0
Keywords: local-first, decentralized, e2ee, rdf, sparql, cryptographic capabilities, DID
TL;DR: Develop web applications based on NextGraph, that gives access to RDF and SPARQL locally in the client-side, a sync engine based on CRDT, and en end-to-end encrypted protocol.
Abstract: We would like to present the first version of the framework/SDK and how to develop web applications based on NextGraph, that gives access to RDF and SPARQL locally in the client-side. Interoperability is at the heart of NextGraph, and it is based on RDF and the concepts of the Semantic Web, with a twist: it uses DID scheme instead of HTTP, this allows a more decentralized approach, and also to deal with access control in such setting. With NextGraph, the user always remains in control of the locality, permissions and ownership of their data. The local-first feature is possible thanks to the use of a CRDT for RDF. Also released recently was the feature called "Social Queries" that lets end-users and developers query the data stored by other users in the social network, with SPARQL, and gather aggregated results locally, in a similar way to federated queries. As always with NextGraph, all the data is encrypted end-to-end, and it is local-first: it works offline or with intermittent connectivity. We are exploring the feasibility of Incremental View Maintenance for SPARQL with the OxiGraph engine. We also have an interest for homomorphic encryption and a secure multi-party SPARQL engine, but exploratory workd hasn't started yet. Those two last topics could be open for discussion between attendees.
Submission Type: Software demo
URL: https://git.nextgraph.org/NextGraph/nextgraph-rs
Submission Number: 10
Loading