You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2025/04/09 15:54:39 UTC

(jena-site) branch format-syntax created (now 30463d4d5)

This is an automated email from the ASF dual-hosted git repository.

andy pushed a change to branch format-syntax
in repository https://gitbox.apache.org/repos/asf/jena-site.git


      at 30463d4d5 Use monospace for grammar

This branch includes the following new commits:

     new 30463d4d5 Use monospace for grammar

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(jena-site) 01/01: Use monospace for grammar

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

andy pushed a commit to branch format-syntax
in repository https://gitbox.apache.org/repos/asf/jena-site.git

commit 30463d4d516c39041d7941ec6d99913b083d6529
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Wed Apr 9 16:54:26 2025 +0100

    Use monospace for grammar
---
 source/documentation/query/construct-quad.md | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/source/documentation/query/construct-quad.md b/source/documentation/query/construct-quad.md
index 624a59757..d4e8360f0 100644
--- a/source/documentation/query/construct-quad.md
+++ b/source/documentation/query/construct-quad.md
@@ -60,14 +60,18 @@ and no complex graph patterns are allowed in the short form). The keyword
 
 The normative definition of the syntax grammar of the query string is defined in this table:
 
+<div style="font-family: monospace">
+
 Rule                      |     | Expression
 --------------------------|-----|------------------------
-ConstructQuery            | ::= | 'CONSTRUCT' ( ConstructTemplate DatasetClause\* WhereClause SolutionModifier &#x7C; DatasetClause\* 'WHERE'  '\{' ConstructQuads '\}' SolutionModifier )
-ConstructTemplate         | ::= | '\{' ConstructQuads '\}'
+ConstructQuery            | ::= | 'CONSTRUCT' ( ConstructTemplateQ DatasetClause\* WhereClause SolutionModifier<br/> &#x7C; DatasetClause\* 'WHERE'  ConstructTemplateQ SolutionModifier )
+ConstructTemplateQ        | ::= | '\{' ConstructQuads '\}'
 ConstructQuads            | ::= | TriplesTemplate? ( ConstructQuadsNotTriples '.'? TriplesTemplate? )\*
 ConstructQuadsNotTriples  | ::= | ( 'GRAPH'  VarOrBlankNodeIri )? '\{' TriplesTemplate? '\}'
 TriplesTemplate           | ::= | TriplesSameSubject ( '.' TriplesTemplate? )?
 
+</div>
+
 `DatasetClause`, `WhereClause`, `SolutionModifier`, `TriplesTemplate`, `VarOrIri`,
 `TriplesSameSubject` are as for the [SPARQL 1.1 Grammar](http://www.w3.org/TR/sparql11-query/#grammar)