W3C home > Mailing lists > Public > public-rdf-tap@w3.org > August 2003

SubClass option for GetResourcesNamed ?

From: Richard H. McCullough <rhm@cdepot.net>
Date: Fri, 8 Aug 2003 09:05:15 -0700
Message-ID: <006601c35dc7$6ac498d0$bd7ba8c0@rhm8200>
To: "Rob McCool" <robm@robm.com>
Cc: "Turner, Aaron" <turnermcneill@yahoo.com>, "Latimer, Richard S." <rslatimer@comcast.net>, "Apollo, Adrian" <Thinkonaut@aol.com>, "KR-language" <KR-language@YahooGroups.com>, <public-rdf-tap@w3.org>

I'm just wondering if you have a SuperClass/SubClass
option for the java method GetResourcesNamed().

My basic shell script is

    GetResource genus name

where "genus" is the type/Class of the resource, and "name"
is a pseudo-attribute matched against "label", "plural",
"adjective", ...

Here's an example of what concerns me.
The command "GetResource Resource Paris" returns 
23 resources including 2 cities, 4 books, 10 musicians,
and more.  The 2 cities are

    CityParis,_France
    CityParisTX

But if I use "GetResource City Paris", I get only

    CityParis,_France

This is because U.S. cities are a subClassOf City.
Using "GetResource UnitedStatesCity Paris" returns only

    CityParisTX

Dick McCullough
knowledge := man do identify od existent done;
knowledge haspart proposition list;
Received on Friday, 8 August 2003 12:09:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 22 March 2009 02:45:12 GMT