Answering myself: just a status update.

I fixed a few ranges and cardinalities in the ontology.

Also I implemented a first version of the context service. So far, it allows 
to set and retrieve the current context. It also emits a signal when the 
context changes.

I think this is a good basis to start from. :)

Cheers,
Sebastian (going to bed now)

On Friday 05 September 2008 14:24:17 Sebastian Trüg wrote:
> Hi guys,
>
> after our irc discussion yesterday, Aaron, Hari, and myself came up with a
> stripped down version of the DFKI user context ontology. I just put it into
> the KDE svn in the nepomuk-kde playground (labels and comments need some
> work). So to use it better start by installing the
> playground/base/nepomuk-kde/usercontext. It will install the ontology, thus
> making Nepomuk read it into the storage.
>
> The stripped down user context ontology has only three Classes left:
>
> * UserWorkContext - All context instances will be of this type (future
>   subclassing perfectly possible)
> * ContextualElement - Each resource is related to a UserWorkContext via
>   an intermediate element. This allows to attached additional meta
> information to the resource. We kept three: currentAttentionValue,
> firstAccess, and lastAccess.
> * UserState - In KDE we will probably have one single instance of this
> class as it mainly stores the currently active context (Actually I am not
> even sure if we need to store that ATM or if we will always handle that in
> the user/app space)
>
> We wanted simple grouping/hierarchy support. An example would be:
> WorkContext
>   -> KDEContext
>       -> NepomukContext
>
> We realized this with a very simple property: subContextOf. Should be
> self-explanatory.
>
> The ontology is a first draft. As mentioned above it still misses some good
> labels and comments and maybe one or two nrl:reverseProperty statements.
> But it should be a good basis.
>
> To use the ontology it's probably best to generate C++ classes using the
> nepomuk-rcgen. There is a simple cmake command [1].
>
> Have a nice day.
> Cheers,
> Sebastian
>
> [1]
> http://api.kde.org/4.x-api/kdelibs-apidocs/nepomuk/html/nepomuk-rcgen.html
> _______________________________________________
> nepomuk-kde mailing list
> [email protected]
> http://lists.semanticdesktop.org/mailman/listinfo/nepomuk-kde


_______________________________________________
nepomuk-kde mailing list
[email protected]
http://lists.semanticdesktop.org/mailman/listinfo/nepomuk-kde

Reply via email to