This HTML5 document contains 31 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/
n23http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtTipsAndTricksGuideQuadStorageInternally/sioc.
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
n19http://vos.openlinksw.com/dataspace/services/wiki/
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
n20http://virtuoso.openlinksw.com/whitepapers/relational%20rdf%20views%20mapping.
n15http://docs.openlinksw.com/virtuoso/rdfsparql.
dchttp://purl.org/dc/elements/1.1/
n12http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n18http://rdfs.org/sioc/services#
n7http://docs.openlinksw.com/virtuoso/rdfsparql.html#
siocthttp://rdfs.org/sioc/types#
n14http://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#
n16http://vos.openlinksw.com/dataspace/%28NULL%29/wiki/VOS/
siochttp://rdfs.org/sioc/ns#
n4http://vos.openlinksw.com/dataspace/person/owiki#
n6http://www.openlinksw.com/schemas/virtrdf#>
Subject Item
n2:VirtTipsAndTricksGuideQuadStorageInternally
rdf:type
sioct:Comment atom:Entry
dcterms:created
2017-06-13T05:36:47.953557
dcterms:modified
2017-06-13T05:36:47.953557
rdfs:label
VirtTipsAndTricksGuideQuadStorageInternally
foaf:maker
n4:this n14:this
dc:title
VirtTipsAndTricksGuideQuadStorageInternally
opl:isDescribedUsing
n23:rdf
sioc:has_creator
n11:this n12: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][created RDF view from relational data in Virtuoso]]. The RDF output therefor should have two graphs which reside in a quad storage named for ex.: <verbatim> http://localhost:8890/rdfv_demo/quad_storage/default </verbatim> Also the RDF is accessible over the SPARQL endpoint with the following query: <verbatim> define input:storage <http://localhost:8890/rdfv_demo/quad_storage/default> SELECT * WHERE { ?s ?p ?o } </verbatim> Now one could ask is there a way to define internally (once) that the quad storage should be included in queries to the SPARQL endpoint? So that the user does not have to define the <b>input:storage</b> explicitly in each query, like this: <verbatim> http://localhost:8890/sparql?query=select * where { ?s ?p ?o }&default-graph-uri=NULL&named-graph-uri=NULL </verbatim> All metadata about all RDF storages are kept in "system" graph &lt;http://www.openlinksw.com/schemas/virtrdf#&gt; ( namespace prefix <b>virtrdf:</b> ). Subjects of type <b>virtrdf:QuadStorage</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> 1 <b>virtrdf:DefaultQuadStorage</b> is what's in use if no input:storage specified. 1 <b>virtrdf:DefaultServiceStorage</b> will be used for SPARQL federation. 1 <b>virtrdf:SyncToQuads</b> is to keep the list of Linked Data Views that are translated into RDB2RDF triggers. There are two ways of using the Linked Data View from above in SPARQL endpoint without <b>define input:storage</b>: 1. Create Linked Data View right in <b>virtrdf:DefaultQuadStorage</b> or add the view in other storage and then copy it from there to <b>virtrdf:DefaultQuadStorage</b>. * In any of these two variants, use: <verbatim> SPARQL ALTER QUAD STORAGE virtrdf:DefaultQuadStorage . . . </verbatim> 1. Use <b><nowiki>SYS_SPARQL_HOST</b></nowiki> table as described [[http://docs.openlinksw.com/virtuoso/rdfsparql.html#rdfdefaultgraph][here]] and set <b><nowiki>SH_DEFINES</b></nowiki> so it contains your favorite define input:storage ---+++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
n18:has_services
n19:item
atom:title
VirtTipsAndTricksGuideQuadStorageInternally
sioc:links_to
n6: n7:rdfdefaultgraph n15:html n16:QuadStorage n16:SyncToQuads n20:html n16:DefaultQuadStorage n16:VirtTipsAndTricksGuide n16:DefaultServiceStorage
atom:source
n9:VOS
atom:author
n14:this
atom:published
2017-06-13T05:36:47Z
atom:updated
2017-06-13T05:36:47Z
sioc:topic
n9:VOS