Re: bottom-up semantics

2019-02-01 Thread David Jordan
I have an unusual request for this group, but I am trying to remember the name of a particular application development platform that I believe was based on the semantic web. I believe this is a commercial product, books were published on it, but I simply cannot remember the name. They presented at

porting Jena onto new storage facility

2016-04-26 Thread David Jordan
I am considering porting Jena onto a new storage framework. I had looked at doing this a few years ago, but never did it. Now may be a better time. It also runs in a cloud environment that supports multi-processing, etc. But the first step is mapping of the data to the storage. I briefly looked

RE: porting Jena onto new storage facility

2016-04-26 Thread David Jordan
of Virginia Library > On Apr 26, 2016, at 11:20 AM, David Jordan wrote: > > I am considering porting Jena onto a new storage framework. I had looked at > doing this a few years ago, but never did it. Now may be a better time. It > also runs in a cloud environment that supports m

RE: porting Jena onto new storage facility

2016-04-26 Thread David Jordan
Thanks Andy! -Original Message- From: Andy Seaborne [mailto:a...@apache.org] Sent: Tuesday, April 26, 2016 1:09 PM To: users@jena.apache.org Subject: Re: porting Jena onto new storage facility On 26/04/16 18:04, David Jordan wrote: > Thanks. Most of these are in pack

RE: porting Jena onto new storage facility

2016-04-26 Thread David Jordan
18:04, David Jordan wrote: > Thanks. Most of these are in package org.apache.jena.graph, but not the > DatasetGraph interface. > > -Original Message- > From: A. Soroka [mailto:aj...@virginia.edu] > Sent: Tuesday, April 26, 2016 11:56 AM > To: users@jena.apache.org &

Re: Statistic of Data in owl file

2016-10-18 Thread David Jordan
No reason to overwrite anything, each event will have attributes, including a date. On Tue, Oct 18, 2016 at 2:27 PM, Andy Seaborne wrote: > neha, > > Your question is too open ended. Sounds like the whole exercise you have > been asked to do. > > What have you tried? > > Try something and show

Re: Benefits of Semantic web

2017-02-10 Thread David Jordan
I agree that have some discussion about this is very useful. Many of us have tried to evangelize semantic web technologies in our organizations and have struggled and failed because we cannot provide sufficient justification for using the technology. Hearing the specific value provided that can con

Re: What might cause a writeAll stack overflow?

2017-10-05 Thread David Jordan
Recursion. Try increasing the stack size of your JVM when you run it. On Thu, Oct 5, 2017 at 9:18 PM, Steve Vestal wrote: > What might cause > > myOntology.writeAll(outStream, "RDF/XML"); > > (where myOntology is an OntModel) to get a stack overflow > > java.lang.StackOverflowError

RE: OutOfMemoryError with tdbquery

2014-03-28 Thread David Jordan
The first question to answer is how much memory have you allocated in the Java heap. You can control this. The default JVM heap size will very likely be too small. -Original Message- From: Timothy Lebo [mailto:le...@rpi.edu] Sent: Friday, March 28, 2014 10:41 AM To: users@jena.apache.or

flat files versus TDB

2014-04-01 Thread David Jordan
better choice, but I’d like to hear what others have to say about it. David Jordan Senior Software Developer SAS Institute Inc. Health & Life Sciences, Research & Development Bldg R ▪ Office 4467 600 Research Drive ▪ Cary, NC 27513 Tel: 919 531 1233 ▪ david.jor...@sas.com<mailto:david.jor

RE: flat files versus TDB

2014-04-02 Thread David Jordan
ically get from reading a file from disk has. Rob On 01/04/2014 17:50, "David Jordan" wrote: >A question has come up in my organization concerning the storage/access >of RDF/OWL using flat files versus TDB. There is interest in supporting >versioning of the ontologies whi

RE: Transitivity

2012-08-03 Thread David Jordan
Of course that reasoning needs to occur to compute the transitivity. That would result in triples containing A Predicate B B Predicate C C Predicate D But I think the question is how that set of triples could get returned as A B C I'd be very interested in understanding how to do this also. ---

RE: Transitivity

2012-08-03 Thread David Jordan
{ ?x owl:sameAs+ ?y .} otherwise, i believe you can use OWL syntax, say predicate is transitive, then use whatever reasoner to do inference first. then query -- Cong Wang Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday, August 3, 2012 at 2:32 PM, David Jordan wrote

RE: Concurrency problems with TDB

2012-11-20 Thread David Jordan
I may be wrong, but I don't believe the ConcurrentModificationException has anything to do with database-level concurrency. Does TDB allow multiple separate JVMs to concurrently access/modify a specific datastore? It has been awhile since I used TDB, I did not think it supported this. -Ori

RE: Storing to the correct sub model

2012-11-27 Thread David Jordan
I had the same reaction. Is this described in the documentation? I have been away from Jena for about a year, but luckily it looks like I have finally gotten commitment to do some work with it again. I was not aware of this characteristic of sub models when I started playing around with them a y

RE: question

2013-01-21 Thread David Jordan
Hlel emna, After reading many of your questions regarding the use of Jena, it seems like you would really benefit from understanding how to do data modeling within RDF/OWL. While your questions often are relative to Jena-specific syntax, it seems the root issue is gaining a better understanding

models and graphs

2013-02-06 Thread David Jordan
. Is a model considered a name graph? Do you just use the name of the model in the SPARQL graph statement? David Jordan

RE: Is Jena / RDF / OWL the right fit?

2013-02-07 Thread David Jordan
If that is true, would it make sense to fold Pellet into the Apache Jena project, or would that detract from supporting multiple reasoners? -Original Message- From: Olivier Rossel [mailto:olivier.ros...@gmail.com] Sent: Thursday, February 07, 2013 5:54 AM To: users@jena.apache.org; Milor

use of arq with sdb & mysql

2013-02-09 Thread David Jordan
I am trying to use the arq command with sdb/mysql. I have had a few problems getting the class path set up properly. I have downloaded apache-jena-2.7.4 and jena-sdb-1.3.5. The arq command uses environment variable JENA_HOME to build up a class path with all the jars under its lib directory. Th

Re: use of arq with sdb & mysql

2013-02-09 Thread David Jordan
QueryIteratorCloseable(QueryIteratorWrapper).hasNextBinding() line: 40 QueryIteratorCloseable(QueryIteratorBase).hasNext() line: 112 ResultSetStream.hasNext() line: 72 RunQueries.main(String[]) line: 43 On Feb 9, 2013, at 12:42 PM, David

Re: use of arq with sdb & mysql

2013-02-09 Thread David Jordan
2.10.0, I guess I need to download it too. My thinking was the development snapshot versions may be less robust (more problems) than official release versions. On Feb 9, 2013, at 4:11 PM, Andy Seaborne wrote: > On 09/02/13 17:42, David Jordan wrote: >> I have downloaded apache-jena-2.7.4

Re: use of arq with sdb & mysql

2013-02-09 Thread David Jordan
in my PATH? On Feb 9, 2013, at 4:32 PM, David Jordan wrote: > > So the latest versions of Jena and SDB posted are not necessarily compatible? > It would be nice then if you included with the Jena distribution the most > up-to-date version of the SDB jar that works with it. >

Re: use of arq with sdb & mysql

2013-02-09 Thread David Jordan
I need to use sdbquery instead of arq. Thanks for your help, I now have jars that work. On Feb 9, 2013, at 5:33 PM, Andy Seaborne wrote: > On 09/02/13 21:54, David Jordan wrote: >> >> Thanks, that took care of it, and I see this snapshot of SDB includes the >> Jena 2.1

named models in SDB using sdbquery

2013-02-10 Thread David Jordan
I have some Java code in which I have added triples to the database as part of a named model. Using SQL, I have confirmed that column quads.g contains a reference to the name that I have provided. I can also query that model in Java and retrieve the triples. For example, I have the following qu

Re: named models in SDB using sdbquery

2013-02-10 Thread David Jordan
It works when I specify the UnionGraph in the query, but when using sdbquery it is not clear how to set SDB.unionDefaultGraph to true. I tried the following approaches, but they did not work: sdbquery --query=query1.rq --set SDB.unionDefaultGraph=true (got no result) sdbquery --query=query1.rq

Re: named models in SDB using sdbquery

2013-02-11 Thread David Jordan
On Feb 11, 2013, at 5:07 AM, Andy Seaborne wrote: > On 11/02/13 00:40, David Jordan wrote: >> >> It works when I specify the UnionGraph in the query, but when using sdbquery >> it is not clear how to set SDB.unionDefaultGraph to true. >> >> I tried the follo

persistent ontology model

2013-02-16 Thread David Jordan
I am trying to figure out how to do the following. I am using SDB. I'd like to be able to insert some RDF data into a named model in SDB, call it A. I would also like to store into SDB the ontology model B that results from inferencing on this model A. This is to avoid doing the inferencing dyna

Re: persistent ontology model

2013-02-16 Thread David Jordan
model B after it has been stored and to have it behave like any other, memory resident OntModel. Is this possible? I am trying to do this because the performance of reasoning on the fly is too slow. On Feb 16, 2013, at 3:18 PM, David Jordan wrote: > > I am trying to figure out how to

testing whether an instance could be associated with a class

2013-02-22 Thread David Jordan
to work. Would another approach be to get the OntClasses associated with individual a and then calling OntClass.isDisjointWith? David Jordan Senior Software Developer SAS Institute Inc. Health & Life Sciences, Research & Development Bldg R ▪ Office 4467 600 Research Drive ▪ Cary, NC 2

RE: testing whether an instance could be associated with a class

2013-02-22 Thread David Jordan
ssage- From: Joshua TAYLOR [mailto:joshuaaa...@gmail.com] Sent: Friday, February 22, 2013 10:26 AM To: users@jena.apache.org Subject: Re: testing whether an instance could be associated with a class On Fri, Feb 22, 2013 at 9:38 AM, David Jordan wrote: > I have a question about how to express some

RE: testing whether an instance could be associated with a class

2013-02-22 Thread David Jordan
[mailto:joshuaaa...@gmail.com] > Sent: Friday, February 22, 2013 10:26 AM > To: users@jena.apache.org > Subject: Re: testing whether an instance could be associated with a > class > > On Fri, Feb 22, 2013 at 9:38 AM, David Jordan wrote: >> I have a question about how to expr

RE: testing whether an instance could be associated with a class

2013-02-22 Thread David Jordan
model is consistent. Reasoners like Pellet may have native APIs which streamline this sort of checking. Dave On 22/02/13 17:11, David Jordan wrote: > My original question WAS about an individual a of class A, let me call it > a123, so not to confuse it with the word "a". I may hav

RE: testing whether an instance could be associated with a class

2013-02-22 Thread David Jordan
Thanks. -Original Message- From: Joshua TAYLOR [mailto:joshuaaa...@gmail.com] Sent: Friday, February 22, 2013 12:42 PM To: users@jena.apache.org Subject: Re: testing whether an instance could be associated with a class On Fri, Feb 22, 2013 at 12:11 PM, David Jordan wrote: > My origi

RE: testing whether an instance could be associated with a class

2013-02-22 Thread David Jordan
ubject: Re: testing whether an instance could be associated with a > class > >> -Original Message- >> From: Joshua TAYLOR [mailto:joshuaaa...@gmail.com] >> Sent: Friday, February 22, 2013 10:26 AM >> To: users@jena.apache.org >> Subject: Re: testing whether an in

Re: testing whether an instance could be associated with a class

2013-02-22 Thread David Jordan
ook for a contradiction. > > Whereas if you want to ask "can we deduce that this must be B as well" then > you ask if it has (inferred) type B. > > Dave > > On 22/02/13 18:08, David Jordan wrote: >> >> Sorry, I'd like to be sure I understand this

postgres issue

2013-03-04 Thread David Jordan
stractJdbc2Statement.java:2893) [java] at com.hp.hpl.jena.sdb.layout2.TupleLoaderBase.flush(TupleLoaderBase.java:214) [java] ... 5 more [java] Java Result: -1 David Jordan Senior Software Developer SAS Institute Inc. Health & Life Sciences, Research & Development B

update on my Postgres issue

2013-03-04 Thread David Jordan
hat it is not triggering batch updates? David Jordan Senior Software Developer SAS Institute Inc. Health & Life Sciences, Research & Development Bldg R ▪ Office 4467 600 Research Drive ▪ Cary, NC 27513 Tel: 919 531 1233 ▪ david.jor...@sas.com<mailto:david.jor...@sas.com> www.sas.com<http://www.sas.com/> SAS® … THE POWER TO KNOW®

RE: update on my Postgres issue

2013-03-05 Thread David Jordan
: Tuesday, March 05, 2013 5:57 AM To: users@jena.apache.org Subject: Re: update on my Postgres issue On 04/03/13 21:00, David Jordan wrote: > With the recent error I reported, I was trying to load dbPedia ontology in > RDF/XML format. > This is with Postgres 9.2 and SDB 1.3.6 Snapshot. >

Re: Cleanly Remove Resources

2013-03-05 Thread David Jordan
If you have your ontology in its own separate Model, doesn't model.removeAll() do it? On Mar 5, 2013, at 4:49 PM, Dave Reynolds wrote: > On 05/03/13 20:20, Mark Fischer wrote: >> Is there an easy way to cleanly remove resources from an Ontology? >> >> Currently, I just remove all statements th

sdbquery query parameters

2013-03-12 Thread David Jordan
running of queries from within Ant and including the capability of passing parameters? David Jordan Senior Software Developer SAS Institute Inc. Health & Life Sciences, Research & Development Bldg R ▪ Office 4467 600 Research Drive ▪ Cary, NC 27513 Tel: 919 531 1233 ▪ david.jor...

sdbquery query parameters

2013-03-13 Thread David Jordan
sdbquery for the query in the file. Is this possible? Are there any Ant tasks that have been developed that may facilitate the running of queries from within Ant and including the capability of passing parameters? David Jordan Senior Software Developer SAS Institute Inc. Health & Life Scie

RE: sdbquery query parameters

2013-03-13 Thread David Jordan
:25, David Jordan wrote: > It looks like I sent this request to the wrong email address > yesterday. It is somewhat urgent that I get an answer to this > question. The incuabtor list is automatically directed here. The message arrives 18:49 UTC. > When using the sdbquery command lin

inferencing question

2013-03-14 Thread David Jordan
r = rept.getReports(); riter .hasNext();) { ValidityReport.Report rep = riter.next(); System.out.println("ValRep: " + rep.getDescription()); } // Now the challenge is to get the myCar individual to update with the // statem

RE: inferencing question

2013-03-14 Thread David Jordan
[mailto:chris.dol...@epimorphics.com] Sent: Thursday, March 14, 2013 12:31 PM To: users@jena.apache.org Subject: Re: inferencing question On Thursday, March 14, 2013 01:59:03 PM David Jordan wrote: (I shall say "you" to refer to yourself or your colleague indiscriminately) > There is an

quick question, cannot find in interface

2013-03-16 Thread David Jordan
Aren’t there values defined in the Jena interface somewhere for common predicate like rdf:type, etc. that can be used when creating statements? I am having trouble finding it. David Jordan Senior Software Developer SAS Institute Inc. Health & Life Sciences, Research & Development

RE: quick question, cannot find in interface

2013-03-16 Thread David Jordan
Nevermind, I just found it under vocabulary package. I did not get much sleep the past few days, thanks to taking prednisone… From: David Jordan Sent: Saturday, March 16, 2013 4:53 PM To: users@jena.apache.org Subject: quick question, cannot find in interface Aren’t there values defined in the

Re: Owl maxCardinality restriction

2013-03-25 Thread David Jordan
What are the plans for OWL 2 support? How difficult is it to have a configurable option that turns off the open world assumption. No flames, please. There are products that do this and claim superior performance. On Mar 24, 2013, at 3:00 PM, Dave Reynolds wrote: > On 24/03/13 17:27, Joshua T

RE: Architecture Direction

2013-03-27 Thread David Jordan
I have not yet investigated Fuseki, but we will need something similar. So I am interested in this. It would be good to have a very small white paper outlining the architecture of Fuseki and what you are proposing, listing pros/cons of each approach. With that in hand, there may be more people,

RE: Architecture Direction

2013-03-27 Thread David Jordan
Other thoughts are that it could operate as a shared server cache (in memory) that operates at the graph or model layer, providing separate client processes with the data at the graph/model layer. The server process would make the lower level calls to the underlying storage layer. Is this what y

Re: Loading Large TripleStore using TDB

2013-03-27 Thread David Jordan
What indexes exist during the load? On Mar 27, 2013, at 4:40 PM, Joshua Greben wrote: > Hello all, > > I just wanted to give an update on how my loading of 670M triples was going, > or in this case not going. > > I ran the riot --time --sink script on my 6.3 GB nt.gz file and this was the >

reasoning overhead

2013-03-28 Thread David Jordan
I would like to confirm my understanding about reasoning in Jena, as well as ask whether the Pellet reasoner does things different. When I create an OntModel, there is essentially no overhead, this is very fast. With the very first use of the OntModel, it takes considerable time to produce a r

RE: reasoning overhead

2013-03-28 Thread David Jordan
, so this will help in that discussion. -Original Message- From: Dave Reynolds [mailto:dave.e.reyno...@gmail.com] Sent: Thursday, March 28, 2013 4:42 PM To: users@jena.apache.org Subject: Re: reasoning overhead Hi David, On 28/03/13 19:47, David Jordan wrote: > > I would like to conf

testing assignment of invalid range

2013-03-29 Thread David Jordan
} } } } The problem is that isValid is returning true, I expected false. What am I doing wrong? Am I using the wrong OntModelSpec? David Jordan Senior Software Developer SAS Institute Inc. Health & Life Sciences, Research & Development Bldg R ▪ Office 4467 600 Rese

RE: testing assignment of invalid range

2013-03-29 Thread David Jordan
of a hasSex statement is inferred to be a Sex. If you can elaborate on what invalidity/inconsistency you expected to observe, someone can probably tell you what changes you'll need to make to the model to get it. //JT On Fri, Mar 29, 2013 at 10:08 AM, David Jordan wrote: > >

performance of createIndividual with OntModel

2013-04-01 Thread David Jordan
= ModelFactory.createOntologyModel(spec, model); OntClass bikeClass = omodel.getOntClass(uriBase + "Motorcycle"); Individual myBike = bikeClass.createIndividual(uriBase + "data/myBike"); This is with latest SDB and Postgres. Is there anything in the ontology causing the slowdow

RE: performance of createIndividual with OntModel

2013-04-01 Thread David Jordan
helps, Rob On 4/1/13 8:34 AM, "David Jordan" wrote: > >I am getting a performance result of around 1 minute clock time to >execute OntClass.createIndividual. Is this expected? Below is the >relevant part of the ontology and the Java code. Every line of code

RE: performance of createIndividual with OntModel

2013-04-01 Thread David Jordan
of an equivalent class? -Original Message- From: Joshua TAYLOR [mailto:joshuaaa...@gmail.com] Sent: Monday, April 01, 2013 12:45 PM To: users@jena.apache.org Subject: Re: performance of createIndividual with OntModel On Mon, Apr 1, 2013 at 11:34 AM, David Jordan wrote: > > I a

RE: performance of createIndividual with OntModel

2013-04-01 Thread David Jordan
o:joshuaaa...@gmail.com] Sent: Monday, April 01, 2013 12:45 PM To: users@jena.apache.org Subject: Re: performance of createIndividual with OntModel On Mon, Apr 1, 2013 at 11:34 AM, David Jordan wrote: > > I am getting a performance result of around 1 minute clock time to execute > OntClass.c

jar question

2013-04-04 Thread David Jordan
/jena/graph/NodeFactory Which jar should have this? It looks like I have all the jars that are included with Jena 2.10. David Jordan Senior Software Developer SAS Institute Inc. Health & Life Sciences, Research & Development Bldg R ▪ Office 4467 600 Research Drive ▪ Cary, NC 27513 Tel: 919 53

RE: jar question

2013-04-04 Thread David Jordan
OK, thanks. -Original Message- From: Andy Seaborne [mailto:a...@apache.org] Sent: Thursday, April 04, 2013 2:10 PM To: users@jena.apache.org Subject: Re: jar question On 04/04/13 18:47, David Jordan wrote: > I am trying to set up a build environment so that I can run either a >

RE: jar question

2013-04-04 Thread David Jordan
Did you mean SDB 1.3.5 or 1.3.6 SNAPSHOT ? -Original Message- From: Andy Seaborne [mailto:a...@apache.org] You can use latest SDB 1.3.5-SNAPSHOT with Jens 2.10.1-SNAPSHOT (TDB 0.10.1-SNAPSHOT) Andy

RE: Persisting OWL in Jena

2013-04-05 Thread David Jordan
Dave, I have been getting "less than stellar" performance in my benchmarking. I would just like to be sure that the way I am using Jena IS performing inference over in-memory models. I have stored Models in the database. When I access them and create an OntModel, I do it in the following manner:

alternative storage implementations

2013-04-05 Thread David Jordan
that would be backed up by a storage facility that is not relational, so I am thinking the manner in which TDB operates may be a better fit than SDB. Any helpful suggestions are greatly appreciated. David Jordan Senior Software Developer SAS Institute Inc. Health & Life Sciences, Rese

RE: Persisting OWL in Jena

2013-04-05 Thread David Jordan
WL in Jena On 05/04/13 15:09, David Jordan wrote: > Dave, > I have been getting "less than stellar" performance in my benchmarking. I > would just like to be sure that the way I am using Jena IS performing > inference over in-memory models. I have stored Models in the dat

RE: jar question

2013-04-14 Thread David Jordan
-sdb-1.3.6-SNAPSHOT.jar jena-tdb-0.10.1-SNAPSHOT.jar Does anything look wrong with this combination of jars? -Original Message- From: Andy Seaborne [mailto:a...@apache.org] Sent: Thursday, April 04, 2013 3:25 PM To: users@jena.apache.org Subject: Re: jar question On 04/04/13 19:21, David Jo

Re: jar question

2013-04-14 Thread David Jordan
OK, thanks. On Apr 14, 2013, at 1:03 PM, Andy Seaborne wrote: > On 14/04/13 16:35, David Jordan wrote: >> >> I was trying to set up a build/run environment that would work for both SDB >> and TDB. The past few weeks I have been focused on getting everything >>

RE: Concurrency in Jena/SDB

2013-04-15 Thread David Jordan
I have the same question. Surely the underlying SDB code begins/commits a transaction when it does updates to the database. Does it do so on an individual update operation? In which case you would lose the atomicity of multiple updates done in a single transaction. If it does do little transac

RE: Concurrency in Jena/SDB

2013-04-15 Thread David Jordan
So every call to a method of Model or OntModel is done in a separate transaction? This could easily explain the poor performance I am getting, and those of others who have complained about SDB performance in this group. Your code example is very sparse. Are there calls to make to get to an ass

Re: isA relation in jena

2013-04-16 Thread David Jordan
You are not listening to what we are telling you. An address is NOT an employee. If you don't understand that, you are not going to get very far… You want to say that the address can also be a property of ont2's employee class. There is a big difference between being a property and being a subcl

OntClass.listDeclaredProperties

2013-04-23 Thread David Jordan
OWL_MEM_MICRO_RULE_INF. I am using the latest TDB release. Any idea why they are not being returned? David Jordan Senior Software Developer SAS Institute Inc. Health & Life Sciences, Research & Development Bldg R ▪ Office 4467 600 Research Drive ▪ Cary, NC 27513 Tel: 919 531 1233 ▪ david.jor...

RE: OntClass.listDeclaredProperties

2013-04-23 Thread David Jordan
[mailto:joshuaaa...@gmail.com] Sent: Tuesday, April 23, 2013 3:11 PM To: users@jena.apache.org Subject: Re: OntClass.listDeclaredProperties On Tue, Apr 23, 2013 at 2:45 PM, David Jordan wrote: > When I call listDeclaredProperties with a direct parameter value of false, I > get a l

RE: OntClass.listDeclaredProperties

2013-04-24 Thread David Jordan
...@epimorphics.com] Sent: Tuesday, April 23, 2013 6:49 PM To: users@jena.apache.org Subject: Re: OntClass.listDeclaredProperties On 23/04/2013 20:10, Joshua TAYLOR wrote: > On Tue, Apr 23, 2013 at 2:45 PM, David Jordan wrote: >> When I call listDeclaredProperties with a direct parameter value of

TDB exception

2013-04-24 Thread David Jordan
DB_ASSEMBLER_FILE); return dataset.getNamedModel(name); } else { if( store == null ) store = StoreFactory.create(SDB_ASSEMBLER_FILE); return SDBFactory.connectNamedModel(store, name); } } }

OntModel.validate( ) question

2013-04-25 Thread David Jordan
() is called, it is just going to validate model A, or will it also validate the submodel, which would include the potentially large associated ontology? David Jordan Senior Software Developer SAS Institute Inc. Health & Life Sciences, Research & Development Bldg R ▪ Office 4467 600 Research

OntModel.validate() and getReasoner() return null

2013-04-25 Thread David Jordan
I am assuming that validate() will return null if getReasoner returns null. I am pretty sure I am passing in a valid OntModelSpec. What could cause the reasoner to be null? David Jordan Senior Software Developer SAS Institute Inc. Health & Life Sciences, Research & Development Bldg R

RE: OntModel.validate( ) question

2013-04-25 Thread David Jordan
ut m0 but m0 does not know about m1. Is that correct? -Original Message- From: Ian Dickinson [mailto:i...@epimorphics.com] Sent: Thursday, April 25, 2013 2:24 PM To: users@jena.apache.org Subject: Re: OntModel.validate( ) question On 25/04/13 18:27, Joshua TAYLOR wrote: > On Thu, A

random, periodic TDB file exception

2013-04-26 Thread David Jordan
ase [junit] at java.lang.Class.forName0(Native Method) David Jordan Senior Software Developer SAS Institute Inc. Health & Life Sciences, Research & Development Bldg R ▪ Office 4467 600 Research Drive ▪ Cary, NC 27513 Tel: 919 531 1233 ▪ david.jor...@sas.com<mailto:david.

RE: Import and merging of disjoint ontologies in Jena

2013-04-26 Thread David Jordan
I can answer this one, as I hit it yesterday. I learned yesterday that the method validate() can return null, so that explains your NullPointerException when you call isValid(). ValidityReport validity = modelWine.validate(); if (validity.isValid()) { -Original Message- From: Léonard

Re: random, periodic TDB file exception

2013-04-27 Thread David Jordan
this issue are greatly appreciated. On Apr 26, 2013, at 3:22 PM, David Jordan wrote: > > I seem to randomly get the following file exception. Once I get this, I > continue to get it until I remove all the data for the model in question. I > reported this before, but I don’t belie

Re: random, periodic TDB file exception

2013-04-27 Thread David Jordan
t too slow. On Apr 27, 2013, at 11:46 AM, Andy Seaborne wrote: > On 27/04/13 16:24, David Jordan wrote: >> >> Tomorrow I will try to get into work, download the TDB source, set a >> breakpoint on this FileException to try and diagnose this myself. This >> happens when I

questions about Dataset.abort and configuring

2013-04-29 Thread David Jordan
ntln("validate() returns null"); assertNotNull("validity report is null", validity); boolean isValid = validity.isValid(); assertFalse(isValid); dataset.abort(); } finally { dataset.end(); } } David Jordan S

Re: questions about Dataset.abort and configuring

2013-04-29 Thread David Jordan
yet. I'll need to see what functionality they lack relative to Models that I am using. On Apr 29, 2013, at 4:20 PM, Andy Seaborne wrote: > On 29/04/13 20:06, David Jordan wrote: >> >> This email has several questions about an issue I am having. >> >> The

RE: random, periodic TDB file exception

2013-04-30 Thread David Jordan
...@apache.org] Sent: Tuesday, April 30, 2013 6:22 AM To: users@jena.apache.org Subject: Re: random, periodic TDB file exception On 27/04/13 18:05, David Jordan wrote: > > Thanks once again, Andy. > > Perhaps the most relevant line from the transaction web page is the > following sentence

transaction and caching

2013-04-30 Thread David Jordan
have updated transactions and require transactions. Is there an answer to this? David Jordan Senior Software Developer SAS Institute Inc. Health & Life Sciences, Research & Development Bldg R ▪ Office 4467 600 Research Drive ▪ Cary, NC 27513 Tel: 919 531 1233 ▪ david.jor...@sas.com<mailto

Dataset.close()

2013-04-30 Thread David Jordan
transaction begins, will it then replace state the dataset is maintaining, with the newly committed updates? My goal here is how to properly maintain cached state, avoid the overhead of re-reading the database, redoing inferencing inside each transaction. David Jordan Senior Software Developer SAS

RE: transaction and caching

2013-05-02 Thread David Jordan
Andy, I had previously been storing the inferenced form of an ontology WITHOUT transactions. But when I added the use of transactions, I have run into both out-of-memory issues and significant performance problems. Is the code below the best way to create a separate inferenced model with use o

RE: transaction and caching

2013-05-02 Thread David Jordan
t base it off one that was stored as OWL_MEM_MICRO_RULE_INF, will that work and will the inferencing take a lot less them than if it was stored with no inferencing? -Original Message----- From: David Jordan Sent: Thursday, May 02, 2013 10:00 AM To: 'users@jena.apache.org' Subject:

Re: transaction and caching

2013-05-02 Thread David Jordan
lication requirement driving the need for full RULE is coming from a colleague in another organization. I'll see if we can investigate this further. On May 2, 2013, at 5:40 PM, Dave Reynolds wrote: > On 02/05/13 15:24, David Jordan wrote: >> >> I think I just realized why I am having

RE: Query declared properties returns too much

2013-05-07 Thread David Jordan
(); } } -Original Message- From: Joshua TAYLOR [mailto:joshuaaa...@gmail.com] Sent: Tuesday, April 23, 2013 3:11 PM To: users@jena.apache.org Subject: Re: OntClass.listDeclaredProperties On Tue, Apr 23, 2013 at 2:45 PM, David Jordan mailto:david.jor...@sas.com>> wrote: > Wh

Re: Query declared properties returns too much

2013-05-07 Thread David Jordan
80b8715e:-7ff4" > > Is there a way to load the OntProperty out of the name? I'm not quite sure, > but I expected to get anything like "&xsd;string" or the real property-name > like "hasName". Is this wrong? > > > However, thank you very much for

RE: Query declared properties returns too much

2013-05-08 Thread David Jordan
bject: Re: Query declared properties returns too much On 07/05/13 21:05, David Jordan wrote: > > I ran into this same problem two weeks ago. Joshua Taylor provided me > with an answer, which I have included below. I ended up writing code > similar to the following, where I passed

TDBException: Allocation attempt on NodeTableReadonly

2013-05-08 Thread David Jordan
y.java:370) [java] at com.sas.ta.om.ListClassesAndNumInstances.main(ListClassesAndNumInstances.java:26) David Jordan Senior Software Developer SAS Institute Inc. Health & Life Sciences, Research & Development Bldg R ▪ Office 4467 600 Research Drive ▪ Cary, NC 27513 Tel: 919 53

getting list of classes and count of instances

2013-05-08 Thread David Jordan
} finally { dataset.end(); } } David Jordan Senior Software Developer SAS Institute Inc. Health & Life Sciences, Research & Development Bldg R ▪ Office 4467 600 Research Drive ▪ Cary, NC 27513 Tel: 919 531 1233 ▪ david.jor...@sas.com<mailto:david.jor...

RE: getting list of classes and count of instances

2013-05-09 Thread David Jordan
: getting list of classes and count of instances On Wed, May 8, 2013 at 4:24 PM, David Jordan wrote: > > I was asked to produce some output with a list of all classes and how many > instances there are for each class. > Is there any simpler way of doing it in Java than t

RE: TDBException: Allocation attempt on NodeTableReadonly

2013-05-09 Thread David Jordan
dataset.end(); } } } -Original Message- From: Andy Seaborne [mailto:a...@apache.org] Sent: Thursday, May 09, 2013 5:14 AM To: users@jena.apache.org Subject: Re: TDBException: Allocation attempt on NodeTableReadonly On 08/05/13 21:02, David Jordan wrote: >

RE: TDBException: Allocation attempt on NodeTableReadonly

2013-05-09 Thread David Jordan
Andy On 09/05/13 15:16, David Jordan wrote: > > Andy, > I have included the complete program below. My code seems to be read only. It > works with a model stored in non-inferenced form. But I have another model > that I have pre-inferenced and stored, pre-inferenced using

RE: TDBException: Allocation attempt on NodeTableReadonly

2013-05-09 Thread David Jordan
Original Message- From: Andy Seaborne [mailto:a...@apache.org] Sent: Thursday, May 09, 2013 12:25 PM To: users@jena.apache.org Subject: Re: TDBException: Allocation attempt on NodeTableReadonly On 09/05/13 17:00, David Jordan wrote: > The class Database is my little utility class that hide whet

RE: Question about transactions

2013-05-13 Thread David Jordan
I assume the journal file will shrink in size once the updates have actually been applied to the database files? If no transactions are in progress, is there a way to initiate this transfer of data from the journal to the database? It may also be of interest to the application to hold off this tr

RE: Question about transactions

2013-05-13 Thread David Jordan
dont undestand. I though that ds.commit() really updated the database files... 2013/5/13 David Jordan > I assume the journal file will shrink in size once the updates have > actually been applied to the database files? > If no transactions are in progress, is there a way to init

RE: Size of Jena TDB

2013-05-13 Thread David Jordan
TDB manages data on a block basis, I forget the specific size of the block, but as I recall, the block size seemed relatively large to me. Many systems allow you to configure the block size, but it does not seem TDB supports this. The other aspect to triple stores is that despite the fact that t

  1   2   >