You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by bu...@apache.org on 2013/03/09 15:12:57 UTC
svn commit: r853749 - in /websites/staging/jena/trunk/content: ./
documentation/io/output.html
Author: buildbot
Date: Sat Mar 9 14:12:57 2013
New Revision: 853749
Log:
Staging update by buildbot for jena
Modified:
websites/staging/jena/trunk/content/ (props changed)
websites/staging/jena/trunk/content/documentation/io/output.html
Propchange: websites/staging/jena/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Mar 9 14:12:57 2013
@@ -1 +1 @@
-1454711
+1454713
Modified: websites/staging/jena/trunk/content/documentation/io/output.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/io/output.html (original)
+++ websites/staging/jena/trunk/content/documentation/io/output.html Sat Mar 9 14:12:57 2013
@@ -21,7 +21,7 @@
<link href="/css/jena.css" rel="stylesheet" type="text/css">
- <title>Apache Jena - Reading and Writing RDF in Apache Jena</title>
+ <title>Apache Jena - Writing RDF in Apache Jena</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script src="/js/jena-navigation.js" type="text/javascript"></script>
@@ -155,7 +155,7 @@
</div>
<div id="content">
- <h1 class="title">Reading and Writing RDF in Apache Jena</h1>
+ <h1 class="title">Writing RDF in Apache Jena</h1>
<p>This page describes the RIOT (RDF I/O technology) output capabilities.</p>
<p>See <a href="index.html">Reading RDF</a> for details of the RIOT Reader system.</p>
<p>See <a href="rdfxml_howto.html#advanced-rdfxml-output">Advanced RDF/XML Output</a>
@@ -183,11 +183,11 @@ either via the <code>RDFDataMgr</code> <
<p>or using the <code>model</code> API:</p>
-<div class="codehilite"><pre>model.write(output, "<span class="nt"><i></span>format<span class="nt"></i></span>") ;
+<div class="codehilite"><pre><span class="n">model</span><span class="o">.</span><span class="nb">write</span><span class="p">(</span><span class="n">output</span><span class="p">,</span> <span class="s">"format"</span><span class="p">)</span> <span class="p">;</span>
</pre></div>
-<p>The <code><i>format</i></code> names are described below; they are a superset of the
+<p>The <em><code>format</code></em> names are described below; they are a superset of the
names Jena has supported before RIOT.</p>
<p>Many variations of these methods exist. See the full javadoc for details.</p>
<h2 id="rdfformat"><code>RDFFormat</code></h2>
@@ -210,7 +210,7 @@ to identfy the language and variant to b
for the standard supported formats.</p>
<p>Note:</p>
<ul>
-<li>RDF/JSON is not JSON-LD. See the <a href="rdf-json.html">description of RDF/JSON</a>].</li>
+<li>RDF/JSON is not JSON-LD. See the <a href="rdf-json.html">description of RDF/JSON</a>.</li>
<li>N3 is treated as Turtle for output.</li>
</ul>
<h2 id="rdfformats-and-jena-syntax-names"><code>RDFFormat</code>s and Jena syntax names</h2>
@@ -436,6 +436,8 @@ but always writes one complete triple on
</pre></div>
+<p> </p>
+
<table>
<thead>
<tr>
@@ -464,20 +466,21 @@ Compression ratios of x8-x10 can often b
<p>The N-Triples writer makes no attempt to make it's output readable.
It uses internal blank nodes to ensure correct labeling without
needing any writer state.</p>
-<p><em>:BX2Dc2b3371X3A13cf8faaf53X3AX2D7fff <a href="http://xmlns.com/foaf/0.1/name">http://xmlns.com/foaf/0.1/name</a> "Bob" .
-<br />
-<a href="http://example/book">http://example/book</a> <a href="http://purl.org/dc/elements/1.1/author">http://purl.org/dc/elements/1.1/author</a> </em>:BX2Dc2b3371X3A13cf8faaf53X3AX2D7ffe .
- <em>:BX2Dc2b3371X3A13cf8faaf53X3AX2D7ffd <a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#rest">http://www.w3.org/1999/02/22-rdf-syntax-ns#rest</a> <a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil">http://www.w3.org/1999/02/22-rdf-syntax-ns#nil</a> .
-<br />
-</em>:BX2Dc2b3371X3A13cf8faaf53X3AX2D7ffd <a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#first">http://www.w3.org/1999/02/22-rdf-syntax-ns#first</a> <a href="http://example/b">http://example/b</a> .
- <a href="http://example/a">http://example/a</a> <a href="http://xmlns.com/foaf/0.1/knows">http://xmlns.com/foaf/0.1/knows</a> <em>:BX2Dc2b3371X3A13cf8faaf53X3AX2D7fff .
- <a href="http://example/a">http://example/a</a> <a href="http://xmlns.com/foaf/0.1/name">http://xmlns.com/foaf/0.1/name</a> "Alice" .
-<br />
-<a href="http://example/a">http://example/a</a> <a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type">http://www.w3.org/1999/02/22-rdf-syntax-ns#type</a> <a href="http://xmlns.com/foaf/0.1/Person">http://xmlns.com/foaf/0.1/Person</a> .
-<br />
-</em>:BX2Dc2b3371X3A13cf8faaf53X3AX2D7ffe <a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#rest">http://www.w3.org/1999/02/22-rdf-syntax-ns#rest</a> <em>:BX2Dc2b3371X3A13cf8faaf53X3AX2D7ffd .
- </em>:BX2Dc2b3371X3A13cf8faaf53X3AX2D7ffe <a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#first">http://www.w3.org/1999/02/22-rdf-syntax-ns#first</a> <a href="http://example/a">http://example/a</a> .
- <a href="http://example/b">http://example/b</a> <a href="http://xmlns.com/foaf/0.1/knows">http://xmlns.com/foaf/0.1/knows</a> <a href="http://example/a">http://example/a</a> .</p>
+<div class="codehilite"><pre><span class="err">_:BX2Dc2b3371X3A13cf8faaf53X3AX2D7fff</span> <span class="err"><http:</span><span class="c1">//xmlns.com/foaf/0.1/name> "Bob" .</span>
+<span class="err"><http:</span><span class="c1">//example/book> <http://purl.org/dc/elements/1.1/author> _:BX2Dc2b3371X3A13cf8faaf53X3AX2D7ffe .</span>
+<span class="err">_:BX2Dc2b3371X3A13cf8faaf53X3AX2D7ffd</span> <span class="err"><http:</span><span class="c1">//www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .</span>
+<span class="err">_:BX2Dc2b3371X3A13cf8faaf53X3AX2D7ffd</span> <span class="err"><http:</span><span class="c1">//www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example/b> .</span>
+<span class="err"><http:</span><span class="c1">//example/a> <http://xmlns.com/foaf/0.1/knows> _:BX2Dc2b3371X3A13cf8faaf53X3AX2D7fff .</span>
+<span class="err"><http:</span><span class="c1">//example/a> <http://xmlns.com/foaf/0.1/name> "Alice" .</span>
+<span class="err"><http:</span><span class="c1">//example/a> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .</span>
+<span class="err">_:BX2Dc2b3371X3A13cf8faaf53X3AX2D7ffe</span> <span class="err"><http:</span><span class="c1">//www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:BX2Dc2b3371X3A13cf8faaf53X3AX2D7ffd .</span>
+<span class="err">_:BX2Dc2b3371X3A13cf8faaf53X3AX2D7ffe</span> <span class="err"><http:</span><span class="c1">//www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example/a> .</span>
+<span class="err"><http:</span><span class="c1">//example/b> <http://xmlns.com/foaf/0.1/knows> <http://example/a> .</span>
+</pre></div>
+
+
+<p> </p>
+
<table>
<thead>
<tr>