Description
Javascript RDF library for browsers and Node.js.
# Reads and writes RDF/XML, Turtle and N3; Reads RDFa and JSON-LD
# Read/Write Linked Data client, using WebDav or SPARQL/Update
# Real-Time Collaborative editing with web sockets and PATCHes
# Local API for querying a store
# Compatible with RDFJS task force spec
# SPARQL queries (not full SPARQL - just graph match and optional)
# Smushing of nodes from owl:sameAs, and owl:{f,inverseF}unctionProperty
# Tracks provenance of triples keeps metadata (in RDF) from HTTP accesses
rdflib.js alternatives and similar libraries
Based on the "NodeJS" category.
Alternatively, view rdflib.js alternatives based on common mentions on social networks and blogs.
-
Crawlee
Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation. -
Gluon
DISCONTINUED. A new framework for creating desktop apps from websites, using system installed browsers and NodeJS -
pwa-asset-generator
Automates PWA asset generation and image declaration. Automatically generates icon and splash screen images, favicons and mstile images. Updates manifest.json and index.html files with the generated images according to Web App Manifest specs and Apple Human Interface guidelines. -
teachcode
A tool to develop and improve a student’s programming skills by introducing the earliest lessons of coding. -
Stylify
💎 Monorepository for Stylify packages. Stylify uses CSS-like selectors to generate Extremely optimized utility-first CSS dynamically based on what you write 💎. -
Autometrics
Easily add metrics to your system – and actually understand them using automatically customized Prometheus queries -
DIOD
A very opinionated inversion of control (IoC) container and dependency injector for Typescript, Node.js or browser apps. -
Brainyduck
🐥 A micro "no-backend" framework 🤯 Quickly build powerful BaaS using only your graphql schemas -
jirax
:sunglasses: :computer: Simple and flexible CLI Tool for your daily JIRA activity (supported on all OSes) -
github-star-search
A CLI that search your github starred repositories offline through README , description and other fields. -
zeit
Clock and task scheduler for node.js applications, providing extensive control of time and callback scheduling in prod and test code -
chef-express
Command Line Interface Static Files Server written in TypeScript for Single Page Applications serving in Node with Express -
chef-socket
Command Line Interface Static Files Server written in TypeScript for Single Page Applications serving in Node with Socket.IO -
Be notified of new signups in your app using Firebase Authentication and Google Chat
0.1 10.0 rdflib.js VS Be notified of new signups in your app using Firebase Authentication and Google ChatBe notified of new signups in your app directly in Google Chat
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of rdflib.js or a related project?
README
rdflib.js
Javascript RDF library for browsers and Node.js.
- Reads and writes RDF/XML, Turtle and N3; Reads RDFa and JSON-LD
- Read/Write Linked Data client, using WebDav or SPARQL/Update
- Real-Time Collaborative editing with web sockets and PATCHes
- Local API for querying a store
- Compatible with RDFJS task force spec
- SPARQL queries (not full SPARQL - just graph match and optional)
- Smushing of nodes from
owl:sameAs
, andowl:{f,inverseF}unctionProperty
- Tracks provenance of triples keeps metadata (in RDF) from HTTP accesses
Documentation
See:
- The API documentation is partial but useful
- Tutorial: Using rdflib in a Solid web app
- Tutorial: Using rdflib.js
- Tutorial: Using Turtle
- Using authenticated & alternate fetch methods
- Block diagram: rdflib modules
- Block diagram: The Fetcher
- Block diagram: The Fetcher - handling retries
for more information.
Install
Browser (using a bundler like Webpack)
npm install rdflib
Browser (generating a <script>
file to include)
git clone [email protected]:linkeddata/rdflib.js.git;
cd rdflib.js;
npm install;
Generate the dist directory
npm run build:browser
Node.js
Make sure you have Node.js and Node Package Manager (npm) installed.
npm install --save rdflib
Contribute
Subdirectories
dist
: Where the bundled libraries are built. Runnpm run build
to generate them.test
: Tests are here.lib
: Transpiled, non-bundled library is built here when the library is published to npm.
Dependencies
- XMLHTTPRequest (Node.js version)
Thanks
Thanks to the many contributors who have been involved along the way. LinkedData team & TimBL
LICENSE
MIT
*Note that all licence references and agreements mentioned in the rdflib.js README section above
are relevant to that project's source code only.