1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
-
- This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
- project.
-
- Copyright (C) 1998-2018 OpenLink Software
-
- This project is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; only version 2 of the License, dated June 1991.
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-->
<refentry id="fn_rdf_void_store">
<refmeta>
<refentrytitle>DB.DBA.RDF_VOID_STORE</refentrytitle>
<refmiscinfo>rdf</refmiscinfo>
</refmeta>
<refnamediv>
<refname>DB.DBA.RDF_VOID_STORE</refname>
<refpurpose>Collects statistics for a given graph and saves it.</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis id="fsyn_rdf_void_store">
<funcprototype id="fproto_rdf_void_store">
<funcdef><function>DB.DBA.RDF_VOID_STORE</function></funcdef>
<paramdef>in <parameter>graph</parameter> varchar</paramdef>
<paramdef>in <parameter>to_graph_name</parameter> varchar</paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="desc_rdf_void_store">
<title>Description</title>
<para>Collects statistics for the first given graph and saves the result into the second graph. For
correct results, the first graph should be loaded in the database before executing the function.</para>
</refsect1>
<refsect1 id="params_rdf_void_store">
<title>Parameters</title>
<refsect2><title>graph</title>
<para>the graph iri string to take statistics from</para>
</refsect2>
<refsect2><title>to_graph_name</title>
<para>the graph iri string to write the void data.</para>
</refsect2>
</refsect1>
<refsect1 id="examples_rdf_void_store">
<title>Examples</title>
<example id="ex_rdf_void_store"><title>Simple example</title>
<screen><![CDATA[
SQL>DB.DBA.RDF_VOID_STORE('http://www.openlinksw.com/blog/~kidehen','http://example.com');
Done. -- 201 msec.
SQL>sparql
select *
from <http://example.com>
where {?s ?p ?o}
limit 30;
s p o
VARCHAR VARCHAR VARCHAR
_______________________________________________________________________________
http://www.openlinksw.com/blog/~kidehen#Dataset http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://rdfs.org/ns/void#Dataset
http://www.openlinksw.com/blog/~kidehen#Dataset http://www.w3.org/2000/01/rdf-schema#seeAlso http://www.openlinksw.com/blog/~kidehen
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#statItem http://www.openlinksw.com/blog/~kidehen#Stat
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#statItem http://www.openlinksw.com/blog/~kidehen#channelStat
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#statItem http://www.openlinksw.com/blog/~kidehen#EntryStat
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#statItem http://www.openlinksw.com/blog/~kidehen#BlogPostStat
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#statItem http://www.openlinksw.com/blog/~kidehen#OrganizationStat
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#statItem http://www.openlinksw.com/blog/~kidehen#ServiceStat
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#statItem http://www.openlinksw.com/blog/~kidehen#CommentStat
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#statItem http://www.openlinksw.com/blog/~kidehen#PersonStat
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#statItem http://www.openlinksw.com/blog/~kidehen#PersonalProfileDocumentStat
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#statItem http://www.openlinksw.com/blog/~kidehen#FeedStat
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#statItem http://www.openlinksw.com/blog/~kidehen#BriefcaseStat
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#statItem http://www.openlinksw.com/blog/~kidehen#SpaceStat
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#statItem http://www.openlinksw.com/blog/~kidehen#WeblogStat
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#statItem http://www.openlinksw.com/blog/~kidehen#OnlineAccountStat
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#statItem http://www.openlinksw.com/blog/~kidehen#UserStat
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#statItem http://www.openlinksw.com/blog/~kidehen#PointStat
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#sparqlEndpoint http://leon:8894/sparql
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#containsLinks http://www.openlinksw.com/blog/~kidehen#sameAsLinks
http://www.openlinksw.com/blog/~kidehen#Dataset http://rdfs.org/ns/void#containsLinks http://www.openlinksw.com/blog/~kidehen#seeAlsoLinks
http://www.openlinksw.com/blog/~kidehen#Stat http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/NET/scovo#Item
http://www.openlinksw.com/blog/~kidehen#Stat http://www.w3.org/1999/02/22-rdf-syntax-ns#value 377
http://www.openlinksw.com/blog/~kidehen#Stat http://purl.org/NET/scovo#dimension http://rdfs.org/ns/void#numOfTriples
http://www.openlinksw.com/blog/~kidehen#sameAsLinks http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://rdfs.org/ns/void#Linkset
http://www.openlinksw.com/blog/~kidehen#sameAsLinks http://rdfs.org/ns/void#statItem http://www.openlinksw.com/blog/~kidehen#sameAsStat
http://www.openlinksw.com/blog/~kidehen#sameAsStat http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/NET/scovo#Item
http://www.openlinksw.com/blog/~kidehen#sameAsStat http://www.w3.org/1999/02/22-rdf-syntax-ns#value 2
http://www.openlinksw.com/blog/~kidehen#sameAsStat http://purl.org/NET/scovo#dimension http://www.openlinksw.com/blog/~kidehen#sameAsType
http://www.openlinksw.com/blog/~kidehen#sameAsType http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.openlinksw.com/blog/~kidehen#TypeOfLink
30 Rows. -- 340 msec.
SQL>
]]>
</screen>
</example>
</refsect1>
<refsect1 id="seealso_rdf_void_store">
<title>See Also</title>
<para><link linkend="fn_rdf_audit_metadata"><function>DB.DBA.RDF_AUDIT_METADATA</function></link></para>
<para><link linkend="fn_rdf_backup_metadata"><function>DB.DBA.RDF_BACKUP_METADATA</function></link></para>
<para><link linkend="fn_rdf_load_rdfxml_mt"><function>DB.DBA.RDF_LOAD_RDFXML_MT</function></link></para>
<para><link linkend="fn_ttlp"><function>DB.DBA.TTLP</function></link></para>
<para><link linkend="fn_ttlp_mt"><function>DB.DBA.TTLP_MT</function></link></para>
<para><link linkend="fn_rdf_triples_to_rdf_xml_text"><function>DB.DBA.RDF_TRIPLES_TO_RDF_XML_TEXT</function></link></para>
</refsect1>
</refentry>
|