%META:TOPICPARENT{name="VirtTipsAndTricksGuide"}%
---+ 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#
:
1. Using the Conductor UI at http://<cname>/conductor -> Database -> Interactive SQL or from the ISQL command line, execute the following statement:
SPARQL LOAD ;
%BR%%BR%%BR%%BR%
%BR%%BR%%BR%%BR%
1. Next execute the statement:
SPARQL
DEFINE get:soft "replace"
SELECT DISTINCT *
FROM
WHERE
{
?s ?p ?o
}
%BR%%BR%%BR%%BR%
%BR%%BR%%BR%%BR%
---++View the Imported Data Using FCT Browser
1 Make sure you have installed the [[https://virtuoso.openlinksw.com/download/][Virtuoso Faceted Browser VAD package]].
1 Go to http://http://<cname>/fct
%BR%%BR%%BR%
1 Go to "Entity URI lookup"
%BR%%BR%%BR%
1 Enter the ontology url: http://www.w3.org/ns/auth/cert#
. Select the provided file location:
%BR%%BR%%BR%
1 Click "Describe".
1.The [[http://uriburner.com/describe/?url=http%3A%2F%2Fwww.w3.org%2Fns%2Fauth%2Fcert%23][main ontology]] retrieved data should be presented:
%BR%
%BR%%BR%
1 You may want to proceed further exploring the retrieved data by viewing the is isDefinedBy of
: [[http://uriburner.com/describe/?url=http%3A%2F%2Fwww.w3.org%2Fns%2Fauth%2Fcert%23Certificate][Certificate]]
1 Should be presented certificate definitions within the ontology:
%BR%
%BR%%BR%%BR%
---++Related
* [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]]
* [[http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtFacetBrowserInstallConfig][Virtuoso Faceted Browser Installation and configuration]]
* [[http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtuosoFacetsWebService][Virtuoso Facets Web Service]]
* [[http://ode.openlinksw.com/][The OpenLink Data Explorer Extension]]
* [[http://docs.openlinksw.com/virtuoso/rdfsparql.html][Virtuoso Documentation]]