[GitHub] jena pull request: JENA-966: Eliminating some unnecessary iterator...

2015-06-17 Thread ajs6f
GitHub user ajs6f opened a pull request: https://github.com/apache/jena/pull/79 JENA-966: Eliminating some unnecessary iterator types You can merge this pull request into a Git repository by running: $ git pull https://github.com/ajs6f/jena JENA-966 Alternatively you can

Re: Build failed in Jenkins: Jena_Development_Test_Windows » Apache Jena - Core #578

2015-06-17 Thread Claude Warren
hmmm Looking at the code.. The only unusual thing that the contract test does is build a class path that is then used to find the classes that are under test. I noticed in the Linux case it also failed the contract code. The issue was that it could not find the dependency in any of the

[jira] [Commented] (JENA-969) Problem with SelectBuilderTest after change to rdf:type serialization

2015-06-17 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/JENA-969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590328#comment-14590328 ] ASF GitHub Bot commented on JENA-969: - Github user ajs6f commented on the pull request:

[jira] [Commented] (JENA-966) LazyIterator

2015-06-17 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/JENA-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590304#comment-14590304 ] ASF GitHub Bot commented on JENA-966: - GitHub user ajs6f opened a pull request:

[GitHub] jena pull request: Fix jena-querybuilder test

2015-06-17 Thread ajs6f
Github user ajs6f commented on the pull request: https://github.com/apache/jena/pull/78#issuecomment-112912669 https://issues.apache.org/jira/browse/JENA-969 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your

[jira] [Created] (JENA-969) Problem with SelectBuilderTest after change to rdf:type serialization

2015-06-17 Thread A. Soroka (JIRA)
A. Soroka created JENA-969: -- Summary: Problem with SelectBuilderTest after change to rdf:type serialization Key: JENA-969 URL: https://issues.apache.org/jira/browse/JENA-969 Project: Apache Jena

[jira] [Commented] (JENA-966) LazyIterator

2015-06-17 Thread A. Soroka (JIRA)
[ https://issues.apache.org/jira/browse/JENA-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590306#comment-14590306 ] A. Soroka commented on JENA-966: The PR above actually removes the types in question. If

[jira] [Commented] (JENA-966) LazyIterator

2015-06-17 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590674#comment-14590674 ] Andy Seaborne commented on JENA-966: {{NiceIterator}} now uses {{Iter.map}} via

[jira] [Commented] (JENA-969) Problem with SelectBuilderTest after change to rdf:type serialization

2015-06-17 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/JENA-969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590751#comment-14590751 ] ASF subversion and git services commented on JENA-969: -- Commit

[GitHub] jena pull request: Fix jena-querybuilder test

2015-06-17 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/jena/pull/78 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

[jira] [Commented] (JENA-968) SPARQL printing : use a not full uri for rdf:type.

2015-06-17 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590762#comment-14590762 ] Andy Seaborne commented on JENA-968: Possible. The code has always used rdf:type when an

[jira] [Comment Edited] (JENA-966) LazyIterator

2015-06-17 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590522#comment-14590522 ] Andy Seaborne edited comment on JENA-966 at 6/17/15 8:32 PM: - I

[GitHub] jena pull request: Fix jena-querybuilder test

2015-06-17 Thread ajs6f
GitHub user ajs6f opened a pull request: https://github.com/apache/jena/pull/78 Fix jena-querybuilder test The change to how rdf:type is serialized seems to have zonked a test in `jena-querybuilder`. You can merge this pull request into a Git repository by running: $ git pull

[jira] [Commented] (JENA-966) LazyIterator

2015-06-17 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590523#comment-14590523 ] Andy Seaborne commented on JENA-966: I agree - delete it. LazyIterator

[jira] [Commented] (JENA-966) LazyIterator

2015-06-17 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590522#comment-14590522 ] Andy Seaborne commented on JENA-966: I don't think that is a good idea. LazyIterator

[jira] [Comment Edited] (JENA-966) LazyIterator

2015-06-17 Thread A. Soroka (JIRA)
[ https://issues.apache.org/jira/browse/JENA-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590530#comment-14590530 ] A. Soroka edited comment on JENA-966 at 6/17/15 8:35 PM: - Re:

[jira] [Commented] (JENA-966) LazyIterator

2015-06-17 Thread A. Soroka (JIRA)
[ https://issues.apache.org/jira/browse/JENA-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590530#comment-14590530 ] A. Soroka commented on JENA-966: Re: `Map1Iterator`, I didn't connect it to `Iter::map`, I

[GitHub] jena pull request:

2015-06-17 Thread afs
Github user afs commented on the pull request: https://github.com/apache/jena/commit/6570c25be8c6e958a5647a7d2c1e23466498b332#commitcomment-11733865 I only ran mvn -Pdev locally. As per comment on the PR - the test code should be robust to either correct form being produced. ---

[jira] [Commented] (JENA-966) LazyIterator

2015-06-17 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590570#comment-14590570 ] Andy Seaborne commented on JENA-966: Why is iterator refactoring important? (and Java8

[GitHub] jena pull request: Lucene index synchro on triple deletion (jena-t...

2015-06-17 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/jena/pull/53 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

[GitHub] jena pull request: Lucene index synchro on triple deletion (jena-t...

2015-06-17 Thread afs
Github user afs commented on the pull request: https://github.com/apache/jena/pull/53#issuecomment-112947756 PR merged. Many thanks for working on this. Please could we have some documentation for the feature? --- If your project is set up for it, you can reply to this

[jira] [Updated] (JENA-967) Suggested ARQ Extension function: afn:printf(...)

2015-06-17 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Seaborne updated JENA-967: --- Description: There are situations where it would be useful to be able to format strings bound to

[jira] [Created] (JENA-967) Suggested ARQ Extension function: afn:printf(...)

2015-06-17 Thread Stuart Williams (JIRA)
Stuart Williams created JENA-967: Summary: Suggested ARQ Extension function: afn:printf(...) Key: JENA-967 URL: https://issues.apache.org/jira/browse/JENA-967 Project: Apache Jena Issue

[jira] [Commented] (JENA-966) LazyIterator

2015-06-17 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14589458#comment-14589458 ] Andy Seaborne commented on JENA-966: There are no uses of this class in the codebase

Re: [jira] [Commented] (JENA-966) LazyIterator

2015-06-17 Thread Claude Warren
I wanted to use it in an application. Is there a replacement? On Wed, Jun 17, 2015 at 9:10 AM, Andy Seaborne (JIRA) j...@apache.org wrote: [

[jira] [Updated] (JENA-963) OpAsQuery does not process HAVING (COUNT(?value) 1) correctly.

2015-06-17 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Seaborne updated JENA-963: --- Attachment: Jena963_OpAsQuery.java Examples of all the group-by translations needed. OpAsQuery does

Re: [jira] [Commented] (JENA-966) LazyIterator

2015-06-17 Thread Andy Seaborne
On 17/06/15 10:07, Claude Warren wrote: I wanted to use it in an application. Is there a replacement? I just found IteratorDelayedInitialization in jena-base. What also springs to mind is looking at the iterators in Commons. They added forms at your suggestion of looking at jena-core

Re: [jira] [Commented] (JENA-966) LazyIterator

2015-06-17 Thread Bruno P. Kinoshita
I think there are interesting iterators in Commons Collections and some utility code in Commons Functor (unreleased) too. HTH Bruno From: Andy Seaborne a...@apache.org To: dev@jena.apache.org Sent: Wednesday, June 17, 2015 9:50 PM Subject: Re: [jira] [Commented] (JENA-966) LazyIterator

[jira] [Commented] (JENA-963) OpAsQuery does not process HAVING (COUNT(?value) 1) correctly.

2015-06-17 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14589519#comment-14589519 ] Andy Seaborne commented on JENA-963: These are the different cases: _Case 1_ {noformat}

Re: Build failed in Jenkins: Jena_Development_Test_Windows » Apache Jena - Core #578

2015-06-17 Thread Andy Seaborne
Correlation is not causality ... but! Claude, The Windows job stopped working last time around the time the version of the contract code was updated. Last time, I wiped the workspace out which seemed to get it working again - I don't know what's going on why. The maven output does not

[jira] [Comment Edited] (JENA-963) OpAsQuery does not process HAVING (COUNT(?value) 1) correctly.

2015-06-17 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14589519#comment-14589519 ] Andy Seaborne edited comment on JENA-963 at 6/17/15 9:30 AM: -

Re: [jira] [Commented] (JENA-966) LazyIterator

2015-06-17 Thread aj...@virginia.edu
How about using a Java 8 SupplierIteratorT? That's pretty lazy. --- A. Soroka The University of Virginia Library On Jun 17, 2015, at 5:07 AM, Claude Warren cla...@xenei.com wrote: I wanted to use it in an application. Is there a replacement? On Wed, Jun 17, 2015 at 9:10 AM, Andy Seaborne

[jira] [Created] (JENA-968) SPARQL printing : use a not full uri for rdf:type.

2015-06-17 Thread Andy Seaborne (JIRA)
Andy Seaborne created JENA-968: -- Summary: SPARQL printing : use a not full uri for rdf:type. Key: JENA-968 URL: https://issues.apache.org/jira/browse/JENA-968 Project: Apache Jena Issue Type:

Re: Definition of SPARQL variable pre-binding

2015-06-17 Thread Andy Seaborne
On 17/06/15 00:18, Holger Knublauch wrote: On 6/16/2015 22:03, Osma Suominen wrote: Here's a slightly relevant discussion about how to support something like pre-bound variables / parametrized queries in YASQE, a graphical SPARQL editor component in the YASGUI suite (and used by Fuseki among

[GitHub] jena pull request: Move arq.cmd.* to jena-base's jena.cmd

2015-06-17 Thread ajs6f
Github user ajs6f commented on the pull request: https://github.com/apache/jena/pull/77#issuecomment-112795366 Sorry, @afs, when you say Moving into jena-base is probably the best first step. are you referring to `ArqCmdGeneral`/`CmdGeneral`? --- If your project is set up for it,

[jira] [Commented] (JENA-968) SPARQL printing : use a not full uri for rdf:type.

2015-06-17 Thread Osma Suominen (JIRA)
[ https://issues.apache.org/jira/browse/JENA-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14589793#comment-14589793 ] Osma Suominen commented on JENA-968: Um, why not just unconditionally use {{a}}?

[jira] [Commented] (JENA-968) SPARQL printing : use a not full uri for rdf:type.

2015-06-17 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/JENA-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14589815#comment-14589815 ] ASF subversion and git services commented on JENA-968: -- Commit

[jira] [Resolved] (JENA-968) SPARQL printing : use a not full uri for rdf:type.

2015-06-17 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Seaborne resolved JENA-968. Resolution: Fixed Fix Version/s: Jena 3.0.0 Assignee: Andy Seaborne SPARQL printing

Re: Threading Issue in OntDocumentManager.loadImports

2015-06-17 Thread Andy Seaborne
Andrew, I may have something running and illustrating something. It is not quite as simple as changing modelFolderDir - ont-policy.rdf has E:/ references, and your description has file:/C:tmp/. I still intermittent 404s where the ont-policy isn't being applied. I'm not seeing what you see

[jira] [Commented] (JENA-966) LazyIterator

2015-06-17 Thread A. Soroka (JIRA)
[ https://issues.apache.org/jira/browse/JENA-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590002#comment-14590002 ] A. Soroka commented on JENA-966: There is also {{LateBindingIterator}} which is only used by

[jira] [Commented] (JENA-966) LazyIterator

2015-06-17 Thread A. Soroka (JIRA)
[ https://issues.apache.org/jira/browse/JENA-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590012#comment-14590012 ] A. Soroka commented on JENA-966: I think it could be argued that {{Map1Iterator}} should be

[jira] [Commented] (JENA-966) LazyIterator

2015-06-17 Thread A. Soroka (JIRA)
[ https://issues.apache.org/jira/browse/JENA-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590036#comment-14590036 ] A. Soroka commented on JENA-966: {{SingletonIterator}} could be plausibly be deprecated in

[jira] [Commented] (JENA-966) LazyIterator

2015-06-17 Thread A. Soroka (JIRA)
[ https://issues.apache.org/jira/browse/JENA-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590038#comment-14590038 ] A. Soroka commented on JENA-966: {{UniqueExtendedIterator}} is not used anywhere, and even

[GitHub] jena pull request: Move arq.cmd.* to jena-base's jena.cmd

2015-06-17 Thread ajs6f
Github user ajs6f commented on the pull request: https://github.com/apache/jena/pull/77#issuecomment-112862578 Okay, I've got `ModVersion` out to `jena-base` and moved `Version` into it as an inner class (since `ModVersion` is the only client of `Version`). We are still doing the the