Thanks for your answer.
I think that my problem is in the process of importing ontologies using
OntDocumentManager.
¿Someone use something like this for importing ontologies that are imported in
a root ontology?, I need to get all the information from all ontologies and
using
Model.read I
Sorry, I missed this while travelling and just realized it hasn't been
answered.
There is no named graph support in the reasoners nor is there
reasoner/tdb integration so that I'm afraid that what you want is not
possible out of the box.
Dave
On 24/01/14 16:26, Rohana Rajapakse wrote:
Hi,
On 24/01/14 09:52, Rohana Rajapakse wrote:
Thanks Andy.
I am now trying to use GenericRuleReasoner. The tdb config is given below.
It works fine with data added to the default graph.
The query you sent me does not show any triples when I insert data into a
graph. I am not sure if the way I
Hi
I have an API that wraps Jena's, and I want to detect isInTransaction in
all cases.
Apparently this implies to detect whether a Dataset is closed.
Currently I'm obliged (not sure !) to do :
public boolean isInTransaction() {
try {
return dataset.isInTransaction();
} catch (
Andy,
Adding the code as mentioned in your earlier post I get the following:
RecordRangeIterator.iterator -- No such block (pageId=117440534,
fromRec=,
toRec=0001)
Hi
Jena 2.11.1 TBD throws ClosedException: already closed, when 2.11.0 did
not.
The test below involves adding a triple in a named model,
closing the model,
re-opening the dataset and the same model.
Note that closing the whole dataset instead of the model works fine.
Here is the test (sorry ,
Thanks Dave.
regards
Rohana
On 29 January 2014 08:58, Dave Reynolds dave.e.reyno...@gmail.com wrote:
Sorry, I missed this while travelling and just realized it hasn't been
answered.
There is no named graph support in the reasoners nor is there reasoner/tdb
integration so that I'm afraid
Hello there,
Here is my question.
I have an existing TDB containing triples.
I have a RDF file and i want to update the existing TDB with the data
contained in the RDF file.
If nodes already exist they should be updated and new data added.
Is it possible to do it with the Jena API ?
Cher Frédéric,
You just have to use the basic RDF API :
http://jena.apache.org/tutorials/rdf_api.html
with the TDB API :
http://jena.apache.org/documentation/tdb/java_api.html
Note that update nodes is not the right wording for what happens.
An RDF model is bascally a collection of triples.
So
For your convenience, I pasted together the first lines of both API
mentioned:
// Make a TDB-backed dataset
String directory = MyDatabases/Dataset1 ;
Dataset dataset = TDBFactory.createDataset(directory) ;
dataset.begin(ReadWrite.READ) ;
// Get model inside the transaction
Model model =
Frederic, are you sure this hasn't been done before? I've used
JenaBean [1], but I know there are at least several other similar
projects.
Martynas
[1] https://code.google.com/p/jenabean/
On Wed, Jan 29, 2014 at 2:58 PM, Frederic Toublanc
frederic.toubl...@telemis.com wrote:
Ok thx a lot :)
Ok thx a lot :) You just have saved me a lot of time lol
2014/1/29 Martynas Jusevičius marty...@graphity.org
Frederic, are you sure this hasn't been done before? I've used
JenaBean [1], but I know there are at least several other similar
projects.
Martynas
[1]
Comments inline:
On 28/01/2014 22:36, Michael Brunnbauer bru...@netestate.de wrote:
Hello Rob,
On Tue, Jan 28, 2014 at 02:20:22PM -0800, Rob Vesse wrote:
The 2.11.0 release was only last week so do not expect another official
release for a while.
OK
The somewhat toy query in your bug
We don't give any specific guarantees about concurrent query performance
because it depends on various factors.
At the TDB layer you have the issue of caches, depending on the query load
you may have different queries modifying the caches which can result in
data one query uses dropping out of
Hello Rob,
On Wed, Jan 29, 2014 at 09:12:04AM -0800, Rob Vesse wrote:
It's a complete minimal example. I have an application that broke due to
this
one when I upgraded to 1.0.1.
Really, that is actually a real application query.
No - a complete minimal example. This is one of the real
Hi again
My project is basically: 1) to come in with an abstract/ scientific
article, 2) call an existing Annotator from Parser.java, 3) get good
labels, and 4) return model with all the new labels to Parser.java.
I have created my jena model in Parser.java, and wish to call
TextAnnotation.java
On Wed, Jan 29, 2014 at 4:03 PM, Mona Salem monasalem...@gmail.com wrote:
Compilation errors:
Exception in thread main java.lang.Error: Unresolved compilation problems:
SoftwareProduct cannot be resolved
AnnotationLabel cannot be resolved to a variable
at
I am using Eclipse actually. I am working with a jena model and can print
out my triples.
The problem that I am running into is adding a property to my model in a
second class; most properties are added in the Parser class, except for
the annotation labels. I am calling a third party
On Wed, Jan 29, 2014 at 4:45 PM, Mona Salem monasalem...@gmail.com wrote:
AnnotationLabel is a property of model2.
It's not though. In your main method you have a local variable called
AnnotationLabel:
Property AnnotationLabel =
On Wed, Jan 29, 2014 at 5:01 PM, Mona Salem monasalem...@gmail.com wrote:
I am using Eclipse actually. I am working with a jena model and can print
out my triples.
The problem that I am running into is adding a property to my model in a
second class; most properties are added in the Parser
20 matches
Mail list logo