Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Node Relation"

m (Relation moved to EntityId)
Line 1: Line 1:
 
==Definition==
 
==Definition==
* A [[Relation]] is a kind of [[Attribute]]
+
* An [[EntityId]] is a kind of [[Attribute]]
* Each value of a [[Relation]] is a URI(s) that identifies an [[Entity]]
+
* Each value of a [[EntityId]] is a URI(s) that identifies an [[Entity]]
  
 
== Details ==
 
== Details ==
  
Note: If the two [[Entity | Entities]] being linked are digital representations of the same person, thing or concept then a specialization of [[Relation]] called a [[Correlation]] should be used.
+
Note: If the two [[Entity | Entities]] being linked are digital representations of the same person, thing or concept then a specialization of [[EntityId]] called a [[Correlation]] should be used.
  
 
==Format==
 
==Format==
 
A [[Relation]] 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]].
 
A [[Relation]] 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 [[Relation]]s are defined: a URIrelation (Hash URI) and XRIrelation. The former is consistent with one of the two proposed W3C's [http://www.w3.org/TR/2007/WD-cooluris-20071217/ Cool URIs] approaches. The latter is an [http://en.wikipedia.org/wiki/XRI XRI] as defined by [http://wiki.oasis-open.org/xri/XriCd02/Xri2dot0Abnf XRI Syntax 2.0].
+
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 [http://www.w3.org/TR/2007/WD-cooluris-20071217/ Cool URIs] approaches. The latter is an [http://en.wikipedia.org/wiki/XRI XRI] as defined by [http://wiki.oasis-open.org/xri/XriCd02/Xri2dot0Abnf XRI Syntax 2.0].
  
 
=== ABNF ===
 
=== ABNF ===
The following [http://en.wikipedia.org/wiki/Augmented_Backus-Naur_form ABNF] defines a Higgins [[Relation]]. Rules not defined in this ABNF are defined in the [http://wiki.oasis-open.org/xri/XriCd02/Xri2dot0Abnf ABNF for XRI 2.0] (which includes the IRI ABNF from [http://www.ietf.org/rfc/rfc3987.txt RFC 3987]).
+
The following [http://en.wikipedia.org/wiki/Augmented_Backus-Naur_form ABNF] defines a Higgins [[EntityId]. Rules not defined in this ABNF are defined in the [http://wiki.oasis-open.org/xri/XriCd02/Xri2dot0Abnf ABNF for XRI 2.0] (which includes the IRI ABNF from [http://www.ietf.org/rfc/rfc3987.txt RFC 3987]).
  
 
  relation          = URIrelation / XRIrelation
 
  relation          = URIrelation / XRIrelation

Revision as of 19:49, 31 January 2008

Definition

Details

Note: If the two Entities being linked are digital representations of the same person, thing or concept then a specialization of EntityId called a Correlation should be used.

Format

A Relation 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

Open Issues

See Also

Links

Back to the top