How to Import Ontology into Virtuoso?
The following guide describes how to import a given ontology file (for ex. http://example.org/ontology.owl) into Virtuoso.
Import the Ontology Data
Assume one wants to import in Virtuoso the cert ontology http://www.w3.org/ns/auth/cert#
: - Using the Conductor UI at http://<cname>/conductor -> Database -> Interactive SQL or from the ISQL command line, execute the following statement:
SPARQL LOAD <http://www.w3.org/ns/auth/cert#>;
- Next execute the statement:
SPARQL DEFINE get:soft "replace" SELECT DISTINCT * FROM <http://www.w3.org/ns/auth/cert#> WHERE { ?s ?p ?o }
View the Imported Data Using FCT Browser
- Make sure you have installed the Virtuoso Faceted Browser VAD package.
- Go to http://http://<cname>/fct
- Go to "Entity URI lookup"
- Enter the ontology url:
http://www.w3.org/ns/auth/cert#
. Select the provided file location:
- Click "Describe".
1.The main ontology retrieved data should be presented:
- You may want to proceed further exploring the retrieved data by viewing the
is isDefinedBy of
: Certificate - Should be presented certificate definitions within the ontology:
Related
- Virtuoso Tips and Tricks Collection
- Virtuoso Faceted Browser Installation and configuration
- Virtuoso Facets Web Service
- The OpenLink Data Explorer Extension
- Virtuoso Documentation