[Versa] Re: [4suite] RDF/VERSA Question

Chimezie Ogbuji chimezie at gmail.com
Wed Nov 2 11:32:04 MST 2005


> I know this will not return all items, a:ItemA and a:ItemB?  What's the
> correct filter function to do this?
> How must I construct the RDF classe hiarchery to allow such a filter
> function to work?

If a:ItemA and a:ItemB are derived from a:Searchable via
rdfs:SubClassOf, then type(a:Searchable) *will* return all instances
of a:ItemA and a:ItemB in addition to instances of a:Searchable. 
I.e., the 4Suite Versa implementation, takes into account RDFS
entailment rule rdfs9 (http://www.w3.org/TR/rdf-mt/#RDFRules):

uuu rdfs:subClassOf xxx .
            vvv rdf:type uuu .  -->    vvv rdf:type xxx .

One caveat though (that you probably don't need to worry about), is
that the rdfs:subClass relationships must be visible within the Versa
context.  I.e., if they are in a different model or a different scope
then this won't work.

Chimezie


More information about the Versa mailing list