Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Node Relation"
m (EntityId moved to Entity Relation) |
(→Definition) |
||
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
− | * An [[EntityId]] is a kind of [[ | + | * An [[EntityId]] is a kind of [[Entity Correlation]] |
− | * | + | * An [[EntityId]] has a single URI value that identifies the [[Entity]] |
− | + | ||
− | + | ||
==Format== | ==Format== |
Revision as of 22:31, 31 January 2008
Definition
- An EntityId is a kind of Entity Correlation
- An EntityId has a single URI value that identifies the Entity
Format
An EntityId is a URI. It is comprised of a ContextId URI combined with an optional identifier string called a LocalId. The LocalId may only be omitted when the Context identified by the ContextId contains exactly one Entity.
Two kinds of [[EntityId]s are defined: a URIrelation (Hash URI) and XRIrelation. The former is consistent with one of the two proposed W3C's Cool URIs approaches. The latter is an XRI as defined by XRI Syntax 2.0.
ABNF
The following ABNF defines a Higgins [[EntityId]. Rules not defined in this ABNF are defined in the ABNF for XRI 2.0 (which includes the IRI ABNF from RFC 3987).
relation = URIrelation / XRIrelation URIrelation = contextURI [ "#" subjectId ] XRIrelation = contextXRI [ "//" subjectId ]
Relationship to OpenID
- An EntityId's ContextId MAY use OpenID (2.0 only) for its authority segment. See ContextId for details.
Open Issues
- Should we allow the ContextId to be omitted if a LocalId is present? (saves repeating the ContextId when referring to another Entity in the same Context