![]() |
![]() |
![]() |
Tracker Ontology Reference Manual | ![]() |
---|
Not available
© 2007 DFKI © 2009 Nokia. The ontologies are made available under the terms of NEPOMUK software license (FIXME verify)
NEPOMUK Message Ontology extends the NEPOMUK Information Element framework into the domain of messages. This ontology has been heavily extended by Tracker team to include real support for Emails, IM Accounts, SMS and Calls relevant in environments like Maemo.
This complex issues is explained in great details in this wiki page
FIXME add a diagram of the Email classes and main properties
We have a new subclass of message to represent a SMS Message. It is worth to remark that we are talking about a simple text message. Things like MMS are more complex (more similar to an email than a simple message), and will have their own classes.
An SMS Message comes from the network in vmessage format and contains to/from recipients in vcards. It is represented in the ontology with the following properties:
Here is an example of an SMS Message in Tracker/Nepomuk:
# There are some predefined folder for SMS, like # nmo:default-sms-folder-inbox # # We also know the 'to' uri from a previous query # File containing the 'to' vcard <file:///home/user/.sms/vcards/123098.vcard> a nfo:FileDataObject <test://1> a nmo:SMSMessage ; nmo:from <nco:default-contact-me> ; nmo:to <urn:uuid:here-some-uri-of-a-contact> ; nmo:plainTextMessageContent "Forgot the keys. Are you at home?" ; nie:characterSet "utf-8" ; nmo:toVCard <file:///home/user/.sms/vcards/123098.vcard> ; nmo:isDeleted false . <nmo:default-sms-folder-inbox> nmo:containsSMS <test://1>