[Nepomuk] NAO::Symbols and ResourceWatcher

David Narvaez david.narvaez at computer.org
Fri Apr 27 11:51:18 UTC 2012


On Wed, Apr 25, 2012 at 1:38 PM, David Narvaez
<david.narvaez at computer.org> wrote:
> so I guess it is very possible that properties are loaded by parts.
> The question then was how to know when to query again for symbols, so
> I tried setting up a ResourceWatcher yet it doesn't seem to be
> signaling when the hasSymbol property changes:
>
> connect(m_nepomukResourceWatcher,
>
> SIGNAL(propertyAdded(Nepomuk::Resource,Nepomuk::Types::Property,QVariant)),
> this, SLOT(nepomukOnline()));
>
> m_nepomukResourceWatcher->addProperty(Nepomuk::Vocabulary::NAO::hasSymbol());
> m_nepomukResourceWatcher->start();
>
> m_nepomukResourceWatcher->addResource(res);

Hmm, my guess is this will only notify me of changes through Nepomuk's
frontend but not from the backend (Soprano?), am I right? If so, then
the question is how to know when Soprano finds the missing properties.
Any ideas?

David E. Narváez


More information about the Nepomuk mailing list