W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2004

Re: requirement: rdfs query (for lack of a better name...)

From: Steve Harris <S.W.Harris@ecs.soton.ac.uk>
Date: Thu, 6 May 2004 19:06:26 +0100
To: public-rdf-dawg@w3.org
Message-ID: <20040506180626.GJ5134@login.ecs.soton.ac.uk>

On Thu, May 06, 2004 at 12:52:40 -0500, Kendall Clark wrote:
> Requirement
> -----------
> It should be possible to query the RDFS structure of an RDF graph to find,
> for example, the parents and instances of a class or the class tree.
> 
> Discussion
> ----------
> I'm not sure whether this comes down, in the end, to a semantic requirement
> or just a request for sugar for a particular kind of query; but what my
> users need (and we have implemented in a really ugly, API munging way) is
> the ability to ask for all the instances of a class, all the parents of a
> class, and so on. Being able to do these queries, and being able to do them
> "easily" (yes, I know, untestable, but still...) is a real requirement for us.

Isn't that a question of what inference your RDFS engine supports?

If you do RDFS then (?x <rdfs:subclassOf> ?y) will give you all the
superclasses of ?y in ?x.

- Steve 
Received on Thursday, 6 May 2004 14:06:35 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:19 GMT