m-ld / m-ld-spec

Platform-independent m-ld specification
https://spec.m-ld.org/
MIT License
24 stars 1 forks source link

Subdomain clones #25

Open gsvarovsky opened 4 years ago

gsvarovsky commented 4 years ago

what

Ability to clone only some sub-set of a domain.

why

Full replication on all clones restricts usage of m-ld to use-cases in which the entire domain fits on every deployment platform involved, including smartphones and browsers.

Without this restriction, a domain can have arbitrary size.

See also:

gsvarovsky commented 3 years ago

https://gitter.im/m-ld/community?at=615db9d08c019f0d0b1d0cad:

BTW, I've been pondering something that may be related to Confidentiality. I may be interested in making much more data available in a domain than any once clone will need at any one time. I'm thinking it may be useful to be able to hold a "sparse clone" which only includes relevant triples, much like a git sparse clone. (It would be neat to do that by query, but that might be too powerful and lead to weird cases, so maybe by triple pattern? Or some new thing in between?)

If I'm really going all out asking for things, I'd love to be able to query against a sparse clone with some sort of useful semi-closed-world assumption, and be told whether I have all the relevant data, or whether there's potentially more data that wouldn't be matched by the sparse filter that I could be missing. I haven't thought that through nearly enough to understand whether that's even a sensible thing to want, though.