This HTML5 document contains 26 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

PrefixNamespace IRI
dctermshttp://purl.org/dc/terms/
n16http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtTipsAndTricksGuideQuadStorageInternally/sioc.
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
dchttp://purl.org/dc/elements/1.1/
n8http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
siocthttp://rdfs.org/sioc/types#
n6http://vos.openlinksw.com/dataspace/person/dav#
n9http://vos.openlinksw.com/dataspace/owiki/wiki/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n11http://vos.openlinksw.com/dataspace/owiki#
xsdhhttp://www.w3.org/2001/XMLSchema#
siochttp://rdfs.org/sioc/ns#
n4http://vos.openlinksw.com/dataspace/person/owiki#
Subject Item
n6:this
foaf:made
n2:VirtTipsAndTricksGuideQuadStorageInternally
Subject Item
n8:this
sioc:creator_of
n2:VirtTipsAndTricksGuideQuadStorageInternally
Subject Item
n11:this
sioc:creator_of
n2:VirtTipsAndTricksGuideQuadStorageInternally
Subject Item
n9:VOS
sioc:container_of
n2:VirtTipsAndTricksGuideQuadStorageInternally
atom:entry
n2:VirtTipsAndTricksGuideQuadStorageInternally
atom:contains
n2:VirtTipsAndTricksGuideQuadStorageInternally
Subject Item
n2:VirtTipsAndTricksGuideQuadStorageInternally
rdf:type
sioct:Comment atom:Entry
dcterms:created
2017-06-13T05:36:47.953557
dcterms:modified
2018-04-23T11:40:44.008212
rdfs:label
VirtTipsAndTricksGuideQuadStorageInternally
foaf:maker
n4:this n6:this
dc:title
VirtTipsAndTricksGuideQuadStorageInternally
opl:isDescribedUsing
n16:rdf
sioc:has_creator
n11:this n8:this
sioc:content
%META:TOPICPARENT{name="VirtTipsAndTricksGuide"}% ---+ How can I see which quad storages exist and in which quad storage a graph resides? Let's take for example a [[http://virtuoso.openlinksw.com/whitepapers/relational%20rdf%20views%20mapping.html][Linked Data (RDF) View created from relational data in Virtuoso]]. The RDF output should have two graphs which reside in a quad storage named, for example -- <verbatim> http://localhost:8890/rdfv_demo/quad_storage/default </verbatim> The RDF is also accessible through the SPARQL endpoint with a query like -- <verbatim> DEFINE input:storage <http://localhost:8890/rdfv_demo/quad_storage/default> SELECT * WHERE { ?s ?p ?o } </verbatim> One might ask, is there a way to tell Virtuoso (once) that the quad storage should always be included in all queries to the SPARQL endpoint, such that the user does not have to define the <b>input:storage</b> explicitly in each query? <verbatim> http://localhost:8890/sparql?qtxt=SELECT%20*%20WHERE%20%7B%20%3Fs%20%3Fp%20%3Fo%20%7D&default-graph-uri=NULL&named-graph-uri=NULL </verbatim> All metadata about all RDF storages are kept in "system" graph <code><nowiki>&lt;http://www.openlinksw.com/schemas/virtrdf#&gt;</nowiki></code> (with built-in, predefined namespace prefix, <b><code>virtrdf:</code></b>). Subjects of type <b><code><nowiki>virtrdf:QuadStorage</nowiki></code></b> are RDF storages. There are three of them by default: <verbatim> SQL> SPARQL SELECT * FROM virtrdf: WHERE { ?s a virtrdf:QuadStorage }; s VARCHAR _______________________________________________________________________________ http://www.openlinksw.com/schemas/virtrdf#DefaultQuadStorage http://www.openlinksw.com/schemas/virtrdf#DefaultServiceStorage http://www.openlinksw.com/schemas/virtrdf#SyncToQuads 3 Rows. -- 3 msec. </verbatim> * <b><code><nowiki>virtrdf:DefaultQuadStorage</nowiki></code></b> is used if no <code>input:storage</code> is specified. * <b><code><nowiki>virtrdf:DefaultServiceStorage</nowiki></code></b> is used for SPARQL Federation. * <b><code><nowiki>virtrdf:SyncToQuads</nowiki></code></b> is used to keep the list of Linked Data Views that are translated into RDB2RDF triggers. There are two ways of using one of these Linked Data Views in SPARQL endpoint without making a <code>define input:storage</code> declaration. * Create a Linked Data View right in <b><code><nowiki>virtrdf:DefaultQuadStorage</nowiki></code></b>; or add the view in other storage, and then copy it from there to <b><code><nowiki>virtrdf:DefaultQuadStorage</nowiki></code></b>. In either case, use: <verbatim> SPARQL ALTER QUAD STORAGE virtrdf:DefaultQuadStorage . . . </verbatim> * Use <b><code><nowiki>SYS_SPARQL_HOST</nowiki></code></b> table as [[http://docs.openlinksw.com/virtuoso/rdfsparql.html#rdfdefaultgraph][described here]], and set <b><code><nowiki>SH_DEFINES</nowiki></code></b> so it contains your favorite <code>define input:storage</code>. ---++ Related * [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]] * [[http://docs.openlinksw.com/virtuoso/rdfsparql.html][SPARQL]]
sioc:id
21f4d615f871ee317ae5515f553d247d
sioc:link
n2:VirtTipsAndTricksGuideQuadStorageInternally
sioc:has_container
n9:VOS
atom:title
VirtTipsAndTricksGuideQuadStorageInternally
atom:source
n9:VOS
atom:author
n6:this
atom:published
2017-06-13T05:36:47Z
atom:updated
2018-04-23T11:40:44Z