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

Re: domainOf & other problems

From: Rob McCool <robm@robm.com>
Date: Tue, 7 Jan 2003 09:42:35 -0800
To: "Richard H. McCullough" <rhm@cdepot.net>
Cc: public-rdf-tap@w3.org
Message-ID: <20030107094235.E3275@flapjack.stanford.edu>

Glad to hear you got the MKR system working with GetData!

> Using your Perl KB browser, the "domainOf" property seems to list all 
> the properties of a Class.
> However, the GetData function does NOT return the list of properties.
> Why not???
>
> For example
>     mkrGetData Person has ?
> returns nothing.

To query the available properties of a node, ask for "arcs". To find the
fooOf arcs, as for "arcs" with the flag "inverse=yes".

DomainOf is an inverse property, so to ask for the domain of Person is to ask
for the inverse. To see an example of this, edit ex8.pl (or ex8.java) and
change CountryUnitedStates to Person.

> I see some other strange results.  
> For example
>     mkrGetData Resource isc ?
> returns nothing, while
>     mkrGetData Node isc ?
> returns
>   http://tap.stanford.edu/data/PropertyType
>   http://tap.stanford.edu/data/Event
>   http://tap.stanford.edu/data/Activity
>   http://tap.stanford.edu/data/Tangible
>   Class
>   http://tap.stanford.edu/data/Intangible
>   http://tap.stanford.edu/data/Agent
>   http://tap.stanford.edu/data/Literal
> and
>     mkrGetData Activity isa ?
> returns
>   Resource

I saw this a couple of months ago; we renamed Node to Resource to be more
RDF friendly. I thought I'd fixed it. It seems there are still some issues 
to resolve, I'll try to take care of those this week sometime.
Received on Tuesday, 7 January 2003 12:43:07 GMT

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