| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 5 | <title>Store 'uri'</title> |
| 6 | <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> |
| 7 | <link rel="home" href="index.html" title="Redland RDF Library Manual"> |
| 8 | <link rel="up" href="redland-storage-modules.html" title="Storage Modules"> |
| 9 | <link rel="prev" href="redland-storage-module-tstore.html" title="Store 'tstore'"> |
| 10 | <link rel="next" href="redland-storage-module-virtuoso.html" title="Store 'virtuoso'"> |
| 11 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> |
| 12 | <link rel="stylesheet" href="style.css" type="text/css"> |
| 13 | </head> |
| 14 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| 15 | <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> |
| 16 | <td><a accesskey="p" href="redland-storage-module-tstore.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> |
| 17 | <td><a accesskey="u" href="redland-storage-modules.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> |
| 18 | <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> |
| 19 | <th width="100%" align="center">Redland RDF Library Manual</th> |
| 20 | <td><a accesskey="n" href="redland-storage-module-virtuoso.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> |
| 21 | </tr></table> |
| 22 | <div class="section"> |
| 23 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> |
| 24 | <a name="redland-storage-module-uri"></a>Store 'uri'</h2></div></div></div> |
| 25 | <p>This module provides an in-memory model (internally, |
| 26 | using a <a class="xref" href="redland-storage-module-memory.html" title="Store 'memory'">the section called “Store 'memory'”</a>) initialised from the |
| 27 | RDF/XML content in a URI. The URI is given as the storage name and |
| 28 | on closing, the model is destroyed. This store was added in |
| 29 | Redland 1.0.15. In future it may be |
| 30 | extended to allow saving the store to the URI. |
| 31 | </p> |
| 32 | <p>There are no options for this store and contexts are not |
| 33 | supported.</p> |
| 34 | <p>Example:</p> |
| 35 | <pre class="programlisting"> |
| 36 | /* Read URI content into a store */ |
| 37 | storage=librdf_new_storage(world, "uri", |
| 38 | "http://example.org/content.rdf", NULL); |
| 39 | </pre> |
| 40 | <p>Summary:</p> |
| 41 | <div class="itemizedlist"><ul class="itemizedlist" type="disc"> |
| 42 | <li class="listitem"><p>In-memory</p></li> |
| 43 | <li class="listitem"><p>Suitable for small models</p></li> |
| 44 | <li class="listitem"><p>Easy access to web content in RDF/XML</p></li> |
| 45 | <li class="listitem"><p>Not indexed</p></li> |
| 46 | <li class="listitem"><p>No contexts</p></li> |
| 47 | </ul></div> |
| 48 | </div> |
| 49 | <div class="footer"> |
| 50 | <hr> |
| 51 | Generated by GTK-Doc V1.18</div> |
| 52 | </body> |
| 53 | </html> |