- From: Phil Archer <phil@philarcher.org>
- Date: Thu, 10 Nov 2011 11:27:43 +0000
- To: Denny Vrandecic <denny.vrandecic@kit.edu>
- CC: SWIG Web <semantic-web@w3.org>
Denny, I'd suggest using the HTTP Link element [1] with @rel=describedby, pointing to a file that included your triple or, more simply, just @rel=license and link to the licence directly. You need to do a bit of server config (use Mod_headers) but assuming you have access to do that it shouldn't be be too hard. HTH Phil. [1] http://tools.ietf.org/html/rfc5988 On 10/11/2011 11:06, Denny Vrandecic wrote: > Hi, > > sorry, folks, stupid technical question: > > how would I add RDF metadata to a JavaScript file? > > Assume I have at > > http://example.org/script.js > > a JavaScript file. I want to add some metadata about it, like its license. I.e. I want to be able to state e.g. > > <http://example.org/script.js> cc:license license:BSD . > > Where do I put this triple? > > And how can I let a tool know where this triple is, if the tool only has the script's URI? > > Cheers, > Denny > -- Phil Archer http://philarcher.org/ @philarcher1
Received on Thursday, 10 November 2011 11:28:23 UTC