-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
I've stared with PouchDB for storage--because it syncs!
However, it doesn't do graphy stuff...
I then remember @tilgovi's mention of hexastores, and did some digging which resulted in finding these slides: http://nodejsconfit.levelgraph.io/ This slide in particular fits the bill: http://nodejsconfit.levelgraph.io/#31
However, I still want things stored in named graphs (the original JSON-LD Annotation documents), and I still want those to sync.
So...
- implement hexastore style indexes in PouchDB http://nodejsconfit.levelgraph.io/#16
- store in PouchDB for sync and re-store in LevelGraph for query
- store only in LevelGraph and use JSON-LD compact + Annotation schema to create any Web Annotation docs?
- risk here is that the input JSON-LD and the compacted version may be different (needs research)
- at the very least, it'd loose anything not in the
@contextused for compaction--possible data loss if consuming someone else's Web Annotation (afaik)
Hrm...