Correct examples links
diff --git a/source/documentation/io/rdf-input.md b/source/documentation/io/rdf-input.md
index fd82e61..06aacc4 100644
--- a/source/documentation/io/rdf-input.md
+++ b/source/documentation/io/rdf-input.md
@@ -236,7 +236,7 @@
 
 ## Advanced examples
 
-Example code may be found in [jena-examples:arq/examples](https://github.com/apache/jena/tree/main/jena-examples/src/main/java/arq/examples/arq/examples/riot/).
+Example code may be found in [jena-examples:arq/examples](https://github.com/apache/jena/tree/main/jena-examples/src/main/java/arq/examples/riot/).
 
 ### Iterating over parser output
 
@@ -264,10 +264,10 @@
 process the stream of triples or quads produced
 by the parser so as to work in a streaming fashion.
 
-See [RIOT example 4](https://github.com/apache/jena/blob/main/jena-examples/src/main/java/arq/examples/arq/examples/riot/ExRIOT4_StreamRDF_Filter.java)
+See [RIOT example 4](https://github.com/apache/jena/blob/main/jena-examples/src/main/java/arq/examples/riot/ExRIOT4_StreamRDF_Filter.java)
 
 ### Add a new language
 
 The set of languages is not fixed. A new language, 
 together with a parser, can be added to RIOT as shown in
-[RIOT example 5](https://github.com/apache/jena/tree/main/jena-examples/src/main/java/arq/examples/arq/examples/riot/ExRIOT5_StreamRDFCollect.java)
+[RIOT example 5](https://github.com/apache/jena/tree/main/jena-examples/src/main/java/arq/examples/riot/ExRIOT5_StreamRDFCollect.java)
diff --git a/source/documentation/io/rdf-output.md b/source/documentation/io/rdf-output.md
index fe2791c..dfb9196 100644
--- a/source/documentation/io/rdf-output.md
+++ b/source/documentation/io/rdf-output.md
@@ -367,7 +367,7 @@
 cases.
 
 What can be done, and how it can be, is explained in the 
-[sample code](https://github.com/apache/jena/tree/main/jena-examples/src/main/java/arq/examples/arq/examples/riot/Ex_WriteJsonLD.java).
+[sample code](https://github.com/apache/jena/tree/main/jena-examples/src/main/java/arq/examples/riot/Ex_WriteJsonLD.java).
 
 ### RDF Binary {#rdf-binary}
 
@@ -402,7 +402,7 @@
 
 ## Examples {#examples}
 
-Example code may be found in [jena-examples:arq/examples](https://github.com/apache/jena/tree/main/jena-examples/src/main/java/arq/examples/arq/examples/riot/).
+Example code may be found in [jena-examples:arq/examples](https://github.com/apache/jena/tree/main/jena-examples/src/main/java/arq/examples/riot/).
 
 ### Ways to write a model
 
@@ -456,7 +456,7 @@
 ### Adding a new output format
 
 A complete example of adding a new output format is given in the example file: 
-[RIOT Output example 7](https://github.com/apache/jena/blob/main/jena-examples/src/main/java/arq/examples/arq/examples/riot/ExRIOT7_AddNewWriter.java).
+[RIOT Output example 7](https://github.com/apache/jena/blob/main/jena-examples/src/main/java/arq/examples/riot/ExRIOT7_AddNewWriter.java).
 
 ## Notes {#notes}