You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "afs (via GitHub)" <gi...@apache.org> on 2023/03/02 13:18:14 UTC

[GitHub] [jena-site] afs commented on a diff in pull request #149: Add more Markdown code formatting

afs commented on code in PR #149:
URL: https://github.com/apache/jena-site/pull/149#discussion_r1123080040


##########
source/documentation/query/lateral-join.md:
##########
@@ -16,22 +16,26 @@ sub-patterns.
 Another way to think of a lateral join is as a `flatmap`.
 
 Examples:
-```
+
+```sparql
 ## Get exactly one label for each subject with type `:T`
 SELECT * {
-   ?s rdf:type :T
-   LATERAL {
-     SELECT * { ?s rdfs:label ?label } LIMIT 1
-   }
+  ?s rdf:type :T
+  LATERAL {
+    SELECT * { ?s rdfs:label ?label } LIMIT 1
+  }
 }
 ```
 
-```
+```sparql
 ## Get zero or one labels for each subject.
 SELECT * {
-   ?s ?p ?o
-   LATERAL { OPTIONAL { SELECT * ?s rdfs:label ?label } LIMIT 1}

Review Comment:
   Thanks for the fix.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org