I'm new to RDF and wondering how I to produce an adequate subject ... Does it has to be unique ? In example I could refer to a book by it's ISBN number, still many physical books with that ISBN can exist. In the same way, some typo errors might be fixed in a print without changing the isbn.
More practically, I need to keep record of error events in a computer system. Should I consider that every generated event is strongly unique by including in the URI a unique value (uuid, time and location etc) Or should I keep a simple uri like error type, and differentiate it by it's properties ?
Or maybe I should use a bnode to keep properties grouped for a specific event ?
Thanks for clarifying my thoughts.
asked 26 Nov '12, 05:27
Your book can have a HTTP uri as well as a ISBN property (see the BIBO ontology)
The benefit of a HTTP uri for the subject is that generally, the resource becomes dereferenceable.
People will tell you that a derefenceable HTTP uri should only be applied to a information resource and then describe the importance of the fragment identifier or using 303's, but it quickly becomes more complicated.
in cases where there is no URI, some will say generate one (maybe use a UUID, or HTTP uri with a base 64 urlencode uuid on the end), others will say make anonymous. The benefit of the former is that others can link to it. In the case of your events, create a uri since I am certain you don't want them to be anonymous events in the long run.
answered 26 Nov '12, 09:14