You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/17 18:44:00 UTC

[jira] [Commented] (JENA-369) Improve the use of syntactic forms when outputing SPARQL

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

ASF GitHub Bot commented on JENA-369:
-------------------------------------

GitHub user afs opened a pull request:

    https://github.com/apache/jena/pull/263

    Writer updates

    JENA-369: Some lists in WHERE blocks are printed in ()-form - in particular, property functions are likely to be done this way.
    
    JENA-1361: Fix bug in update output.
    
    The existing testing already covers the changes in `TestSerialziation`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/afs/jena writer-updates

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jena/pull/263.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #263
    
----
commit bb7af3b4d1a7a11c1b48a31917d17c96d1291109
Author: Andy Seaborne <an...@apache.org>
Date:   2017-06-17T14:41:23Z

    General tidying up.

commit d377dd141028ae81ed373b86d3fc8f26cc898447
Author: Andy Seaborne <an...@apache.org>
Date:   2017-06-17T14:44:48Z

    JENA-1361: Convert back to blank nodes.

commit 78217659c3a4185a06cc0ef69b3ef6093fcb6c0d
Author: Andy Seaborne <an...@apache.org>
Date:   2017-06-17T14:45:20Z

    Support --fixup of prefix names.

commit 9a3a072e14203e2a6712bfc2444cf94538f49e92
Author: Andy Seaborne <an...@apache.org>
Date:   2017-06-17T14:45:36Z

    Tidy up.

commit b68a996e571a65a1f55aa0859e01decc5a7aae1d
Author: Andy Seaborne <an...@apache.org>
Date:   2017-06-17T14:48:12Z

    JENA-369: Output pretty lists in basic graph patterns.
    
    This includes property functions.
    Conversion is cautious - it looks for the triples as the parser
    might output them.
    
    Nested bnodes structures in lists are not converted back.

----


> Improve the use of syntactic forms when outputing SPARQL 
> ---------------------------------------------------------
>
>                 Key: JENA-369
>                 URL: https://issues.apache.org/jira/browse/JENA-369
>             Project: Apache Jena
>          Issue Type: Improvement
>            Reporter: Andy Seaborne
>            Priority: Minor
>
> Example:
> PREFIX : <http://example/>
> SELECT * { :s :p :o ; :p1 :o2 }
> and "qparse --file Q.rq" 
> does not use ";" in the output formatted update request.
> Applies to SPARQL Query and SPARQL Update.
> Still should preserve the order of triples to be clear as to the relationship of input and output syntax but it can combine adjacent triple patterns using ";"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)