[ 
https://issues.apache.org/jira/browse/JENA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14379831#comment-14379831
 ] 

Andy Seaborne commented on JENA-491:
------------------------------------

The synatx should be like TriG (TriG allows the work GRAPH optionally)

{noformat}
CONSTRUCT {
    # Named graph
    GRAPH :g { ?s :p ?o }
    # Default graph
    { ?s :p ?o }
    # Named graph
    :g { ?s :p ?o }
    # Default graph
    ?s :p ?o
} WHERE { ... }

{noformat}

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

Reply via email to