Hi,

On Wed, Jun 12, 2013 at 4:12 AM, אנטולי קרסנר <tomback...@gmail.com> wrote:

> Hi,
>
> On ד', 2013-06-12 at 11:08 +0100, Martyn Russell wrote:
> > On 11/06/13 06:58, אנטולי קרסנר wrote:>
> > Sadly, I don't think we have a way to find the parent for a class right
> > now, it's one directional at the moment.
> >
>

The relation is in one direction, but queries work in "both"... this query
should work (cannot test it now)

SELECT ?s WHERE {
   nfo:TextDocument rdfs:subClassOf ?s.
}


>
> Then I guess I'll have to use my own storage, at least for some of the
> data, and do all the problematic queries using that storage. But for now
> Tracker is enough, as long as queries are as simple as "give me all
> objects with a given property" or "give me all objects with this
> property set to this value".
>

To be more precise, Tracker can solve queries much more complicated than
those... but you need to be specific on the properties.

For example "Give me the title property of all instances of class Music,
that have an artist [property linking to an artist instance] with name
"Metallica".

Regards,

Ivan
_______________________________________________
tracker-list mailing list
tracker-list@gnome.org
https://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to