xfolk-to-rdf: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(Further explanation.)
m (Replace <entry-title> with {{DISPLAYTITLE:}})
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<h1>xFolk/hReview &rarr; RDF</h1>
{{DISPLAYTITLE:xFolk/hReview RDF}}


Only a rough sketch on a piece of paper so far. "X" is the review, "Y" is the item being reviewed.
Only a rough sketch on a piece of paper so far. "X" is the review, "Y" is the item being reviewed.
Line 5: Line 5:
[http://buzzword.org.uk/2008/hReview/to-rdf.png http://buzzword.org.uk/2008/hReview/to-rdf.jpeg]
[http://buzzword.org.uk/2008/hReview/to-rdf.png http://buzzword.org.uk/2008/hReview/to-rdf.jpeg]


= xFolk / hReview Equivalence =
RDF prefixes used in above diagramme:
 
; <code>rev</code>
: http://www.purl.org/stuff/rev#
; <code>tag</code>
: http://www.holygoat.co.uk/owl/redwood/0.1/tags/
; <code>dc</code>
: http://purl.org/dc/terms/
; <code>foaf</code>
: http://xmlns.com/foaf/0.1/
 
== xFolk / hReview Equivalence ==


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


{| border="1" style="float:left"
{| border="1"
|-
|-
! hReview Term
! hReview Term

Latest revision as of 16:35, 18 July 2020


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.