You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commonsrdf.apache.org by st...@apache.org on 2015/04/23 15:50:11 UTC
incubator-commonsrdf git commit: COMMONSRDF-9 Update class diagram,
incl RDFTermfactory
Repository: incubator-commonsrdf
Updated Branches:
refs/heads/master dde82e2ef -> b16874682
COMMONSRDF-9 Update class diagram, incl RDFTermfactory
Created with http://www.nomnoml.com/
To save from nomnoml, zoom in and click the Photo button to
dowload a PNG
Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/b1687468
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/b1687468
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/b1687468
Branch: refs/heads/master
Commit: b16874682e8d3ab25d3335c81485d925ff360d4b
Parents: dde82e2
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Thu Apr 23 14:45:44 2015 +0100
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Thu Apr 23 14:49:37 2015 +0100
----------------------------------------------------------------------
src/site/markdown/index.md | 2 +-
src/site/resources/images/class-diagram.nomnoml | 28 +++++++++++++++++++
src/site/resources/images/class-diagram.png | Bin 0 -> 57632 bytes
3 files changed, 29 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/b1687468/src/site/markdown/index.md
----------------------------------------------------------------------
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index a3d116a..0318fdb 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -27,7 +27,7 @@ for Datasets and Quads.
A draft diagram of the interfaces which may be included in Commons RDF are:
-
+<a href="images/class-diagram.png"><img src="images/class-diagram.png" alt="Class diagram" style="height: 35em" /></a>
This library is still <strong>work in progress</strong>. Therefore everybody is
welcomed to [join the project](mail-lists.html) and contribute!
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/b1687468/src/site/resources/images/class-diagram.nomnoml
----------------------------------------------------------------------
diff --git a/src/site/resources/images/class-diagram.nomnoml b/src/site/resources/images/class-diagram.nomnoml
new file mode 100644
index 0000000..b309423
--- /dev/null
+++ b/src/site/resources/images/class-diagram.nomnoml
@@ -0,0 +1,28 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// To render, see http://www.nomnoml.com
+
+#fill: #bbccdd; #aabbcc
+[<abstract>RDFTermFactory]--[<abstract>Graph]
+[RDFTermFactory]--[<abstract>Triple]
+[RDFTermFactory]--[<abstract>RDFTerm]
+[Graph]->[Triple]
+[Triple]->[RDFTerm]
+[RDFTerm]<:-[<abstract>Literal]
+[RDFTerm]<:-[<abstract>BlankNodeOrIRI]
+[BlankNodeOrIRI]<:-[<abstract>BlankNode]
+[BlankNodeOrIRI]<:-[<abstract>IRI]
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/b1687468/src/site/resources/images/class-diagram.png
----------------------------------------------------------------------
diff --git a/src/site/resources/images/class-diagram.png b/src/site/resources/images/class-diagram.png
new file mode 100644
index 0000000..16b9c3b
Binary files /dev/null and b/src/site/resources/images/class-diagram.png differ