W3C home > Mailing lists > Public > public-html-data-tf@w3.org > November 2011

Re: http://www.w3.org/ns/md

From: Ivan Herman <ivan@w3.org>
Date: Fri, 18 Nov 2011 17:08:38 +0100
Cc: Jeni Tennison <jeni@jenitennison.com>, HTML Data Task Force WG <public-html-data-tf@w3.org>
Message-Id: <4C2959A9-663B-4CE1-960E-D81B4D7C7E6C@w3.org>
To: Gregg Kellogg <gregg@kellogg-assoc.com>

On Nov 18, 2011, at 16:59 , Gregg Kellogg wrote:

> I'll get you a JSON file later today.

Later today is over for me anyway (I am about to call it a day), so no rush:-) I can upload it tomorrow or on Monday.

Will that be a single json file? Or an HTML file, too? Also, what is the media type you expect the server to return for json?

Ivan


> It's not RDF, but an HTML file might reference the current draft of the Microdata to RDF spec, where it is defined. I'll release that draft shortly, as well.
> 
> Gregg Kellogg
> 
> Sent from my iPad
> 
> On Nov 18, 2011, at 2:38 AM, "Ivan Herman" <ivan@w3.org> wrote:
> 
>> Hi Jeni,
>> 
>> On Nov 18, 2011, at 10:37 , Jeni Tennison wrote:
>> 
>>> Ivan,
>>> 
>>> For the microdata-to-RDF mapping, we've been bandying around the namespace http://www.w3.org/ns/md as if we can use it. Is it going to be possible to have a page there?
>> 
>> Yes.
>> 
>>> Is there any server-side stuff in place so that we could have content negotiation (to return an RDFS schema / OWL ontology / JSON registry, for example) or other scripting (eg to make http://www.w3.org/ns/md?type=http://microformats.org/profile/hcard?prop=n return a suitable page)?
>> 
>> The 'server-side stuff' is called Ivan Herman (you should keep away from that guy, though:-).
>> 
>> More seriously: when I publish sw stuff there, I do it as follows:
>> 
>> - create an XX.var file 'branching' to specific content types with priorities. I typically have text/html, application/rdf+xml (with a qs value of 0.4) and text/turtle (with qs 0.5)
>> - create an XX.html file in RDFa+HTML
>> - automatically generate (off-line, to avoid server load) the turtle and rdf/xml files from those
>> 
>> The result is a content negotiation on the www.w3.org/ns/XX URI.
>> 
>> Adding JSON is fine, though it would probably not be done automatically (my distiller, that I use locally, does not have a JSON mapping option from RDFa...). But, of course, manually is also fine.
>> 
>> On the other hand... there is no other machinery in place. Ie, adding some scripting type stuff become much more complicated...
>> 
>> Ivan
>> 
>>> 
>>> Thanks,
>>> 
>>> Jeni
>>> -- 
>>> Jeni Tennison
>>> http://www.jenitennison.com
>>> 
>>> 
>> 
>> 
>> ----
>> Ivan Herman, W3C Semantic Web Activity Lead
>> Home: http://www.w3.org/People/Ivan/
>> mobile: +31-641044153
>> FOAF: http://www.ivan-herman.net/foaf.rdf
>> 
>> 
>> 
>> 
>> 


----
Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
FOAF: http://www.ivan-herman.net/foaf.rdf
Received on Friday, 18 November 2011 16:05:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 18 November 2011 16:05:58 GMT