2007/6/11, Evgeny Egorochkin <<a href="mailto:phreedom.stdin@gmail.com">phreedom.stdin@gmail.com</a>>:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Monday 11 June 2007 17:19:08 Antoni Mylka wrote:<br>> Mikkel Kamstrup Erlandsen pisze:<br>> > In this setup I think "source" is a misleading word, but I can't think<br>> > of anything better right now (I think there must be at least 30C in the
<br>> > office, my brain is steaming)...<br>><br>> I'd rather go for DataObject vs. InformationElement<br>> (this distinction will be adopted in NIE draft 5)<br>><br>> The way I see the notion of a source, is that each and every piece of
<br>> information on the desktop can be accessed with a simple hierarchy,<br>> where we begin with some top-level entity (e.g. a HDD Partition) and<br>> then go downwards by means of two alternating steps - interpretation and
<br>> containment.<br>><br>> A DataObject is interpreted as an InformationElement and then other<br>> DataObjects are found inside this InformationElement which have their<br>> own interpretations:<br>><br>
> Examples<br>> a Desktop contains a<br>> HDDPartition is interpreted as Filesystem which contains a<br>> FileEntity is interpreted as a Folder which contains another<br>> FileEntity is interpreted as a Mailbox which contains a
<br>> MailboxItem is interpreted as a Message which contains an<br>> Attachment is interpreted as an Archive which contains<br>> a FileEntity is interpreted as a Document<br>><br>> or...<br>><br>> Modeling COM-Based access to an Outlook calendar (sorry for a M$ example )
<br>> a Desktop contains a<br>> PieceOfSoftware is interpreted as an Application which contains an<br>> SoftwareService is interpreted as a Calendar which contains a<br>> CalendarDataObject is interpreted as an Event which contains an
<br>> Attachment which is interpreted as a PDFFile (a flyer for an event)<br>><br>><br>> The left side is what is currently called "Source" in XESAM, the right<br>> side is what is currently called "Content" in XESAM. I've even drawn a
<br>> picture:<br>><br>> <a href="http://www.dfki.uni-kl.de/~mylka/interpretation-containment.png">http://www.dfki.uni-kl.de/~mylka/interpretation-containment.png</a><br>><br>> The core of the fifth draft of NIE revolves around two classes and two
<br>> properties:<br>><br>> --------- hasPart -------|<br>> \|/ |<br>> DataObject --------|> InformationElement<br>><br>
> | /|\<br>><br>> -------- isPartOf -------|<br>><br>><br>> ------|> means inheritance, each DataObject is in fact an<br>> InformationElement even if there are no more detailed interpretations
<br>><br>> There are no hasInterpretation properties because I assume that each<br>> resource will have ONE interpretation, and this is better expressed with<br>> a is-a relationship (rdf:type). Well, actually it's your idea.
<br><br>Actually there are often 2 interpretations. Remember Content.asText property?<br><br>One example: interpreting text as audio(text-to-speech that is) is e.g. to<br>estimate time it would take to read the speech you've just written.
<br>(media.duration)<br><br>I'm still trying to come up with a good case where we would need extra<br>interpretations.<br><br>Cases to consider: Trash (a folder with files and also trash container), Video<br>DVD(a complex media container vs filesystem).
<br><br>Sometimes this multiple interpretation issue is avoided by making SourceCode<br>inherit from TextFile.<br><br>> This allows for arbitrary interpretations: a file may be a Mailbox, but<br>> also a RemoteHostAddress mail be a Mailbox, a DBUS service may be a
<br>> Mailbox... As far as content is concerned all of these are Mailboxes,<br>> they have the same interpretations even if their representations differ.<br><br>Thank you for presentation. You are far better at this than me :)
<br><br>> Other pairs worth consideration:<br>> representation vs. interpretation<br>> or data vs. content<br>> or data vs. information<br>> or physicalEntity vs. contentEntity<br>><br>> or something along these lines ...
<br><br>We're dealing with form/essense duality here.<br><br>Actually I do quite like Content as a more down-to-earth name for essense, but<br>what to do with form?<br><br>Source doesn't fit at all.<br><br>Maybe StoredAs?
</blockquote><div><br>Could be. Maybe just "Form" as you wrote yourself (unless that has other implications I'm not aware of).<br><br>Cheers,<br>Mikkel <br></div><br></div><br>