You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by gi...@apache.org on 2021/09/26 08:56:17 UTC

[jena-site] branch asf-site updated: Updated site from main (238a744d3a14ba16e40ee5cfe19aa00862d0809a)

This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/jena-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new e7c7b62  Updated site from main (238a744d3a14ba16e40ee5cfe19aa00862d0809a)
e7c7b62 is described below

commit e7c7b6299c0f4be94c3f19383774e282a9ff4d70
Author: jenkins <bu...@apache.org>
AuthorDate: Sun Sep 26 08:56:14 2021 +0000

    Updated site from main (238a744d3a14ba16e40ee5cfe19aa00862d0809a)
---
 content/documentation/query/writing_propfuncs.html | 20 +++++++++-----------
 content/sitemap.xml                                |  4 ++--
 2 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/content/documentation/query/writing_propfuncs.html b/content/documentation/query/writing_propfuncs.html
index f8c00df..d668c59 100644
--- a/content/documentation/query/writing_propfuncs.html
+++ b/content/documentation/query/writing_propfuncs.html
@@ -285,25 +285,23 @@ Jena&rsquo;s <code>ExtendedIterator</code>. This can allow domain-specific value
 a lazy fashion.</p>
 <p><strong>Graph Operations</strong></p>
 <p>Additional operations on the current, or another, Graph can be achieved through the Execution Context.
-Once retrieved the Graph can be operated upon directly, queried or wrapped in a Model, if preferred.
-New Triples or Graphs can therefore be created as part of the Property Function.</p>
-<pre><code>  //Retrieve current Graph.
+Once retrieved the Graph can be operated upon directly, queried or wrapped in a Model, if preferred.</p>
+<pre><code>  // Retrieve current Graph.
   Graph graph = execCxt.getActiveGraph();
   
-  //Wrap Graph in a Model.
+  // Wrap Graph in a Model.
   Model model = ModelFactory.createModelForGraph(graph);
-
-  //Retrieve DatasetGraph of current Graph.
+</code></pre>
+<p>Access another graph:</p>
+<pre><code>  // Retrieve DatasetGraph of current Graph.
   DatasetGraph datasetGraph = execCxt.getDataset();
 
-  //Retrieve a different Graph in the Dataset.
+  // Retrieve a different Graph in the Dataset.
   Node otherGraphNode = NodeFactory.createURI(&quot;http://example.org/otherGraph&quot;);
   Graph otherGraph = datasetGraph.getNamedGraph(otherGraphNode);
 
-  //Create a new Graph in the Dataset, or overwrite an existing Named Graph.
-  Graph newGraph = ...
-  //Add data to the newGraph as retaining empty Graphs is implementation dependent.
-  datasetGraph.addGraph(otherGraphNode, newGraph);
+  // Access the other graph
+  ExtendedIterator&lt;Triple&gt; iter = otherGraph.find(...);
 </code></pre>
 
 
diff --git a/content/sitemap.xml b/content/sitemap.xml
index 351517f..2022f5d 100644
--- a/content/sitemap.xml
+++ b/content/sitemap.xml
@@ -234,7 +234,7 @@
   
   <url>
     <loc>https://jena.apache.org/documentation/query/writing_propfuncs.html</loc>
-    <lastmod>2020-04-29T21:07:12+01:00</lastmod>
+    <lastmod>2021-09-26T09:53:50+01:00</lastmod>
   </url>
   
   <url>
@@ -314,7 +314,7 @@
   
   <url>
     <loc>https://jena.apache.org/documentation.html</loc>
-    <lastmod>2021-09-19T09:51:17+01:00</lastmod>
+    <lastmod>2021-09-26T09:53:50+01:00</lastmod>
   </url>
   
   <url>