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/06/24 15:36:23 UTC

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

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

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

commit a0488ceedf7abff29d3749f34fef04d33fc41dcf
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)