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


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


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


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:43:14 UTC