- From: Richard H. McCullough <rhm@cdepot.net>
- Date: Tue, 7 Jan 2003 17:51:39 -0800
- To: "Rob McCool" <robm@robm.com>
- Cc: <public-rdf-tap@w3.org>
- Message-ID: <002001c2b6b8$b5781a20$bd7ba8c0@rhm8200>
Thanks for the clarification. I'm now using "domain", "inverse=yes" instead of "domainOf". I've made some more improvements in mkrGetData -- it's getting closer to what I expect the ultimate interface to look like. A quick question about "instanceOf". In RDF. "instanceOf" (isa) subsumes "individualOF" (isu) and "subClassOf" (iss). Is that also true in TAP? I noticed you don't have "individualOf". ============ Dick McCullough knowledge := man do identify od existent done knowledge haspart proposition list ----- Original Message ----- From: Rob McCool To: Richard H. McCullough Cc: public-rdf-tap@w3.org Sent: Tuesday, January 07, 2003 9:42 AM Subject: 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 20:53:17 UTC