On 7/23/11 7:55 PM, brucewhealton wrote:
This part of the question has me confused a bit. I'll take a couple of guesses to see if we can get any closer.1) Suppose I have some FOAF files that I want to link to using foaf:knows. The path to each persons foaf file is http://fwwebdev.com/foaf/BruceWhealtonJr/foaf.rdf so to refer to me, I'd use http://fwwebdev.com/foaf/BruceWhealtonJr/foaf.rdf I could use a prefix defined within my RDF or OWL file I am creating inside TBC or I could use the full path as shown above. Is there another best practice? Maybe setup a namespace that equals http://fwwebdev.com/foaf/ and call it fwfoaf. Does that make sense? If you want to find out how to perform operations - inference, query, etc. across multiple foaf files I'd suggest creating a file named allFOAFs.ttl that owl:imports all of the foaf files you want. The you can operate on an entire set of foaf files from one open file. If you want one foaf file to refer to another one, and I suspect this is what do do want, then it's just a matter of aligning the URIs. There isn't a need to refer to the file itself. Just the URIs that you want to operate with. So if I know you then I'd add the following to my foaf file: <http://topquadrant.com/foaf/ScottHenninger#me> foaf:knows <http://fwwebdev.com/foaf/BruceWhealtonJr/foaf.rdf#me> If I had a couple of prefixes defined: @prefix scott: <http://topquadrant.com/foaf/ScottHenninger#> @prefix bruce: <http://fwwebdev.com/foaf/BruceWhealtonJr/foaf.rdf#> ...then I could write the aforementioned triple as: scott:me foaf:knows bruce:me -- Scott -- |
- [topbraid-users] Working with multiple Ontologies and refe... brucewhealton
- RE: [topbraid-users] Working with multiple Ontologies... Irene Polikoff
- [topbraid-users] Re: Working with multiple Ontolo... brucewhealton
- Re: [topbraid-users] Working with multiple Ontologies... Scott Henninger
- [topbraid-users] Re: Working with multiple Ontolo... brucewhealton
- Re: [topbraid-users] Working with multiple Ontologies... Scott Henninger
- [topbraid-users] Re: Working with multiple Ontolo... brucewhealton
- [topbraid-users] Re: Working with multiple On... Scott Henninger
- [topbraid-users] Working with multiple Ontologies and... brucewhealton
