Skip to content

Comments

Introduce n3#11

Merged
jsheunis merged 4 commits intomainfrom
n3
May 20, 2025
Merged

Introduce n3#11
jsheunis merged 4 commits intomainfrom
n3

Conversation

@jsheunis
Copy link
Collaborator

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

@jsheunis jsheunis merged commit be0108b into main May 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant