Re: [HTTP-in-RDF] Revised simplified approach (2)

Hi,

Johannes Koch wrote:
> 
> Welcome back

Thanks! ;)


> Shadi Abou-Zahra schrieb:
>> Thanks for reworking this, it looks good to me. One question though, 
>> the http:Message class reminds me very much of the RFC 822 work that 
>> we have dropped a while ago. I'm not arguing to revive this work (or 
>> namespace)
> 
> Really? ;-)
> 
>> but do you think we could clean it up to become an extension point?
>>
>> For example if we move http:body up into the http:Message and remodel 
>> http:httpVersion (not sure how though) then the http:Message resembles 
>> pretty much an rfc822:Message (and anyone who needs it can extend it).
> 
> You mean something like:
> 
> foo:Message
> |- 0..1 foo:headers
> |- 1 foo:body
> 
> http:Message extends foo:Message
> |- 1 http:httpVersion
> |- 0..1 dc:date
> 
> foo:headers ((Collection of) foo:MessageHeader)
> foo:body ((rdf:Alt of) foo:Content)
> 
> with Content (with subclasses), MessageHeader, HeaderName, 
> HeaderElement, Param and their properties moving to the foo namespace?

No, no, no, I'm *really* not trying to revive RFC822 (disguised as foo)! 
I think we could have something like this:

http:Message
|- 0..1 http:headers
|- 0..1 http:body
|- 0..1 dc:date

This should now resemble an RFC822 message. Now say someone wants to 
create SMTP-in-RDF or whatever, they could do something like this:

smtp:Mail rdfs:subClassOf http:Message

(if they don't like the "http" they can use any other shortname)

...what I'm trying to get at, is that maybe some minor tweaks could make 
this piece reusable to others without much work for us. I don't know how 
to make http:httpVersion though, and if it's worth the effort to go down 
this route at all. What do others think?

Regards,
   Shadi


-- 
Shadi Abou-Zahra     Web Accessibility Specialist for Europe |
Chair & Staff Contact for the Evaluation and Repair Tools WG |
World Wide Web Consortium (W3C)           http://www.w3.org/ |
Web Accessibility Initiative (WAI),   http://www.w3.org/WAI/ |
WAI-TIES Project,                http://www.w3.org/WAI/TIES/ |
Evaluation and Repair Tools WG,    http://www.w3.org/WAI/ER/ |
2004, Route des Lucioles - 06560,  Sophia-Antipolis - France |
Voice: +33(0)4 92 38 50 64          Fax: +33(0)4 92 38 78 22 |

Received on Tuesday, 21 August 2007 23:20:05 UTC