Re: Representing email messages in JSON-LD

Ok, so if I understand correctly, the #MailMessage doesn't have any
additional properties, so by using purely the SIOC types I would lose
some information from the headers. Some of the linking information
(References, In-Reply-To -> Message-Id) could be retained by creating
#Container objects. But that would require the converting system to
have access to all previously received messages.
So right now I like the Nepomuk approach better, to have a class per
header plus a generic MessageHeader class for additional headers.
How are such situations usually resolved? There now seem to be two
classes (sioc:MailMessage, nmo:Message) that both have the same
purpose. Is there a way to "combine" them, so that software
understanding one, but not the other can take the information it
understands and ignore the rest?
My brain hasn't fully adapted to RDF yet, I'm shooting a bit in the dark here :)

-- Niklas

On Fri, Jul 20, 2012 at 1:50 PM, Sergio Fernández <sergio@wikier.org> wrote:
> Hi Stéphane,
>
> exactly, a few years ago in SIOC we worked on many types of social
> online communities, and mailing lists were of those. SWAML was the
> software artifact developed.
>
> So you can find two useful classes:
>
> - with http://rdfs.org/sioc/ns#Post fits with any post message, blog,
> microblogging, mail, etc
>
> - but we also included the subclass
> http://rdfs.org/sioc/types#MailMessage for particular usages
>
> If you'd have any question, please don hesitate to ask me.
>
> Cheers,
>
> On 19 July 2012 18:08, Stéphane Corlosquet <scorlosquet@gmail.com> wrote:
>> Hi Nil,
>>
>> I'd encourage you to check out http://swaml.berlios.de/ and see what RDF
>> model they use to convert mailing list to RDF (looks like SIOC is involved).
>> I'm cc'ing Sergio who is involved in this project.
>>
>> Steph.
>>
>> On Wed, Jul 18, 2012 at 7:22 AM, nil <nil.niklas@gmail.com> wrote:
>>>
>>> Hi everyone,
>>>
>>> Is there already an established way to represent email messages in
>>> JSON-LD? I found RFC822 in RDF[1], but it seems abandoned. On the
>>> public-rww list, people mentioned "RESTful mail over TLS" a couple of
>>> times, which may be a usecase for such a representation. If I wanted
>>> to use that RFC822 in RDF, what @type would I set? The examples there
>>> use http://www.example.org/rfc822# as namespace, which is probably not
>>> meant to be final.
>>>
>>> -- Niklas Cathor
>>>
>>>
>>> [1] http://www.w3.org/WAI/ER/HTTP/WD-RFC822-in-RDF-20060502
>>>
>>>
>>
>
>
>
> --
>
> Sergio Fernández <sergio@wikier.org>

Received on Friday, 20 July 2012 12:30:55 UTC