W3C home > Mailing lists > Public > semantic-web@w3.org > February 2011

Re: RDF question.

From: Sarven Capadisli <info@csarven.ca>
Date: Thu, 24 Feb 2011 13:18:14 -0500
To: William Phipps <wphipps78@gmail.com>
Cc: semantic-web@w3.org
Message-ID: <1298571494.4657.72.camel@csarven-laptop>
On Thu, 2011-02-24 at 17:30 +0000, William Phipps wrote:
> Folks,
> 
> I need to format some page results in RDF. The page needs to end with
> the .rdf extension, rather then then .php or .html, reflecting this.
> 
> Can anyone here help me with this, or put me onto a good place to help
> me work out how I can do this?

Hi William,

I suspect that you want to offer your page in HTML alternatively using
one or more of the RDF serializations.

If you wish to do that directly in your XHTML document, you can use the
RDFa serialization. This can be done directly from your templates and
requires no further setup. I could consider to be the simplest solution.

However, if you need to have your RDF externally to the document, you
can use the Turtle (preferable!) or RDF/XML serializations. For this to
work, you need to generate a particular output (may be dynamic or a
static file) for your data just like you did for XHTML (or Atom and
RSS).

If you can elaborate on your problem, I'm sure people can point you
towards the right direction.

-Sarven
Received on Thursday, 24 February 2011 18:18:58 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 21:45:41 GMT