In my N3 rewriting of the example Service document [1] I came up with
3 classes: Service, Workspace and Collection.
- The Service Class one could say clearly has an unique identifier:
the url at which it was fetched (<> above)
- The Collection (which seems really to be a Feed in disguise) has an
href URI to identify it, and James Snell just posted a good reason to
also add an id there today.
- But the workspace is problematic. Since a Service document can
contain any number of workspaces, and each of these can contain any
number of collections, there is no clear way to identify these across
changes. What happens to a workspace if it changes title? How is a
client to know that it has not lost its workspace?
Henry
[1] <> a :Service;
:workspace [ a :Workspace;
:title "Main Site"@en;
:primaryCollection [ a :Collection;
:title "entries"@en;
:href <http://example.org/myblog/entries>;
:member-type :entry ];
:primaryCollection [ a :Collection;
:title "photos"@en;
:href <http://example.org/myblog/fotes>
:member-type :media ]
];
:workspace [ a :Workspace;
:title "Side Bar Blog"@en;
:primaryCollection [ a :Collection;
:title "Remaindered Links"@en;
:href <http://example.org/
reilly/list>;
:member-type :entry ]
] .