70 likes | 211 Views
XDI Graph Discussion: $link. February 23, 2005. Simplified XDI graph notation. Physical. !!1000. !1001. Nodes. Resource. @E. =A. Data. =B. =C. @D. Logical. Bob. Arcs. XRI only. +phone. +email. +shoe.size. +height. +email. +age. Type. Ref. Link. Backref. +alumni, !2.
E N D
XDI Graph Discussion:$link February 23, 2005
Simplified XDI graph notation Physical !!1000 !1001 Nodes Resource @E =A Data =B =C @D Logical Bob Arcs XRI only +phone +email +shoe.size +height +email +age Type Ref Link Backref +alumni, !2 +home, !1 +home +work +primary Instance +work Data orXMLResource Refs are shown as back lines, no labels Links are shown as red lines w/labels
$link • $link is the XDI resource that can “reify” the association between two XDI resource represented by the <link> tag • It UML terms, it represents the association object that describes an association between two other objects
Association objects in UML Object A Object B Association AssociationObject Describes theassociation between Object A and Object B
Applied to XDI Resource A Resource B <link> $link Describes thelink between Resource A and Resource B
Example Physical !!1000 !1001 Nodes Resource @E =A Data =B =C @D Logical Bob Arcs <link> XRI only +contract $link Type Ref $link Link +classmates +friends Backref =B, =A*Bob Instance Data orXMLResource “Relationship object” – root of all attributes describing the link between =A and =B
Three patterns of $link • =A/($link)/(=B) • Describes the relationship of two Logical Authorities • =A/(+type.1)*($link)/(+type.2) • Describes the relationship of two Types • =A/(+type.1)/(instance.1)*($link)*(instance.2) • Describes the relationships of two Instances