xfolk-to-rdf

From Microformats Wiki
Revision as of 09:37, 20 June 2008 by TobyInk (talk | contribs) (Clarify RDF sketch)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

xFolk/hReview → RDF

Only a rough sketch on a piece of paper so far. "X" is the review, "Y" is the item being reviewed.

to-rdf.jpeg

RDF prefixes used in above diagramme:

rev
http://www.purl.org/stuff/rev#
tag
http://www.holygoat.co.uk/owl/redwood/0.1/tags/
dc
http://purl.org/dc/terms/
foaf
http://xmlns.com/foaf/0.1/

xFolk / hReview Equivalence

xFolk can be thought of as a minimal version of hReview.

hReview Term xFolk Term
hreview xfolkentry
version /
summary /
type type is always "url"
item fn taggedlink (link text)
item url taggedlink (href)
item photo /
reviewer /
dtreviewed /
rating (best, worst) /
description description
tag tag
permalink /
license /

With this in mind, an xFolk entry can be treated as simply a funny-looking hReview and the hReview to RDF mapping then applied to xFolk.