|
|
(11 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
− | == Introduction ==
| + | #REDIRECT [[NodeIdDatatype]] |
− | ==Definition==
| + | |
− | * An [[EntityRelationDatatype]] is a URI [[Attribute Value Datatype]]
| + | |
− | * It is comprised of a [[ContextIdDatatype]] URI combined with an optional identifier string called a [[EntityIdDatatype]]. The [[EntityIdDatatype]] may only be omitted when the [[Context]] identified by the [[ContextId]] contains exactly one [[Entity]].
| + | |
− | | + | |
− | Two kinds of [[EntityIdDatatype]]s are defined: a URI-[[EntityIdDatatype]] (Hash URI) and XRI-[[EntityIdDatatype]]. 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 ===
| + | |
− | 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]).
| + | |
− | | + | |
− | EntityIdDatatype = URI-EntityIdDatatype / XRI-EntityIdDatatype
| + | |
− | URI-EntityIdDatatype = URI-ContextIdDatatype [ "#" EntityIdDatatype ]
| + | |
− | XRI-EntityIdDatatype = XRI-ContextIdDatatype [ "//" EntityIdDatatype ]
| + | |
− | | + | |
− | == Relationship to OpenID ==
| + | |
− | | + | |
− | * An [[EntityRelationDatatype]]'s [[ContextId]] MAY use OpenID (2.0 only) for its authority segment. See [[ContextId]] for details.
| + | |
− | | + | |
− | ==Open Issues==
| + | |
− | * Should we combine [[EntityRelationDatatype]] and [[EntityIdDatatype]]?
| + | |
− | ** In other words should we allow the [[ContextIdDatatype]] to be omitted if a [[EntityIdDatatype ]] is present? (saves repeating the [[ContextIdDatatype]] when referring to another [[Entity]] in the same [[Context]]
| + | |
− | | + | |
− | == See Also ==
| + | |
− | * [[Attribute Value Datatype]]
| + | |
− | * [[ContextIdDatatype]]
| + | |
− | * [[EntityIdDatatype]]
| + | |