Skip to content

LevelGraph or PouchDB or both? #9

@BigBlueHat

Description

@BigBlueHat

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 @context used for compaction--possible data loss if consuming someone else's Web Annotation (afaik)

Hrm...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions