Merge branch 'master' into 0.5.0-RC
diff --git a/README.md b/README.md
index 27a8fc5..802aa37 100644
--- a/README.md
+++ b/README.md
@@ -81,9 +81,9 @@
     [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
     [INFO]                                                                         
     [INFO] ------------------------------------------------------------------------
-    [INFO] Building Commons RDF 0.0.3-SNAPSHOT
+    [INFO] Building Commons RDF 0.5.0
         ....
-    [INFO] Installing /home/johndoe/src/commons-rdf/commons-rdf-api/target/commons-rdf-api-0.0.3-SNAPSHOT-javadoc.jar to /home/johndoe/.m2/repository/org/apache/commons/commons-rdf/commons-rdf-api/0.0.3-SNAPSHOT/commons-rdf-api-0.0.3-SNAPSHOT-javadoc.jar
+    [INFO] Installing /home/johndoe/src/commons-rdf/commons-rdf-api/target/commons-rdf-api-0.5.0-javadoc.jar to /home/johndoe/.m2/repository/org/apache/commons/commons-rdf/commons-rdf-api/0.5.0/commons-rdf-api-0.5.0-javadoc.jar
     [INFO] ------------------------------------------------------------------------
     [INFO] Reactor Summary:
     [INFO] 
@@ -108,7 +108,7 @@
     <dependency>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-rdf-api</artifactId>
-        <version>0.3.0-incubating</version>
+        <version>0.5.0</version>
     </dependency>
 
 .. and an equivalent `<dependency>` for the 
@@ -184,7 +184,7 @@
     <dependency>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-rdf-api</artifactId>
-        <version>0.3.0-incubating</version>
+        <version>0.5.0</version>
         <classifier>tests</classifier>
         <scope>test</scope>
     </dependency>
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index b192d2b..451a12d 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -5,6 +5,25 @@
 See https://issues.apache.org/jira/browse/COMMONSRDF/
 for issues fixed since the last release.
 
+## 0.5.0 (2017-11)
+
+This is the first release after graduation. Although there are not API changes
+nor big improvements, it updates different core aspects and dependencies.
+
+* [COMMONSRDF-47] - RDFSyntax should be interface, not enum
+* [COMMONSRDF-51] - RDF-1.1 specifies that language tags need to be compared using lower-case
+* [COMMONSRDF-52] - Duplicate Bundle-SymbolicName values across all components
+* [COMMONSRDF-55] - Stream of Jena quads use wrong IRI for default graph
+* [COMMONSRDF-57] - Use newer dependency Jena/RDF4J/JSONLD Java
+* [COMMONSRDF-62] - japicmp-maven-plugin breaking build because there is at least one incompatibility
+* [COMMONSRDF-63] - AbstractRDFParserTest.parseFile and parseFileContentType broken under Mac OS X
+* [COMMONSRDF-66] - JenaDatasetImpl.toString() throws RIOT exception
+* [COMMONSRDF-53] - Add ServiceLoader support in OSGi
+* [COMMONSRDF-54] - overloaded versions of RDF4J#asRDFTerm(org.eclipse.rdf4j.model.Value)
+* [COMMONSRDF-59] - Fix javadocs warnings
+* [COMMONSRDF-64] - Add Automatic-Module-Name to bundle manifest
+* [COMMONSRDF-65] - Upgrade to Jena 3.4.0, RDF4J 2.2.2
+* [COMMONSRDF-70] - Upgrade Jena version to 3.5.0
 
 ## 0.3.0-incubating (2016-11)
 
diff --git a/commons-rdf-examples/pom.xml b/commons-rdf-examples/pom.xml
index 995cfae..474cc7a 100644
--- a/commons-rdf-examples/pom.xml
+++ b/commons-rdf-examples/pom.xml
@@ -34,6 +34,7 @@
     <properties>
         <maven.compiler.source>1.8</maven.compiler.source>
         <maven.compiler.target>1.8</maven.compiler.target>
+        <commons.rdf.version>0.5.0</commons.rdf.version> <!-- update to latest version -->
     </properties>
 
     <build>
@@ -57,14 +58,12 @@
     	<dependency>
     		<groupId>org.apache.commons</groupId>
     		<artifactId>commons-rdf-api</artifactId>
-        <!-- update to latest version -->
-    		<version>0.3.0</version>
+    		<version>${commons.rdf.version}</version>
     	</dependency>
     	<dependency>
     		<groupId>org.apache.commons</groupId>
     		<artifactId>commons-rdf-simple</artifactId>
-        <!-- update to latest version -->
-    		<version>0.3.0</version>
+    		<version>${commons.rdf.version}</version>
     	</dependency>
     	<dependency>
     		<groupId>junit</groupId>
@@ -75,7 +74,7 @@
     </dependencies>
 
     <repositories>
-      <!-- Only needed if testing  release of commons-rdf -->
+        <!-- Only needed if testing  release of commons-rdf -->
     	<repository>
     		<id>apache.snapshots</id>
     		<name>Apache Snapshot Repository</name>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 6e05dd8..2e7c1fc 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -16,67 +16,66 @@
   limitations under the License.
 -->
 
-<!--
-  This file is used by the maven-changes-plugin to generate the release notes.
-  Useful ways of finding items to add to this file are:
-
-  1. Add items when you fix a bug or add a feature (this makes the
-  release process easy :-).
-
-  2. Do a Jira search for tickets closed since the previous release.
-
-  3. Use the report generated by the maven-changelog-plugin to see all
-  SVN commits. Set the project.properties' maven.changelog.range
-  property to the number of days since the last release.
-
-  To generate the release notes from this file:
-
-  mvn changes:announcement-generate -Prelease-notes [-Dchanges.version=nnn]
-
-  then tweak the formatting if necessary
-  and commit
-
-  The <action> type attribute can be add,update,fix,remove.
--->
-
 <document>
   <properties>
     <title>Apache Commons RDF Release Notes</title>
   </properties>
-  <!-- NOTE:
-    The description below is specially formatted so as to improve the layout of the generated release notes:
-    The parsing process removes all line feeds, replacing them with a single space.
-    The Velocity template in src/changes has been enhanced to replace pairs of adjacent spaces
-    with a new-line in the release notes. (These spaces are ignored when displaying HTML).
-    If the output is not quite correct, check for invisible trailing spaces!
-
-    N.B. The release notes template groups actions by type, and only extracts data for the current release.
-    The changes report outputs actions in the order they appear in this file.
-
-    To regenerate the release notes:
-    mvn changes:announcement-generate -Prelease-notes [-Dchanges.version=nnn]
-
-    Defining changes.version allows one to create the RN without first removing the SNAPSHOT suffix.
-  -->
 
   <body>
-    <release version="0.5.0" date="YYYY-MM-DD" description="Minor feature and bug fix release.">
+    <release version="0.5.0" date="2017-11-19" description="Minor feature and bug fix release.">
+        <action type="fix" issue="COMMONSRDF-47">
+            RDFSyntax should be interface, not enum
+        </action>
+        <action type="fix" issue="COMMONSRDF-51">
+            RDF-1.1 specifies that language tags need to be compared using lower-case
+        </action>
+        <action type="fix" issue="COMMONSRDF-52">
+            Duplicate Bundle-SymbolicName values across all components
+        </action>
+        <action type="fix" issue="COMMONSRDF-55">
+            Stream of Jena quads use wrong IRI for default graph
+        </action>
+        <action type="fix" issue="COMMONSRDF-57">
+            Use newer dependency Jena/RDF4J/JSONLD Java
+        </action>
+        <action type="fix" issue="COMMONSRDF-62">
+            japicmp-maven-plugin breaking build because there is at least one incompatibility
+        </action>
+        <action type="fix" issue="COMMONSRDF-63">
+            AbstractRDFParserTest.parseFile and parseFileContentType broken under Mac OS X
+        </action>
+        <action type="fix" issue="COMMONSRDF-66">
+            JenaDatasetImpl.toString() throws RIOT exception
+        </action>
+        <action type="add" issue="COMMONSRDF-53">
+            Add ServiceLoader support in OSGi
+        </action>
+        <action type="add" issue="COMMONSRDF-54">
+            overloaded versions of RDF4J#asRDFTerm(org.eclipse.rdf4j.model.Value)
+        </action>
+        <action type="add" issue="COMMONSRDF-59">
+            Fix javadocs warnings
+        </action>
+        <action type="add" issue="COMMONSRDF-64">
+            Add Automatic-Module-Name to bundle manifest
+        </action>
+        <action type="add" issue="COMMONSRDF-65">
+            Upgrade to Jena 3.4.0, RDF4J 2.2.2
+        </action>
+        <action type="add" issue="COMMONSRDF-70">
+            Upgrade Jena version to 3.5.0
+        </action>
+    </release>
+
+    <release version="0.3.0-incubating" date="2016-11-15" description="Minor feature and bug fix release.">
       <!-- TODO -->
     </release>
 
-    <release version="0.4.0" date="2017-10-29" description="DO NOT USE, this release was not approved by the Project Management Commitee">
+    <release version="0.2.0-incubating" date="2016-09-27" description="Minor feature and bug fix release.">
       <!-- TODO -->
     </release>
 
-    <release version="0.3.0-incubating" date="YYYY-MM-DD" description="Minor feature and bug fix release.">
-      <!-- TODO -->
-    </release>
-
-    <release version="0.2.0-incubating" date="YYYY-MM-DD" description="Minor feature and bug fix release.">
-      <!-- TODO -->
-    </release>
-
-    <release version="0.1.0-incubating" date="YYYY-MM-DD" description="Initial Release">
+    <release version="0.1.0-incubating" date="2016-08-24" description="Initial Release">
       <action type="add">
         Initial Release.
       </action>
diff --git a/src/site/markdown/download.md b/src/site/markdown/download.md
index 22499fe..0b84313 100644
--- a/src/site/markdown/download.md
+++ b/src/site/markdown/download.md
@@ -39,7 +39,7 @@
   <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-rdf-api</artifactId>
-      <version>0.3.0-incubating</version>
+      <version>0.5.0</version>
   </dependency>
 
   <!-- and at least one of the implementations: -->
@@ -47,22 +47,22 @@
   <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-rdf-simple</artifactId>
-      <version>0.3.0-incubating</version>
+      <version>0.5.0</version>
   </dependency>
   <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-rdf-jsonld-java</artifactId>
-      <version>0.3.0-incubating</version>
+      <version>0.5.0</version>
   </dependency>
   <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-rdf-jena</artifactId>
-      <version>0.3.0-incubating</version>
+      <version>0.5.0</version>
   </dependency>
   <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-rdf-rdf4j</artifactId>
-      <version>0.3.0-incubating</version>
+      <version>0.5.0</version>
   </dependency>
 
 </dependencies>
@@ -85,20 +85,16 @@
 which is also [mirrored to GitHub](http://github.com/apache/commons-rdf).
 
 
-### 0.3.0-incubating
+### 0.5.0
 
-**Apache Commons RDF 0.3.0-incubating** was published on 2016-11-15, and is available for download
+**Apache Commons RDF 0.5.0** was published on 2017-11-XX, and is available for download
 from official mirrors of the
-ASF Distribution Directory [incubator/commonsrdf](https://www.apache.org/dyn/closer.lua/incubator/commonsrdf/0.3.0-incubating/):
+ASF Distribution Directory [incubator/commonsrdf](https://www.apache.org/dyn/closer.lua/incubator/commonsrdf/0.5.0/):
 
-* [apache-commons-rdf-0.3.0-incubating-src.zip](https://www.apache.org/dyn/closer.lua/incubator/commonsrdf/0.3.0-incubating/apache-commons-rdf-0.3.0-incubating-src.zip)
-  ([asc](https://www.apache.org/dist/incubator/commonsrdf/0.3.0-incubating/apache-commons-rdf-0.3.0-incubating-src.zip.asc),
-  [md5](https://www.apache.org/dist/incubator/commonsrdf/0.3.0-incubating/apache-commons-rdf-0.3.0-incubating-src.zip.md5),
-  [sha1](https://www.apache.org/dist/incubator/commonsrdf/0.3.0-incubating/apache-commons-rdf-0.3.0-incubating-src.zip.sha1))
-* [apache-commons-rdf-0.3.0-incubating-src.tar.gz](https://www.apache.org/dyn/closer.lua/incubator/commonsrdf/0.3.0-incubating/apache-commons-rdf-0.3.0-incubating-src.zip)
-  ([asc](https://www.apache.org/dist/incubator/commonsrdf/0.3.0-incubating/apache-commons-rdf-0.3.0-incubating-src.tar.gz.asc),
-  [md5](https://www.apache.org/dist/incubator/commonsrdf/0.3.0-incubating/apache-commons-rdf-0.3.0-incubating-src.tar.gz.md5),
-  [sha1](https://www.apache.org/dist/incubator/commonsrdf/0.3.0-incubating/apache-commons-rdf-0.3.0-incubating-src.tar.gz.sha1))
+* [apache-commons-rdf-0.5.0-src.zip](https://www.apache.org/dyn/closer.lua/incubator/commonsrdf/0.5.0/apache-commons-rdf-0.5.0-src.zip)
+  ([asc](https://www.apache.org/dist/incubator/commonsrdf/0.5.0/apache-commons-rdf-0.5.0-src.zip.asc),
+  [md5](https://www.apache.org/dist/incubator/commonsrdf/0.5.0/apache-commons-rdf-0.5.0-src.zip.md5),
+  [sha1](https://www.apache.org/dist/incubator/commonsrdf/0.5.0/apache-commons-rdf-0.5.0-src.zip.sha1))
 
 After downloading the files, [check the signatures](https://www.apache.org/info/verification.html) 
 using the following [KEYS](https://www.apache.org/dist/incubator/commonsrdf/KEYS)
diff --git a/src/site/markdown/implementations.md b/src/site/markdown/implementations.md
index 9918f1d..c5f633e 100644
--- a/src/site/markdown/implementations.md
+++ b/src/site/markdown/implementations.md
@@ -61,7 +61,7 @@
 <dependency>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-rdf-simple</artifactId>
-    <version>0.3.0-incubating</version>
+    <version>0.5.0</version>
 </dependency>
 ```
 
@@ -85,7 +85,7 @@
 <dependency>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-rdf-jena</artifactId>
-    <version>0.3.0-incubating</version>
+    <version>0.5.0</version>
 </dependency>
 ```
 
@@ -124,7 +124,7 @@
 <dependency>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-rdf-rdf4j</artifactId>
-    <version>0.3.0-incubating</version>
+    <version>0.5.0</version>
 </dependency>
 ```
 
@@ -187,7 +187,7 @@
 <dependency>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-rdf-jsonld</artifactId>
-    <version>0.3.0-incubating</version>
+    <version>0.5.0</version>
 </dependency>
 ```
 
diff --git a/src/site/markdown/introduction.md b/src/site/markdown/introduction.md
index f0250b0..a6d75dc 100644
--- a/src/site/markdown/introduction.md
+++ b/src/site/markdown/introduction.md
@@ -86,9 +86,9 @@
 
 This tutorial assumes a classic Java project with local `.jar` files (say in your project's `lib/` folder), so download and add to your project's class path:
 
-* [commons-rdf-api-0.3.0-incubating.jar](https://repo.maven.apache.org/maven2/org/apache/commons/commons-rdf-api/0.3.0-incubating/commons-rdf-api-0.3.0-incubating.jar)
-([signature](https://repo.maven.apache.org/maven2/org/apache/commons/commons-rdf-api/0.3.0-incubating/commons-rdf-api-0.3.0-incubating.jar.asc))
-* [commons-rdf-simple-0.3.0-incubating.jar](https://repo.maven.apache.org/maven2/org/apache/commons/commons-rdf-simple/0.3.0-incubating/commons-rdf-simple-0.3.0-incubating.jar) ([signature](https://repo.maven.apache.org/maven2/org/apache/commons/commons-rdf-simple/0.3.0-incubating/commons-rdf-simple-0.3.0-incubating.jar.asc))
+* [commons-rdf-api-0.5.0.jar](https://repo.maven.apache.org/maven2/org/apache/commons/commons-rdf-api/0.5.0/commons-rdf-api-0.5.0.jar)
+([signature](https://repo.maven.apache.org/maven2/org/apache/commons/commons-rdf-api/0.5.0/commons-rdf-api-0.5.0.jar.asc))
+* [commons-rdf-simple-0.5.0.jar](https://repo.maven.apache.org/maven2/org/apache/commons/commons-rdf-simple/0.5.0/commons-rdf-simple-0.5.0.jar) ([signature](https://repo.maven.apache.org/maven2/org/apache/commons/commons-rdf-simple/0.5.0/commons-rdf-simple-0.5.0.jar.asc))
 
 _Tip: If you prefer you can [verify the  signatures](https://www.apache.org/info/verification.html) using the Apache Commons [KEYS](https://www.apache.org/dist/commons/KEYS)._
 
diff --git a/src/site/markdown/userguide.md b/src/site/markdown/userguide.md
index e09cfd7..7180ea6 100644
--- a/src/site/markdown/userguide.md
+++ b/src/site/markdown/userguide.md
@@ -21,7 +21,7 @@
 # User Guide
 
 This page shows some examples of a client using the Commons RDF API.
-It was last updated for version `0.3.0-incubating` of the
+It was last updated for version `0.5.0` of the
 Commons RDF [API](apidocs/).
 
 * [Introduction](#Introduction)
@@ -89,7 +89,7 @@
     <dependency>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-rdf-api</artifactId>
-        <version>0.3.0-incubating</version>
+        <version>0.5.0</version>
     </dependency>
 </dependencies>
 ```
@@ -133,7 +133,7 @@
     <dependency>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-rdf-simple</artifactId>
-        <version>0.3.0-incubating</version>
+        <version>0.5.0</version>
     </dependency>
 ```