VIVO Documentation
Page History
The most straightforward way to load additional ontologies into VIVO is to use the Add/Remove RDF Data feature shown on the Site Admin page. This loads an ontology directly into the triple store. The disadvantage is that all additional ontologies and local edits are loaded into a single graph. This can make it cumbersome to update individual ontologies to reflect edits made outside of VIVO.
Filegraphs
There is another mechanism for incorporating ontologies into VIVO. This involves "filegraphs," and is how the VIVO-ISF ontology is included with the software. Filegraphs are RDF documents stored in the VIVO home directory. Each filegraph corresponds to a single graph in the triple store. Every time Tomcat starts, VIVO checks each of these graphs to ensure that its contents exactly match the triples found in the corresponding file. If the file has changed, VIVO makes the necessary modifications to the triple store. If a filegraph is removed from its directory, its graph in the triple store will be deleted the next time Tomcat starts.
Example
Code Block |
---|
vitro.home/ rdf/ tbox/ filegraph/ agent.owl appControls-temp.n3 bfo-bridge.owl bfo.owl ... myOntology.owl ... |
...