[jira] [Assigned] (JENA-959) riot: gzip output option

2015-08-16 Thread Andy Seaborne (JIRA)

 [ 
https://issues.apache.org/jira/browse/JENA-959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne reassigned JENA-959:
--

Assignee: Andy Seaborne

> riot: gzip output option
> 
>
> Key: JENA-959
> URL: https://issues.apache.org/jira/browse/JENA-959
> Project: Apache Jena
>  Issue Type: New Feature
>  Components: RIOT
>Reporter: Stian Soiland-Reyes
>Assignee: Andy Seaborne
>Priority: Trivial
> Fix For: Jena 3.0.1
>
> Attachments: Jena-959-example.patch
>
>
> The riot command line tool supports incoming file formats like *.ttl.gz, but 
> there is no (obvious) way to also output in compressed formats.
> This can of course also be achieved with piping and gzip, but that is easily 
> platform-specific. Writing *.format.gz with the command line is probably as 
> much within remit of someone using riot on the command line as for reading 
> those.
> So my suggestion is to support extension .gz in the various --output options 
> to enabled outputting via a GzipOutputStream -- 
> http://docs.oracle.com/javase/7/docs/api/java/util/zip/GZIPOutputStream.html
> For example:
> {code}
> stain@biggie-utopic:~/Downloads$ riot --output=nquads.gz 
> chembl_20.0_target_targetcmpt_ls.ttl.gz 
> Not recognized as an RDF language : 'nquads.gz'
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (JENA-959) riot: gzip output option

2015-08-16 Thread Andy Seaborne (JIRA)

 [ 
https://issues.apache.org/jira/browse/JENA-959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne resolved JENA-959.

   Resolution: Implemented
Fix Version/s: Jena 3.0.1

> riot: gzip output option
> 
>
> Key: JENA-959
> URL: https://issues.apache.org/jira/browse/JENA-959
> Project: Apache Jena
>  Issue Type: New Feature
>  Components: RIOT
>Reporter: Stian Soiland-Reyes
>Assignee: Andy Seaborne
>Priority: Trivial
> Fix For: Jena 3.0.1
>
> Attachments: Jena-959-example.patch
>
>
> The riot command line tool supports incoming file formats like *.ttl.gz, but 
> there is no (obvious) way to also output in compressed formats.
> This can of course also be achieved with piping and gzip, but that is easily 
> platform-specific. Writing *.format.gz with the command line is probably as 
> much within remit of someone using riot on the command line as for reading 
> those.
> So my suggestion is to support extension .gz in the various --output options 
> to enabled outputting via a GzipOutputStream -- 
> http://docs.oracle.com/javase/7/docs/api/java/util/zip/GZIPOutputStream.html
> For example:
> {code}
> stain@biggie-utopic:~/Downloads$ riot --output=nquads.gz 
> chembl_20.0_target_targetcmpt_ls.ttl.gz 
> Not recognized as an RDF language : 'nquads.gz'
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (JENA-959) riot: gzip output option

2015-08-16 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on JENA-959:
--

Commit 43efe529cb99aeaca6e94e91ac819e5ce4c20c2c in jena's branch 
refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=43efe52 ]

JENA-959 : Add --compress.

> riot: gzip output option
> 
>
> Key: JENA-959
> URL: https://issues.apache.org/jira/browse/JENA-959
> Project: Apache Jena
>  Issue Type: New Feature
>  Components: RIOT
>Reporter: Stian Soiland-Reyes
>Priority: Trivial
> Attachments: Jena-959-example.patch
>
>
> The riot command line tool supports incoming file formats like *.ttl.gz, but 
> there is no (obvious) way to also output in compressed formats.
> This can of course also be achieved with piping and gzip, but that is easily 
> platform-specific. Writing *.format.gz with the command line is probably as 
> much within remit of someone using riot on the command line as for reading 
> those.
> So my suggestion is to support extension .gz in the various --output options 
> to enabled outputting via a GzipOutputStream -- 
> http://docs.oracle.com/javase/7/docs/api/java/util/zip/GZIPOutputStream.html
> For example:
> {code}
> stain@biggie-utopic:~/Downloads$ riot --output=nquads.gz 
> chembl_20.0_target_targetcmpt_ls.ttl.gz 
> Not recognized as an RDF language : 'nquads.gz'
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Fwd: Final Deliveries of GSoC Project (JENA-491)

2015-08-16 Thread Andy Seaborne

Hi - there are some problems with PR 91.

PR 91 contains changes to jena-arq as well as jena-fuseki-core. Does PR 
91 replace PR 89 or does PR 91 contain some out-of-date update now in PR 
89? Or something else?


(
Line 1 of PR 91 as a diff is:
diff --git a/jena-arq/Grammar/arq.jj b/jena-arq/Grammar/arq.jj
)

Please produce a PR which is only the changes to fuseki, and should eb 
applied after the ARQ changes.


Also: I can only see one new test in TestQuery.java - I was expecting 
more such as using different MIME types for the content negotiation.


Andy

On 15/08/15 10:21, Qihong Lin wrote:

Hi,

Please check my updates of the 3 tasks blow:

1) jena/arq: in master branch (to be merged first)
In PR 89, I added some more tests in TestAPI and TS_Script. The bug of
construct quad projection on exeConstructTriples() has been fixed,
with the tests of 4 cases (commit 03a321f).

2) jena/fuseki: in JENA-491 branch
In PR 91, see commit 0eb28d8. You can try out
org.apache.jena.fuseki.TestQuery.query_construct_01()/query_construct_quad_01()

3) doc: in jena web page (wiki)
I can see the staging page [1]. But when I try the "Improve this Page"
with [1], it redirects me to [2]. I can not find construct_quad.mdtext
under [2]. I also try to open [3], with "Not Found" error. Could you
help me please?

regards,
Qihong

[1] http://jena.staging.apache.org/documentation/query/construct-quad.html
[2] https://cms.apache.org/jena/wc/edit/anonymous-LWMAVL/trunk/
[3] http://jena.apache.org/documentation/query/construct-quad.html