Skip to main content
Jump to: navigation, search

Difference between revisions of "Node Relation"

(In Higgins)
(In Higgins)
Line 4: Line 4:
 
Note: If the two [[Digital Subject]]s being linked are digital representations of the same real-world [[Entity]] then a specialization of [[Relation]] called a [[Correlation]] should be used.
 
Note: If the two [[Digital Subject]]s being linked are digital representations of the same real-world [[Entity]] then a specialization of [[Relation]] called a [[Correlation]] should be used.
  
==In Higgins==
+
==Format==
 
A [[Subject Relation]] is a URI. It is comprised of a [[ContextId]] URI combined with an optional identifier string called a [[SubjectId]]. The [[SubjectId]], if present, uniquely identifies a [[Digital Subject]] within the [[Context]] identified by the [[ContextId]]. The [[SubjectId]] may only be omitted when the [[Context]] identified by the [[ContextId]] contains exactly one [[Digital Subject]].
 
A [[Subject Relation]] is a URI. It is comprised of a [[ContextId]] URI combined with an optional identifier string called a [[SubjectId]]. The [[SubjectId]], if present, uniquely identifies a [[Digital Subject]] within the [[Context]] identified by the [[ContextId]]. The [[SubjectId]] may only be omitted when the [[Context]] identified by the [[ContextId]] contains exactly one [[Digital Subject]].
  
Line 15: Line 15:
 
  URIrelation        = contextURI [ "#" subjectId ]
 
  URIrelation        = contextURI [ "#" subjectId ]
 
  XRIrelation        = contextXRI [ "//" subjectId ]
 
  XRIrelation        = contextXRI [ "//" subjectId ]
 +
 +
== Relationship to OpenID ==
 +
 +
* A [[Relation]]'s [[ContextId]] MAY use OpenID (2.0 only) for its authority segment. See [[ContextId]] for details.
  
 
==See Also==
 
==See Also==

Revision as of 12:59, 27 January 2008

Definition

A Relation is a relation stored as an Identity Attribute of a Digital Subject that links one Digital Subject to another Digital Subject in the same or within a different Context.

Note: If the two Digital Subjects being linked are digital representations of the same real-world Entity then a specialization of Relation called a Correlation should be used.

Format

A Subject Relation is a URI. It is comprised of a ContextId URI combined with an optional identifier string called a SubjectId. The SubjectId, if present, uniquely identifies a Digital Subject within the Context identified by the ContextId. The SubjectId may only be omitted when the Context identified by the ContextId contains exactly one Digital Subject.

Two kinds of Relations 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 Relation. 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

See Also

Links

Back to the top