Wednesday, May 15, 2013

Virtuoso - Import Ontology

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#>; 
 
Personal Information Model (PIMO) 
SPARQL LOAD <http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#>
 
Simple Knowledge Organization System (SKOS) 
SPARQL LOAD <http://www.w3.org/2004/02/skos/core >
 

Check Existing Graph In Virtuoso

SPARQL
SELECT DISTINCT ?g 
WHERE 
  { 
     GRAPH ?g {?s a ?t}
  } 
 






              

              
 Next execute the statement: 

              
SPARQL
DEFINE get:soft "replace" 
SELECT DISTINCT * 
FROM <http://www.w3.org/ns/auth/cert#> 
WHERE 
  {
    ?s ?p ?o
  }


              

              


              

              
 

              

 
Source:
http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtTipsAndTricksGuide 

Related Posts:

  • Virtuoso - Interactive SQL Query Native Virtuoso Interactive SQL Query (ISQL) To assist you with the use of Virtuoso an interactive SQL interpreter utility called "ISQL" is bundled with all Virtuoso installations. This utility allows you to enter an… Read More
  • Virtuoso - Download & Installation Download Wizard http://download.openlinksw.com/ Select product "OpenLink Virtuoso: Personal Edition " From "Pr… Read More
  • Virtuoso - Getting Yourself a Linked Data URI in 5 minutes or less Simple steps registering ODS user Go to ODS Framework Click Sign Up Register either using the sample form or with existing OpenID Import data to your ODS profile using the "Import" feature Go to Edit profile Ope… Read More
  • Virtuoso - Javaimport com.hp.hpl.jena.query.QueryExecution; import com.hp.hpl.jena.query.QueryExecutionFactory; import com.hp.hpl.jena.sparql.engine.http.QueryExceptionHTTP; public class QueryTest { public static void main(String[] args) … Read More
  • Virtuoso - Install Package FCT Browser 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 lo… Read More

0 comments:

Post a Comment