Re: Does ARQ list:member work with TDB?

2012-07-13 Thread Andy Seaborne
On 13/07/12 20:11, Stephan Zednik wrote: Thanks. I updated my TDB installation and my application's jena dependencies to jena-arq 2.9.2 and jena-tdb 0.9.2 from 2.9.0-incubating and 0.9.0-incubating and that seems to have resolved the issue. That's my memory going - I remembered it used not to

Re: LARQ query with GRAPH clause

2012-07-13 Thread Andy Seaborne
On 13/07/12 17:04, Frank Budinsky wrote: Hi, We've noticed that this (unionDefaultGraph = true) query: SELECT ?subject ?predicate ?object ?score WHERE { (?object ?score) "cruise" . ?subject ?predicate ?object . } ORDER BY Desc(?s

Re: Multiple Bindings for single value

2012-07-13 Thread Joshua TAYLOR
On Fri, Jul 13, 2012 at 3:05 PM, Andy Seaborne wrote: >>> model.createTypedLiteral(new Long(ii))); > > That puts in a typed literal as xsd:long, because xsd:long reflects all the > range limitations of a Java Long. > > Try putting in a xsd:integer with: > > m.createTypedLiteral("0", XSDDatatype.XS

Re: Does ARQ list:member work with TDB?

2012-07-13 Thread Stephan Zednik
Thanks. I updated my TDB installation and my application's jena dependencies to jena-arq 2.9.2 and jena-tdb 0.9.2 from 2.9.0-incubating and 0.9.0-incubating and that seems to have resolved the issue. --Stephan On Jul 12, 2012, at 4:03 PM, Andy Seaborne wrote: > On 12/07/12 17:48, Stephan Zedn

Re: Multiple Bindings for single value

2012-07-13 Thread Andy Seaborne
Rob, >> model.createTypedLiteral(new Long(ii))); That puts in a typed literal as xsd:long, because xsd:long reflects all the range limitations of a Java Long. Try putting in a xsd:integer with: m.createTypedLiteral("0", XSDDatatype.XSDinteger) ; because it looks like inference is inferring

Re: Multiple Bindings for single value

2012-07-13 Thread Rob Hall
Update: I found that a small change is making the difference. It seems that the combination of* *axioms within my model and the language spec used when creating it are causing the duplication to occur. The following list denotes the base spec that I used when creating my reasoner; whether or not my

LARQ query with GRAPH clause

2012-07-13 Thread Frank Budinsky
Hi, We've noticed that this (unionDefaultGraph = true) query: SELECT ?subject ?predicate ?object ?score WHERE { (?object ?score) "cruise" . ?subject ?predicate ?object . } ORDER BY Desc(?score) runs significantly faster (i,e., 100x) t

Multiple Bindings for single value

2012-07-13 Thread Rob Hall
Hey, I have an OntModel with an attached pellet reasoner that I am querying with ARQ. It contains typed literals (for example, *"0"^^< http://www.w3.org/2001/XMLSchema#long>*) which I've added directly using the typed literal api as follows: *model.add(individual, Vocabulary.atIndex, model.cre

LARQ prefix search results missing hits

2012-07-13 Thread Osma Suominen
Hello! I'm trying to use a Fuseki SPARQL endpoint together with LARQ to create a system for accessing SKOS thesauri. The user interface includes an autocompletion widget. The idea is to use the LARQ index to make fast prefix queries on the concept labels. However, I've noticed that in some s

Re: Fuseki 0.2.3 performance / StatsMatcher warnings

2012-07-13 Thread Michael Brunnbauer
Hello Andy, On Thu, Jul 12, 2012 at 02:46:49PM +0100, Andy Seaborne wrote: > The things to try that occur to be are to simplify the situation: > > 1/ Run with only one dataset on the server Does not help. > 2/ Change the workload: do multiple calls of each query , so do > q1,q1,q1,q1,q2,q2,q2

Re: Fuseki 0.2.3 performance / StatsMatcher warnings

2012-07-13 Thread Andy Seaborne
> For 10K transactions, 3.2s; for 10K transactions and simple query 5.7s. Now 1.1s and 3.457s for 10k actions of which the JIT and misc setup is significant because running x10 N = 100k => Time = 4.242 for what was the 1.1s case. So that's faster (removing a bunch of unnecessary OS system ca

Re: Statements about Model

2012-07-13 Thread Ian Dickinson
On 13/07/12 10:05, Andy Seaborne wrote: On 13/07/12 09:08, Jeroen Kransen wrote: Hello, I would like to make statements about a Model, like giving it an identifier value or geo location, so I can query where the triple store is located. If this is not possible, making a statement about the Datas

Re: Statements about Model

2012-07-13 Thread Andy Seaborne
On 13/07/12 09:08, Jeroen Kransen wrote: Hello, I would like to make statements about a Model, like giving it an identifier value or geo location, so I can query where the triple store is located. If this is not possible, making a statement about the Dataset would be second best. How could this b

Statements about Model

2012-07-13 Thread Jeroen Kransen
Hello, I would like to make statements about a Model, like giving it an identifier value or geo location, so I can query where the triple store is located. If this is not possible, making a statement about the Dataset would be second best. How could this be done? Jeroen

Re: Slow reasoner update and SWRL problem

2012-07-13 Thread Dave Reynolds
On 13/07/12 07:58, Jan Schäfer wrote: Hi Dave, thank you for your answer. I'll comment below: Am 12.07.2012 22:50, schrieb Dave Reynolds: You'll have to ask on the Pellet list for such hints. I tried that before posting here, but so far no reaction. It's common in other reasoners to be able