Github user afs commented on a diff in the pull request: https://github.com/apache/jena/pull/89#discussion_r35198277 --- Diff: jena-arq/Grammar/arq.jj --- @@ -500,6 +498,27 @@ void QuadsNotTriples(QuadAccSink acc) : {Node gn ; Node prev = acc.getGraph() ; <RBRACE> { setAccGraph(acc, prev) ; } } +void ConstructQuads(QuadAcc acc) : {} +{ + (TriplesTemplate(acc))? + ( + ConstructQuadsNotTriples(acc) + (<DOT>)? + (TriplesTemplate(acc))? + )* +} +void ConstructQuadsNotTriples(QuadAccSink acc) : {Node gn = org.apache.jena.sparql.core.Quad.defaultGraphNodeGenerated ; Node prev = acc.getGraph() ; } +{ --- End diff -- No need to write the package name - add an import then this code can be shorter.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---