Default RDF/XML writer changed between 2.11.0 and 3.0.1?

2016-07-21 Thread Martynas Jusevičius
Hey, I noticed that after upgrade from 2.11.0 to 3.0.1 the RDF/XML output changed: element name is used instead of rdf:Description + rdf:type, rdf:nodeID attribute is gone etc (output below). The model is written the same way, like this: model.write(baos, RDFLanguages.RDFXML.getName(), null);

Re: Concurrent access to a shared (Ont)Model

2016-07-21 Thread Martynas Jusevičius
Thanks Dave. Does the following code look reasonable? OntModel ontModel = OntDocumentManager.getInstance().getOntology(ontologyURI, ontModelSpec); ontModel.enterCriticalSection(Lock.READ); try { OntModel clonedModel =

Can not write to the file

2016-07-21 Thread kumar rohit
*When I run this program without writing it to the file, it runs smoothly. But when I copy it to a file (both newly created and existing file), sometime it adds the garbage claases to the file like Seq, Bag, Resource and most of the time it does nothing except it empties the destination file.* *I

Adding multiple individuals

2016-07-21 Thread neha gupta
Thank you Admin for adding me. I am Neha and in the final semester of my Bachelor degree. My project is in Semantic web and Jena, unfortunately. I have read a lot about Jena and knows how to create classes and individuals. I know how to create single individual and assign it to a variable like

Re: TDB triple storage

2016-07-21 Thread Dave Reynolds
On 21/07/16 13:45, Chao Wang wrote: Thanks Dave, So my fuseki has configuration using TDB with OWL reasoner. I preloaded the TDB with tdbloader, then starts up fuseki. My question is when fuseki starts up, does it load all triples including inferred triples into memory? Yes. It's actually

RE: TDB triple storage

2016-07-21 Thread Chao Wang
Thanks Dave, So my fuseki has configuration using TDB with OWL reasoner. I preloaded the TDB with tdbloader, then starts up fuseki. My question is when fuseki starts up, does it load all triples including inferred triples into memory? I am experiencing hanging sparql query. works fine with a

Re: Web UI of Fuseki doesn't start

2016-07-21 Thread Stian Soiland-Reyes
How did you start Fuseki, from the command line? Have you considered trying Fuseki 2.4.0 to see if that makes any difference? On 21 July 2016 at 12:37, Sandor Kopacsi wrote: > Dear Jena-Fuseki Users, > > I started Fuseki successfully, and wanted to open its web UI,

Web UI of Fuseki doesn't start

2016-07-21 Thread Sandor Kopacsi
Dear Jena-Fuseki Users, I started Fuseki successfully, and wanted to open its web UI, as usual on port 3030, but I have received the error message: "Error 404: Not Found Fuseki - version 1.4.0 (Build date: 2016-05-10T11:59:39+)" What can be the problem, and what should I do? Thanks in

Re: TDB triple storage

2016-07-21 Thread Dave Reynolds
On 21/07/16 02:09, Chao Wang wrote: A newbie question: Does jena store the inferred triples into tdb? If yes, when? No. The current reasoners operate in memory. If you wish you can take the results of inference (either the entire closure or the results of some selective queries) and store