Re: domainOf & other problems

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 UTC