This documentation relates to an old version of VIVO, version 1.10.x. Looking for another version? See all documentation.
VIVO stores its information in graphs – named collections of triples. Graphs keep data organized by kind, and provide the opportunity for different access rights and management practices to be applied at the graph level. All graphs are available to the VIVO SPARQL query interface. When using SPARQL to query the VIVO data, one does not need to know the graph the data is contained in. Triples in all graphs are available to the query. When updating data in VIVO using CONSTRUCT or UPDATE, knowledge of the graph may be necessary.
Here we show how to list the graphs in a VIVO, and provide a reference for the purpose of each graph.
Listing the graphs used by VIVO
To list the graphs being used by your VIVO, you can run the SPARQL query shown below. Caution: If you have a significant amount of data in your VIVO, the query may take quite a while to run. With tens of thousands of entities in your VIVO, the query should complete in a few minutes.
To list the triples in a named graph, use the query below, substituting the name of the graph you wish to list. Caution: listing the triples in larger graphs may take significant time.
The graphs used by VIVO
- Graphs named "default" are built and managed by the Vitro application. Graphs names "filegraph" are loaded from files when VIVO starts. Graphs named "filegraph/abox" are data. Graphs named "filegraph/tbox" are ontology.
- filegraph graphs are named with the name of the file they were loaded from.
- filegraph files may be in several formats. You will see graphs loaded from files with type n3, owl and rdf.
- The content in some of the filegraphs may repeat content found in other filegraphs. This does not impact the application.
- Data you load by placing a file in filegraph/abox will appear as a result of the graph listing query above.