added commit node

master
Niko PLP 3 days ago
parent f7e921a1c8
commit 19fc9dc16b
  1. 48
      src/pages/en/framework/nuri.md

@ -96,15 +96,15 @@ We should probably mention here also that NextGraph is fully compatible with `<h
Here are the identifiers that can be used to refer to any resource anywhere in the graph. They are unique global identifiers.
| Identifiers | that can be used in subject or object of any triple |
| ---------------------------------- | --------------------------------------------------- |
| | |
| `<did:ng:a/b/g:[storeid]>` | profile of a public, protected or group store |
| `<did:ng:o:[repoid]>` | a document |
| `<did:ng:o:[repoid]#fragment>` | fragment of a Document |
| `<did:ng:o:[repoid]:u:[randomid]>` | for skolemized blank nodes |
| `<did:ng:o:[repoid]:t:[commitid]>` | for commit nodes (not implemented yet) |
| `<did:ng:j:[objectid]>` | a binary file |
| Identifiers | that can be used in subject or object of any triple |
| ---------------------------------- | ------------------------------------------------------------------------------ |
| | |
| `<did:ng:a/b/g:[storeid]>` | profile of a public, protected or group store |
| `<did:ng:o:[repoid]>` | a document |
| `<did:ng:o:[repoid]#fragment>` | fragment of a Document |
| `<did:ng:o:[repoid]:u:[randomid]>` | for skolemized blank nodes |
| `<did:ng:o:[repoid]:t:[commitid]>` | for commit nodes (use `<did:ng:_>` as placeholder).<br>works also as predicate |
| `<did:ng:j:[objectid]>` | a binary file |
`did:ng:o:[repoid]` can be omitted when the identifier is understood as being within a specified named graph, or when using a BASE in queries.
@ -142,22 +142,22 @@ when no default graph is included in the Query (with USING, GRAPH, FROM), the ta
### Targets
| Target | URI | explanation |
| ---------------- | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | | |
| UserSite | did:ng:i | whole dataset of the user (User Storage) personal identity |
| PublicStore | did:ng:a | all the documents of the public store of the user personal identity |
| ProtectedStore | did:ng:b | idem for protected store |
| PrivateStore | did:ng:c | idem for private store |
| AllDialogs | did:ng:d | union of all the Dialogs of personal identity (all the DMs) |
| Dialog(String) | did:ng:d:[name] | shortname given locally to a Dialog (i.e. “bob", “alice") |
| | did:ng:d:a/b/g:[ProfileID] | a Dialog with a specific ProfilerId |
| AllGroups | did:ng:g | union of all group Stores and all their documents |
| Group(String) | did:ng:g:[name] | shortname given locally to a Group (i.e. “birthday_party", “trip_to_NL") |
| | did:ng:g:g/o:[storeid] | union of all the documents of a specific group store |
| Target | URI | explanation |
| ---------------- | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| | | |
| UserSite | did:ng:i | whole dataset of the user (User Storage) personal identity |
| PublicStore | did:ng:a | all the documents of the public store of the user personal identity |
| ProtectedStore | did:ng:b | idem for protected store |
| PrivateStore | did:ng:c | idem for private store |
| AllDialogs | did:ng:d | union of all the Dialogs of personal identity (all the DMs) |
| Dialog(String) | did:ng:d:[name] | shortname given locally to a Dialog (i.e. “bob", “alice") |
| | did:ng:d:a/b/g:[ProfileID] | a Dialog with a specific ProfilerId |
| AllGroups | did:ng:g | union of all group Stores and all their documents |
| Group(String) | did:ng:g:[name] | shortname given locally to a Group (i.e. “birthday_party", “trip_to_NL") |
| | did:ng:g:g/o:[storeid] | union of all the documents of a specific group store |
| Identity(UserId) | did:ng:i:[userid] | search inside the User Storage of another Identity of the user, that is present in their wallet and has been opened. All the URIs described here (except :i) can be used as suffixes behind `:i:[xxx]` |
| | did:ng:i:n:[name] | same as above but with the shortname for the identity (i.e "work“ ) |
| a document | did:ng:o | |
| | did:ng:i:n:[name] | same as above but with the shortname for the identity (i.e "work“ ) |
| a document | did:ng:o | |
for all the above URIs that are stores, adding a trailing :r will restrict the graph to the root document of the store.

Loading…
Cancel
Save