2007/6/17, 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;">
This time pretty picture contains only parts of the ontology I've been<br>actively changin since it just takes too much time to make nice layouts :)<br><a href="http://www.freedesktop.org/wiki/PhreedomDraft?action=AttachFile&do=view&target=viz-part.png">
http://www.freedesktop.org/wiki/PhreedomDraft?action=AttachFile&do=view&target=viz-part.png</a><br>--------------------<br>Proposal:<br><br>While ontology is still not complete, it's structure is unlikely to change
<br>much. It's quite hard to get it absolutely right in theory...<br><br>So my proposal is to start implementing it. Whatever inconsistencies, missing<br>fields, ambiguity or other problems we encounter will be resolved in the
<br>process. This way, by the time xesam 1.0 spec is ready, so are actual<br>implementations.</blockquote><div><br>I think we need more documentation on the ontology. This includes:<br><br> - better description of each field and cat (just inlined in the rdfs for now, we can extract documentation programmatically)
<br> - a document describing the ontology as a whole <br><br>On top of this we also need:<br> - data types for fields (fx integer, float, string, date, boolean)<br> - whether or not it is abstract<br> - others?<br></div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm available to answer your questions most of the time.<br><br><a href="mailto:jabber:phreedom@jabber.org">
jabber:phreedom@jabber.org</a><br><br>Also, I'm still awaiting for clarification from Tracker on what categories you<br>assign to files. If you want me to consider compatibility with your approach,<br>at least I need to know what you want/need.
<br><br>------------------<br>Design decisions:<br><br>Many containers support naming of contents. Fx email attachments have names.<br>Some kinds of content can have a global name like "file://something", but only
<br>some. Also the trouble here is that<br>while a zip file is addressed like "file://x.zip" its contents might be<br>addressed like "zip://x.zip/document.odf"<br><br>The only sensible way out of this seems to introduce both name property for
<br>container-local name(corresponds to file name) and url property for global<br>addressing if it's possible at all.</blockquote><div><br>Yes this makes sense to me. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
---------------------<br>Controversies:<br><br>Should we have file extension field?</blockquote><div><br>Yes, I think so. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Should we index folders just like other files?</blockquote><div><br>You mean that we have the same fields on files and dirs (ie both share the File cat)? I think this could be ok if we add an isDirectory field or something.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">--------------------<br>Implemented support for multiple filesystems, removable media indexing, disk
<br>images in files.<br><br>This is accomplished by introducing FileSystem content type, which represent a<br>generic filesystem.<br>For disk images, the Source of the filesystem is set to File.<br>For hdd partitions and removable media, Partition source is used. It lets
<br>specify both device and uuid(e.g. to identify different usb sticks).</blockquote><div><br>Ok, maybe I'm overengeneering , but would it make sense to have Device<--Partition. This would allow us to potentially have mobiles, and other non-storage specific devices, in the onto.
<br><br>Maybe we should keep the xesam core onto with Partition as the only child of Device (or maybe FileSystem is a better word for Partition then (the FileSystem cat could be renamed to DiskImage)), and leave options open for 3rd parties.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-----------------<br>Changelog:<br><br>* Content.contains is now a subproperty of
Content.depends<br><br>* Added Project class<br><br>* Renamed ToDo to Task<br><br>* Added Partition source with fields<br><br>* Added FileSystem content class with fields<br><br>* Removed User class and moved properties to Source
<br><br>* Added isEncrypted property to DataObject<br><br>* Revamped media ontology</blockquote><div><br><br> - Unix files also have a group (as addition to owner), maybe we should have a field for that<br><br><br>Cheers,
<br>Mikkel<br></div><br></div><br>