Re: Ontology-nameSpace

2015-04-06 Thread David Moss
ns = "http://example.com/whateveryouwant#";; Sent from my iPhone > On 7 Apr 2015, at 7:20 am, hlel emna wrote: > > I tried to create an ontology with jena > > String ns=??; > > OntModel m = ModelFactory.*createOntologyModel*(); > > OntClass autt = m.createClass(ns+"Auteur"); > > On

Ontology-nameSpace

2015-04-06 Thread hlel emna
I tried to create an ontology with jena String ns=??; OntModel m = ModelFactory.*createOntologyModel*(); OntClass autt = m.createClass(ns+"Auteur"); OntClass thaut = m.createClass(ns+"Theme"); OntClass motc = m.createClass(ns+ "Mot-Clé"); . how I can chose the namespace:

Re: Fuseki User Interface unmanageable

2015-04-06 Thread Andy Seaborne
On 06/04/15 12:43, Sorin Gheorghiu wrote: Hi Andy, thank you pointing my to the right direction. My first attempt to replace: /$/** = localhost with /$/** = 127.0.0.1 That "localhost" is referring to the line in [main]. That's the bit that controls the filtering. See the Shiro documentation.

Re: ontology_jena

2015-04-06 Thread hlel emna
please me explain with details 2015-04-06 0:55 GMT+01:00 David Moss : > It is considered bad form to use a domain that you don't own, control or > have permission to use in a URL. Try using http://example.com instead. > > Sent from my iPhone > > > On 6 Apr 2015, at 4:35 am, hlel emna wrote: > >

Re: Fuseki User Interface unmanageable

2015-04-06 Thread Sorin Gheorghiu
Hi Andy, thank you pointing my to the right direction. My first attempt to replace: /$/** = localhost with /$/** = 127.0.0.1 has failed with the following error: [2015-04-06 13:18:35] EnvironmentLoader ERROR Shiro environment initialization failed java.lang.IllegalArgumentException: There is n

Re: Java heap Space error while trying to clear graph

2015-04-06 Thread Trevor Donaldson
Thanks so much Andy. I was thinking deleting a batch at a time might work but I wasn't sure if that was the right plan or not. Thanks again. On Mon, Apr 6, 2015 at 6:47 AM, Andy Seaborne wrote: > The reason this runs into space problem is that the TDB transaction system > uses RAM for uncommited

Re: Java heap Space error while trying to clear graph

2015-04-06 Thread Andy Seaborne
The reason this runs into space problem is that the TDB transaction system uses RAM for uncommited data. Way around this: 1/ Larger heap. 2/ "spill to disk" option See TDB.transactionJournalWriteBlockMode --set tdb:transactionJournalWriteBlockMode=mapped (I confess I have never had to

Re: ontology_jena

2015-04-06 Thread Andy Seaborne
And add # or / to the URL. http://www.ontologie.fr/monOntologieAuteur ==> http://www.ontologie.fr/monOntologie#Auteur On 06/04/15 00:55, David Moss wrote: It is considered bad form to use a domain that you don't own, control or have permission to use in a URL. Try using http://example.com ins

Re: Fuseki User Interface unmanageable

2015-04-06 Thread Andy Seaborne
On 05/04/15 19:24, Sorin Gheorghiu wrote: Hi, after starting the server without errors and loading few triples successfully, no dataset is shown on the server web interface (neither on port 3030 nor 8080). Moreover it is not posible to manage the datasets. What am I doing wrong? The server runs