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
0 comments:
Post a Comment