Are there any guidelines/best practices for assigning URIs for Drupal Linked Data?
I've got the various modules publishing RDF just fine, and can get RDF from URIs like http://hostname/node/xyz/rdf, but this sort of URI is really an implementation detail, and therefore not in the spirit of linked data URIs. It would seem to be much more appropriate to have URIs that might read something like http://hostname/content-type/title.
I've tried using Pathauto, which rewrites the URLs well-enough, but doesn't provide the RDF as expected.
What (if any) is the officially-blessed approach for generating appropriate URIs?
Thanks for all of the great work on the semantic web & drupal - very nice stuff!
-harry
Comments
From what you are saying it
From what you are saying it sounds like you are asking for content negotiation (let me know if I am wrong). So what you would like is to be able to send the request to http://hostname/content-type/title with an Accept header requesting application/rdf+xml. The page would then return the RDF/XML instead of the RDFa.
Content negotiation hasn't been handled by the RDF contrib module at this point. However, it is necessary for the Neologism module which is going to be ported to Drupal 7 over this summer. We plan to move the content negotiation functionality into the RDF contrib module as part of that process.
Pathauto and conneg
I would try to stick with pathauto for the HTML pages and like Lin said rely on the conneg on these pages to get the RDF. That way you get RDFa or another other RDF flavor the client might ask. RDFx has some basic conneg at the node/id/rdf path via ARC2 but I haven't had time to test it enough to move it to the regular node/id (or you pretty url) path.
Pathauto, content negotiation, etc..
Lin, scor - thanks for the feedback. I think you've interpreted it correctly. I can certainly wait for the content negotiation pieces to fall into place over the summer. Just wanted to make sure that pauthauto seemed like a plausible approach.
I'm looking forward to seeing Neologism and the other pieces as they move forward.
thanks again...