Introduce n3 #11

Merged
jsheunis merged 4 commits from n3 into main 2025-05-20 20:28:19 +00:00
jsheunis commented 2025-05-20 20:21:59 +00:00 (Migrated from github.com)

In an effort to improve performance, replace rdf-ext with n3: https://github.com/rdfjs/N3.js

IO remain the same, i.e. still uses https://www.npmjs.com/package/@rdfjs/fetch-lite to fetch ttl content and parse it into a quadstream. The ingestion changes, as does all other functionality previously dependent on rdf-ext.

Main changes include:

  • updates dependencies
  • using literal, namednode, blanknode, quad, etc from n3 datafactory
  • use n3 store instead of rdf.dataset
  • replace rdf.grapoi with store.getQuads(a,b,c,d)
  • no auto-calculation of serialized graphs anymore, to save time
  • updating tests
In an effort to improve performance, replace `rdf-ext` with `n3`: https://github.com/rdfjs/N3.js IO remain the same, i.e. still uses https://www.npmjs.com/package/@rdfjs/fetch-lite to fetch ttl content and parse it into a quadstream. The ingestion changes, as does all other functionality previously dependent on `rdf-ext`. Main changes include: - updates dependencies - using literal, namednode, blanknode, quad, etc from n3 datafactory - use n3 store instead of `rdf.dataset` - replace `rdf.grapoi` with `store.getQuads(a,b,c,d)` - no auto-calculation of serialized graphs anymore, to save time - updating tests
Sign in to join this conversation.
No description provided.