From: Sean B. <se...@cs...> - 2005-07-12 07:31:56
|
Bill Huff wrote: > Hi, we are using the OWLAPI to read-in and write-out .owl files which > define our domain of interest. The problem is that > our program will not have access to the internet. My first question is, > do I need to use some type of entityresolver class > to redirect the http references to local system copies. For example how > would I reference http://www.w3.org/2000/01/rdf-schema#", > locally? My second question is, does this mean that I need to pull down > all the files for > each http reference in my OWL files? If so, what are the default > references required. > > Bill Bill If you look at the example Processor class you'll see that you can use a URIMapper to change the resolution of URIs and use local copies. There is a simple PropertyBasedURIMapper class provided that reads pairs from a file and maps between URIs. However, unless you're doing some fancy stuff with the RDF vocabulary (which will result in OWL Full ontologies) you shouldn't need to actually resolve things like the RDF schema -- the namespace gets used in the ontologies that you have, but the tools don't require you to to actually have access to the schema definition for "normal" OWL DL stuff. Sean -- Sean Bechhofer se...@cs... http://www.cs.man.ac.uk/~seanb |