Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ldes graphdb connector #65

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Ldes graphdb connector #65

wants to merge 8 commits into from

Conversation

D34DPlayer
Copy link

  • GraphDB connector
  • Generic version control
  • Updated readme

It works with SPARQL queries, so any other triples store will work with it with minor changes
Include @type and @language into the SPARQL query
Perform a recursive addition if we find an array
Now done properly, with settings to choose the field to use as "versionOf" and the one used to sort the versions
@vercel
Copy link

vercel bot commented Aug 16, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/demian-team/ldes2service-lerna/CGd5mfb9sESVGEyLzJNCSNEq5JLF
✅ Preview: Failed

[Deployment for dd0a966 failed]

@D34DPlayer D34DPlayer added the enhancement New feature or request label Aug 16, 2021
- Sending one update per member wasn't a good idea (thousands of requests, could be my pc but better fix that)
- A queue system to reduce the amount of requests
- Using an interval and events to flush the queue regularly
- Same issue wit versioning, now we clean all the extra versions for the full graph in an interval, which is way better than checking duplicates with every member
- Using `jsonld-streaming-parser` to convert the jsonld into rdfjs
- Using sparql js to make inserts from the rdfjs (so using a proper tool instead of parsing jsonld manually)
Main differences to the main one:
- the quads will have the element as their subject, instead of the version
- the `isVersionOf` field is replaced by a `hasVersion` (so we can always know what version is the one stored)
Setting added to create a Lucene index automatically,
this will allow for full text search on one field of the ldes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant