W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > August 2007

Re: Interesting experience: my foaf in RDFa

From: Simone Onofri <simone.onofri@gmail.com>
Date: Fri, 31 Aug 2007 12:58:37 +0200
Message-ID: <52bd7c3d0708310358m1ff879ffga6b8c216cb980d0e@mail.gmail.com>
To: "Ivan Herman" <ivan@w3.org>
Cc: "W3C RDFa task force" <public-rdf-in-xhtml-tf@w3.org>

Ivan,

On 8/24/07, Ivan Herman <ivan@w3.org> wrote:
> - It works!  This is a really important point: I did not find any
> construction in my previous foaf file that I could not express somehow.
> And that is really important; it is a one-time evidence that we do have
> something good here.

Great! and Compliments.

> - It is an authoring challenge (this is not unlike microformats). Of
> course, editing the file in a screen editor is possible but makes it a
> bit difficult to follow and is error prone.

Simple authoring of  RDFa can be a problem. In a WYSIWYG way, or
precisely WYSIWYM with last M stands for Meaning... first mistake is
on steps required to produce it:

a. first add ontology/schema and its namespace
b. second add statements (great, but you must know how the information
may be structured - not really simple)

for simple use with WYSIWYG this is more complete but also complex.

Another approach, but limited to implementation to complex statements
structures sounds like an integration of RDFa on foaf-o-matic and
similar tools.

Third approach can be good is FOAFr by Michael, but the RDF source may
be exist. Then, but from manual editing, Dan Brickley said, about an
How-to (I think  Primer examples and working templates may be a right
way and also a page on our wiki).

So in a mixed approach think a WYSIWYG editor with "insert RDFa" menu
so now you have "Templates" (a mix from FOAFr with no RDF source and
working-examples) with ready code and a form to fill and have RDFa
output (like foaf-o-matic).

Well, the question is... if I need for a more complex RDFa Template to
fill in or direct code-writing? another menu item from menu can be
"Create Templates/Templates editor". In this way an author can
create/edit templates using first step to add onto, schema and more...
and then add semantic stuff to templates.

I think adding this middle (template editor but with more Templates
already done) step a WYSIWYG can able all people to use in a simple
way RDFa.

[cut]

> This means that some of the RDF constructs become a bit unnatural in
> HTML, if you want to add some humanly readable text to it. Which raises
> a practical question. What if the author wants to keep some of what
> he/she wants to express in RDF/XML and would like to 'bind' it to the
> RDF extracted from HTML? My solution was to add a <link> statement with
> rel="rdfs:seeAlso", but this relies on the RDF environment to understand
> and interpret that.

This is another interesting point. Implementing RDFa in real world can
be the solution also to sintatic sugar and more... thanks for this
implementation again.

[cut]

Cheers,

Simone
Received on Friday, 31 August 2007 10:58:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:09 GMT