[
https://issues.apache.org/jira/browse/JENA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14636898#comment-14636898
]
ASF GitHub Bot commented on JENA-491:
-------------------------------------
Github user ajs6f commented on a diff in the pull request:
https://github.com/apache/jena/pull/89#discussion_r35211560
--- Diff:
jena-arq/src/main/java/org/apache/jena/sparql/lang/arq/ARQParserBase.java ---
@@ -67,4 +79,25 @@ protected void jsonValueString(String image, long
currLine, long currCol)
protected void jsonValueNull(long currLine, long currCol)
{ handler.valueNull(currLine, currCol) ; }
protected void jsonValueVar(String image, long currLine, long currCol)
{ throw new NotImplemented("yet") ; }
+ protected ElementGroup createQueryPattern(Template t){
+ ElementGroup elg = new ElementGroup();
+ List<Quad> quads = t.getQuads();
+ HashMap<Node, BasicPattern> graphs = new HashMap<Node,
BasicPattern>();
--- End diff --
Just `new HashMap<>` is okay after Java 7.
> Extend CONSTRUCT to build quads
> -------------------------------
>
> Key: JENA-491
> URL: https://issues.apache.org/jira/browse/JENA-491
> Project: Apache Jena
> Issue Type: Improvement
> Components: ARQ, Fuseki
> Reporter: Andy Seaborne
> Labels: gsoc, gsoc2015, java, linked_data, rdf, sparql
>
> This would be an extension to SPARQL.
> 1/ Add use of GRAPH inside a CONSTRUCT template see SPARQL Update.
> 2/ Add conneg for quads to Fuseki.
> 3/ New QueryExecution operations execConstructQuads() and
> execConstructDataset()
> If asked for triples, and the CONSTRUCT generates quads, the named graph
> items are dropped - that is, only the default graph is returned. This is for
> commonality with RIOT.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)