[
https://issues.apache.org/jira/browse/JENA-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15086140#comment-15086140
]
ASF GitHub Bot commented on JENA-632:
-------------------------------------
Github user afs commented on a diff in the pull request:
https://github.com/apache/jena/pull/114#discussion_r48998941
--- Diff: jena-arq/Grammar/master.jj ---
@@ -100,6 +100,38 @@ import org.apache.jena.sparql.core.Quad ;
public class CLASS extends PARSERBASE
{
boolean allowAggregatesInExpressions = false ;
+
+ public static void main(String args[]) {
+ while (true) {
--- End diff --
New `CLASS` don't appear very often so this could be in a java source file
for each language
In fact, it only needs to work for language ARQ which is a superset of
SPARQL 1.1
Also - have you seen the command `arq.qparse`? It reads in a query and
prints it out (and performs internal checks on `.equals`, `.hashcode`, output
sameas input and the algebra generated.
> Generate JSON from SPARQL directly.
> -----------------------------------
>
> Key: JENA-632
> URL: https://issues.apache.org/jira/browse/JENA-632
> Project: Apache Jena
> Issue Type: Improvement
> Components: ARQ, Fuseki
> Reporter: Andy Seaborne
> Assignee: Bruno P. Kinoshita
> Priority: Minor
> Labels: java, javacc
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The capability to generate JSON directly from a SPARQL (or extended SPARQL)
> query would enable the creation of JSON data API over published linked data.
> This project would cover:
> # Design and publication of a design.
> # Refinement of design based on community feed
> # Implementation, including testing.
> # Refinement of implementation based on community feed
> Skills required: Java, some parser work, design and discussion with the user
> community, basic understanding of HTTP and content negotiation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)