Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleSPARQL query to list the graphs in a VIVO
SELECT ?g
WHERE
{
    GRAPH ?g {
        ?s ?p ?o .
    }
}
GROUP BY ?g
ORDER BY ?g

To list the triples in a specific 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.

Code Block
titleSPARQL query to list the triples in a named graph
SELECT ?s ?p ?o
WHERE
{
    GRAPH <http://vitro.mannlib.cornell.edu/filegraph/tbox/sameAs.n3> {
        ?s ?p ?o .
    }
}

 

...

The graphs used by VIVO

Notes

  1. 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.
  2. filegraph graphs are named with the name of the file they were loaded from.
  3. filegraph files may be in several formats.  You will see graphs loaded from files with type n3, owl and rdf.
  4. The content in some of the filegraphs may repeat content found in other filegraphs.  This does not impact the application.

 

Graph nameContents
http://vitro.mannlib.cornell.edu/default/asserted-tbox All ontology triples as asserted
http://vitro.mannlib.cornell.edu/default/inferred-tbox Triples infered from the asserted ontology triples
http://vitro.mannlib.cornell.edu/default/vitro-kb-2The main triple store for content
http://vitro.mannlib.cornell.edu/default/vitro-kb-applicationMetadataTriples controlling the application
http://vitro.mannlib.cornell.edu/default/vitro-kb-infTriples created by the inferencer
http://vitro.mannlib.cornell.edu/filegraph/abox/academicDegree.rdfControlled vocabulary for academic degrees
http://vitro.mannlib.cornell.edu/filegraph/abox/continents.n3Data provided regarding the continents
http://vitro.mannlib.cornell.edu/filegraph/abox/dateTimeValuePrecision.owlControlled vocabulary for dateTimePrecision
http://vitro.mannlib.cornell.edu/filegraph/abox/documentStatus.owlControlled vocabulary for documentStatus
http://vitro.mannlib.cornell.edu/filegraph/abox/geopolitical.abox.ver1.1-11-18-11.owlData provided regarding geopolitical entities
http://vitro.mannlib.cornell.edu/filegraph/abox/grid.n3Example of a data package. Grid data regarding organizations
http://vitro.mannlib.cornell.edu/filegraph/abox/us-states.rdfData provided regarding US states and territories
http://vitro.mannlib.cornell.edu/filegraph/abox/validation.n3 Data regarding validated ORCiD identifiers
http://vitro.mannlib.cornell.edu/filegraph/abox/vocabularySource.n3 Data regarding external vocabulary services
http://vitro.mannlib.cornell.edu/filegraph/tbox/agent.owl Ontology assertions regarding agents
http://vitro.mannlib.cornell.edu/filegraph/tbox/appControls-temp.n3 ?
http://vitro.mannlib.cornell.edu/filegraph/tbox/bfo-bridge.owl Ontology assertions relating VIVO entities to BFO
http://vitro.mannlib.cornell.edu/filegraph/tbox/bfo.owl Ontology assertions regarding Basic Formal Ontology (BFO)
http://vitro.mannlib.cornell.edu/filegraph/tbox/classes-additional.owl Ontology assertions regarding classes used in VIVO
http://vitro.mannlib.cornell.edu/filegraph/tbox/clinical.owl Ontology assertions regarding clinical trials
http://vitro.mannlib.cornell.edu/filegraph/tbox/contact-vcard.owl Ontology assertions regarding vcard
http://vitro.mannlib.cornell.edu/filegraph/tbox/contact.owl Ontology assertions regarding OBO classes
http://vitro.mannlib.cornell.edu/filegraph/tbox/data-properties.owl Ontology assertions regarding data properties
http://vitro.mannlib.cornell.edu/filegraph/tbox/dataDomains.rdf Ontology assertions regarding data domains
http://vitro.mannlib.cornell.edu/filegraph/tbox/dataset.owl Ontology assertions to define Dataset class
http://vitro.mannlib.cornell.edu/filegraph/tbox/date-time.owl Ontology assertions to define DateTimeInterval class
http://vitro.mannlib.cornell.edu/filegraph/tbox/dateTimeValuePrecision.owl Ontology assertions to define DateTimeValuePrecision classes
http://vitro.mannlib.cornell.edu/filegraph/tbox/documentStatus.owl Ontology assertions regarding document status
http://vitro.mannlib.cornell.edu/filegraph/tbox/education.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/event.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/geo-political.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/grant.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/linkSuppression.n3 
http://vitro.mannlib.cornell.edu/filegraph/tbox/location.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/object-properties.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/object-properties2.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/object-properties3.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/objectDomains.rdf 
http://vitro.mannlib.cornell.edu/filegraph/tbox/objectRanges.rdf 
http://vitro.mannlib.cornell.edu/filegraph/tbox/ontologies.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/orcid-interface.n3 
http://vitro.mannlib.cornell.edu/filegraph/tbox/other.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/outreach.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/personTypes.n3 
http://vitro.mannlib.cornell.edu/filegraph/tbox/process.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/publication.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/relationship.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/relationshipAxioms.n3 
http://vitro.mannlib.cornell.edu/filegraph/tbox/research-resource-iao.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/research-resource.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/research.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/role.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/sameAs.n3 Ontology assertions defining sameAs
http://vitro.mannlib.cornell.edu/filegraph/tbox/skos-vivo.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/teaching.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/vitro-0.7.owl 
http://vitro.mannlib.cornell.edu/filegraph/tbox/vitroPublic.owl 

...