-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Imports with sub-folders not loading fully #1251
Comments
You can use relative imports in the catalog xml file <uri id="User Entered Import Resolution" name="http://w3id.org/iaam/i40fd/protocol/canopen" uri="../schema/protocol/canopen.rdf"/> |
Right! But that works (I think) just for immediate files. Imagine, for example, we have this file structure: root/
└── main.ttl
└── catalog-v001.xml
├── example/
│ └── main.ttl
│ └── catalog-v001.xml
│ ├── another/
│ │ └── main.ttl And I can succesfully open/load the <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<catalog prefer="public"
xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<uri id="Imports Wizard Entry" name="http://datos.gob.mx/example/" uri="example/main.ttl"/>
</catalog> But <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<catalog prefer="public"
xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<uri id="Imports Wizard Entry" name="http://datos.gob.mx/example/another/" uri="another/main.ttl"/>
</catalog> So, what I infer from this is, that ontologies that are inside immediate sub-folders are indeed loaded, but ontologies inside sub-folders of those sub-folders are not. I'm sure I must be missing something. Hope this makes sense. Looking forward to your thoughts. Thanks again! |
If I remember correctly you would need to add to your Internally only the catalog located at the root of the main ontology you open is used. This means you do not need more than one catalog in your root directory. However, if you also plan to open the other ontologies directly with Protege, each one needs a catalog. You can look at a research project I am working on where I load local ontologies and copies of other ontologies (qudt, skos, bfo,etc) |
Hi there!
I'm having issues loading the files to my project.
How would I need to declare my catalog-v001.xml for Protegé to load all files inside
mex
?Thanks!!
P.S. The file structure looks like this:
The text was updated successfully, but these errors were encountered: