commonsrdf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [2/4] incubator-commonsrdf git commit: Also show how to create a Graph.
Date Sat, 12 Mar 2016 18:22:21 GMT
Also show how to create a Graph.


Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/1850d8e3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/1850d8e3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/1850d8e3

Branch: refs/heads/master
Commit: 1850d8e3438336b1a60af2a41b1b8f86979e7055
Parents: 9303949
Author: Stian Soiland-Reyes <stain@apache.org>
Authored: Thu Dec 10 09:00:08 2015 +0000
Committer: Stian Soiland-Reyes <stain@apache.org>
Committed: Sat Mar 12 18:15:40 2016 +0000

----------------------------------------------------------------------
 src/site/markdown/implementations.md | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/1850d8e3/src/site/markdown/implementations.md
----------------------------------------------------------------------
diff --git a/src/site/markdown/implementations.md b/src/site/markdown/implementations.md
index d69c5d8..8ceba74 100644
--- a/src/site/markdown/implementations.md
+++ b/src/site/markdown/implementations.md
@@ -29,14 +29,14 @@ implementations.
 
 [org.apache.commons.rdf.simple](apidocs/org/apache/commons/rdf/simple/package-summary.html)
 is maintained as part of Commons RDF, and its main purpose is to verify and
-clarify the [test harness](testapidocs/org/apache/commons/rdf/api/package-summary.html).

+clarify the [test harness](testapidocs/org/apache/commons/rdf/api/package-summary.html).
 It is backed by simple (if not naive) in-memory POJO objects and have no external
 dependencies.
 
 Note that although this module fully implements the commons-rdf API, it should
 **not** be considered as a reference implementation. It is **not thread-safe** and
 probably **not scalable**, however it may be useful for testing and simple
-usage (e.g. prototyping). 
+usage (e.g. prototyping).
 
 **Usage:**
 
@@ -49,16 +49,18 @@ usage (e.g. prototyping).
 ```
 
 ```java
+import org.apache.commons.rdf.api.Graph;
 import org.apache.commons.rdf.api.RDFTermFactory;
 import org.apache.commons.rdf.simple.SimpleRDFTermFactory;
 
 RDFTermFactory rdfTermFactory = new SimpleRDFTermFactory();
+Graph graph = rdfTermFactory.createGraph();
 ```
 
 ## Planned implementations
 
 The information in this section should not be considered updated or
-authorative as it relies on external project planning.
+authoritative as it relies on external project planning.
 
 Feel free to [suggest changes](http://commonsrdf.incubator.apache.org/contributing.html)
to the
 [source code for this page](https://github.com/apache/incubator-commonsrdf/blob/master/src/site/markdown/implementations.md).
@@ -68,7 +70,7 @@ Feel free to [suggest changes](http://commonsrdf.incubator.apache.org/contributi
 ### Apache Jena
 
 [Apache Jena](http://jena.apache.org/) is considering a compatibility interface
-that provides and consumes Commons RDF objects 
+that provides and consumes Commons RDF objects
 ([JENA-1015](https://issues.apache.org/jira/browse/JENA-1015)).
 
 
@@ -80,15 +82,14 @@ that provides and consumes Commons RDF objects
 
 ### Apache Clerezza
 
-[Apache Clerezza](https://clerezza.apache.org/) is 
+[Apache Clerezza](https://clerezza.apache.org/) is
 aligning its [RDF core](https://github.com/apache/clerezza-rdf-core) module
 with Commons RDF.
 
 
 ### OWL API
 
-[OWL API](http://owlapi.sourceforge.net/) is considering the integration with 
-Commons RDF in OWLAPI 5 
+[OWL API](http://owlapi.sourceforge.net/) is considering the integration with
+Commons RDF in OWLAPI 5
 (<strike>[pull request #446](https://github.com/owlcs/owlapi/pull/446)</strike>,
 [pull request #452](https://github.com/owlcs/owlapi/pull/452)).
-


Mime
View raw message