[Owlim-discussion] Question on Joseki Settings

2011-02-10 Thread Christian Brenninkmeijer

Hi,
I am trying to setup bigowlin to work with Arq through Joseki as I need 
Sparql1.1


I followed the instructions in Section 2.3 of the Jena Adapter document.

But it appears to be completely ignoring what I put in the line
otjena:datasetParam ./location .

No matter what I put there When I run the query
SELECT DISTINCT ?graph
{
   GRAPH ?graph {
   }
}

I alayws get the result:
http://www.ontotext.com/explicit

Same query from http://localhost:8080/openrdf-workbench/ gets me the 
correct uploaded graph.


My Questions are:
1. What value should I put as ./location?
2. Does it matter that I am using more recent Jena than the document did?
ver.jena2.6.4/ver.jena
ver.arq2.8.7/ver.arq
ver.tdb0.8.9/ver.tdb
ver.sdb1.3.3/ver.sdb
ver.joseki3.4.3/ver.joseki
Same Sesame and Lucene versions as the bigowlin download

Thanks
Christian

PS.
Yes I did do create bigowlin from the sesameConsole as suggested in the 
Start quide
Yes I did try the created folder in 
C:/Users/Christian/AppData/Roaming/Aduna/OpenRDF%20Sesame/repositories/


--
Dr Christian Brenninkmeijer
Department of Computer Science
University of Manchester

___
OWLIM-discussion mailing list
OWLIM-discussion@ontotext.com
http://ontotext.com/mailman/listinfo/owlim-discussion


Re: [Owlim-discussion] Question on Joseki Settings

2011-02-10 Thread Damyan Ognyanoff
Hi Cristian,

let me explain what is causing this weird behavior - when you create a 
repository through the sesame console,  you are doing it so by using a template 
file -bigowlim.ttl - but it uses a 'non-default' value (owlimTest-storage to be 
exact) as a 'default' for the 'storage-folder' config parameter.
If you open that template file -you'll see something like :

 owlim:storage-folder {%Storage folder|owlimTest-storage%} ;

where first part (before '|' ) is the hint used by the console and the second 
part is the default value used wehen you just press enter.

So at the end, it will create a subfolder under the 
ADUNA_OPENRDF_HOME/repositories/repository-id named after that value, e.g:

ADUNA_OPENRDF_HOME/repositories/repository-id/owlimTest-storage

But the Jena bridge uses the OWLIM's default value (because that parameter is 
it not set explicitely by the configuration, specified within the joseki's 
config file) and OWLIM ends configured to use a different subfolder -e.g. 
'owlim-storage' - which is the default value used when no such is provvided.

So the location where the BigOWLIM indices are stored/looked up/ became:
ADUNA_OPENRDF_HOME/repositories/repository-id/owlim-storage

Long story-short - to overcome this subfolder mismatch - add the same value 
that was used while the repository was initially created to the 
'storage-folder' parameter within your josekiconfig.ttl  e.g. - in such a way 
that you end up having:

otjena:bridge http://www.ontotext.com/trree/owlim#storage-folder 
owlimTest-storage .

statement as part of the joseki ttl's config - e.g. your BigOWLIM dataset 
configuration should looks like (just put the actual location correctly at the 
end):

  ## Initialize BigOWLIM
  [] ja:loadClass com.ontotext.jena.SesameVocab .
  otjena:DatasetSesame rdfs:subClassOf ja:RDFDataset .
  otjena:bridge rdf:type otjena:DatasetSesame ;
  rdfs:label BigOWLIM repository ;
  http://www.ontotext.com/trree/owlim#storage-folder owlimTest-storage ;
  otjena:datasetParam C:/OpenRDF Sesame/repositories/bigowlimTest .

or as an alternative, you may use the default one, while creating the 
repository by simply change the template file or type it explicitly during its 
creation 

sorry for that inconvenience,

regards,
Damyan Ognyanov
Ontotext AD


  - Original Message - 
  From: Christian Brenninkmeijer 
  To: owlim-discussion@ontotext.com 
  Sent: Thursday, February 10, 2011 11:18 AM
  Subject: [Owlim-discussion] Question on Joseki Settings


  Hi,
  I am trying to setup bigowlin to work with Arq through Joseki as I need 
Sparql1.1 

  I followed the instructions in Section 2.3 of the Jena Adapter document.

  But it appears to be completely ignoring what I put in the line
  otjena:datasetParam ./location .

  No matter what I put there When I run the query
  SELECT DISTINCT ?graph 
  {
 GRAPH ?graph {
 }
  } 

  I alayws get the result:
  http://www.ontotext.com/explicit

  Same query from http://localhost:8080/openrdf-workbench/ gets me the correct 
uploaded graph.

  My Questions are:
  1. What value should I put as ./location?
  2. Does it matter that I am using more recent Jena than the document did?
  ver.jena2.6.4/ver.jena
  ver.arq2.8.7/ver.arq
  ver.tdb0.8.9/ver.tdb
  ver.sdb1.3.3/ver.sdb
  ver.joseki3.4.3/ver.joseki
  Same Sesame and Lucene versions as the bigowlin download

  Thanks
  Christian

  PS.
  Yes I did do create bigowlin from the sesameConsole as suggested in the Start 
quide
  Yes I did try the created folder in 
C:/Users/Christian/AppData/Roaming/Aduna/OpenRDF%20Sesame/repositories/

-- 
Dr Christian Brenninkmeijer
Department of Computer Science
University of Manchester

--


  ___
  OWLIM-discussion mailing list
  OWLIM-discussion@ontotext.com
  http://ontotext.com/mailman/listinfo/owlim-discussion
___
OWLIM-discussion mailing list
OWLIM-discussion@ontotext.com
http://ontotext.com/mailman/listinfo/owlim-discussion