Re: [Owlim-discussion] inconsistency checks

2012-01-18 Thread Barry Bishop

Hi Jakob,

Thanks for the question. There are several things to check:

1. Did you create the database with the check-for-inconsistencies flag 
switched on or did you change this later? If later, then configuration 
changes can't be made in the normal way, e.g. if you are using the 
getting started application or similar approach. Instead, you will have 
to force this change by using a command line parameter to the JVM in 
which OWLIM is running.


2. You must use a ruleset that defines some consistency checks. OWL2-RL 
and OWL2-QL have some of these, or you could define your own in a custom 
rule file (.pie)


3. You will only see information about inconsistencies when one is 
actually detected, so you will need to actually load some inconsistent data



You can control the status of consistency checking between OWLIM 
sessions, but only by using a command line parameter 
(-Dcheck-for-inconsistencies=false/true)


See http://owlim.ontotext.com/display/OWLIMv43/OWLIM-SE+Configuration

I hope this helps,
barry

--
Barry Bishop

OWLIM Product Manager
Ontotext AD
Tel: +43 650 2000 237
email: barry.bis...@ontotext.com
www.ontotext.com


On 18/01/12 16:10, Jakob Karalus wrote:


Hi,

i want to use the BigOWLIM inconsistency checks, so i put the file in 
to configuration file and set the "check-for-inconsistencies" flag. At 
this point BigOWLIM should load the ontology at startup and write the 
output of the consistency checks in the logger. But in the log files i 
just the output for loading the ontology ("INFO: Adding ontology 
") but not not any inconsistency related stuff.  Does BigOWLIM 
logs the inconsistency related stuff somewhere else?


2. Is it possible to disable the inconsistency checks at the start and 
enable (and Run) them during runtime?


(Sorry for my bad English)
Thanks in advance,
Jakob

PS:My OWLIM configuration:
[] a rep:Repository ;
   rep:repositoryID "owlim" ;
   rdfs:label "OWLIM Test" ;
   rep:repositoryImpl [
 rep:repositoryType "openrdf:SailRepository" ;
 sr:sailImpl [
   owlim:check-for-inconsistencies "true" ;
   owlim:ruleset "owl-horst-optimized" ;
   sail:sailType "owlim:Sail" ;
   owlim:noPersist "false" ;
   owlim:storage-folder "storage" ;
   owlim:base-URL "http://example.org/owlim# 
" 
;

   owlim:repository-type "file-repository" ;
   owlim:imports " ./ontology/example2.rdfs" ;
   owlim:defaultNS "http://www.example.org# 
" 
;

  ]
   ].

And the ontology itselfs (so this inconsistency should be very easy to 
detect):

xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns# 
"
xmlns:owl="http://www.w3.org/2002/07/owl# 
"
xmlns:xsd="http://www.w3.org/2001/XMLSchema# 
"
xmlns:ex="http://www.example.org# 
"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema# 
" 
>
http://www.example.org#x 
">
http://www.example.org#x 
"/>





___
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


[Owlim-discussion] inconsistency checks

2012-01-18 Thread Jakob Karalus
Hi,

i want to use the BigOWLIM inconsistency checks, so i put the file in to 
configuration file and set the "check-for-inconsistencies" flag. At this point 
BigOWLIM should load the ontology at startup and write the output of the 
consistency checks in the logger. But in the log files i just the output for 
loading the ontology ("INFO: Adding ontology ") but not not any 
inconsistency related stuff.  Does BigOWLIM logs the inconsistency related 
stuff somewhere else?

2. Is it possible to disable the inconsistency checks at the start and enable 
(and Run) them during runtime?

(Sorry for my bad English)
Thanks in advance,
Jakob

PS:My OWLIM configuration:
[] a rep:Repository ;
   rep:repositoryID "owlim" ;
   rdfs:label "OWLIM Test" ;
   rep:repositoryImpl [
 rep:repositoryType "openrdf:SailRepository" ;
 sr:sailImpl [
   owlim:check-for-inconsistencies "true" ;
   owlim:ruleset "owl-horst-optimized" ;
   sail:sailType "owlim:Sail" ;
   owlim:noPersist "false" ;
   owlim:storage-folder "storage" ;
   owlim:base-URL 
"http://example.org/owlim#"
 ;
   owlim:repository-type "file-repository" ;
   owlim:imports " ./ontology/example2.rdfs" ;
   owlim:defaultNS 
"http://www.example.org#"
 ;
  ]
   ].

And the ontology itselfs (so this inconsistency should be very easy to detect):
http://www.w3.org/1999/02/22-rdf-syntax-ns#"

xmlns:owl="http://www.w3.org/2002/07/owl#"

xmlns:xsd="http://www.w3.org/2001/XMLSchema#"

xmlns:ex="http://www.example.org#"

xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
 >
  http://www.example.org#x">
http://www.example.org#x"/>
  

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


Re: [Owlim-discussion] adapting a owlim template

2012-01-18 Thread damyan

Hi Paul (again)

the swiftowlim does not have support for 'query-timeout' parameter since 
it uses the standard Sesame query evaluation. Altough you could use the 
Sesame's way of doing that by supplying a 'timeout' parameter to the 
HTTP GET  requests through which the queries are evaluated  at the 
sparql endpoint . (not entirely sure about the details - just check the 
sesame docs for it)


about the "ERROR:  ..."
owlim:Sail type is for SE version (BigOWLIM) but you need to change that 
to swiftowlim:Sail instead for the Lite version (SwiftOwlim).


HTH,
Damyan



On 1/18/2012 11:27 AM, Paul Hermans wrote:

Hi,

I adapted the OWLIM-Lite configuration template by adding:
owlim:query-timeout "10" ;

#
# Sesame configuration template for an OWLIM-Lite repository
#
@prefix rdfs: .
@prefix rep: .
@prefix sr: .
@prefix sail: .
@prefix owlim: .

[] a rep:Repository ;
rep:repositoryID "{%Repository ID|owlim-lite-test%}" ;
rdfs:label "{%Repository title|OWLIM-Lite test repository%}" ;
rep:repositoryImpl [
rep:repositoryType "openrdf:SailRepository" ;
sr:sailImpl [
sail:sailType "owlim:Sail" ;
owlim:storage-folder "{%Storage folder|storage%}" ;
   owlim:query-timeout "10" ;
owlim:ruleset "{%Rule-set|owl-horst-optimized%}" ;
owlim:base-URL "{%Base URL|http://example.org/owlim#%}"; ;
owlim:repository-type "in-memory-repository" ;
owlim:entity-index-size "{%Entity index size|20%}" ;
owlim:noPersist "{%No Persistence|false%}" ;
owlim:imports "{%Imported RDF files(';' delimited)%}" ;
owlim:defaultNS "{%Default namespaces for imports(';' 
delimited)%}" ;

  ]
   ].

Using the sesame console with command 'create owlim-lite.'
I have 2 issues:
- the query-timeout parameter doesn't appear in the list of settings
- at the end I get '
ERROR: Unsupported Sail type: owlim:Sail'







___
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


Re: [Owlim-discussion] easy install template/form used

2012-01-18 Thread damyan

Hi Paul,

it is easy - just a regular XSL file, located in 
openrdf-workbench/transformations/create-owlim-se.xsl so you may use any 
text editor for that purpose ...


Damyan


On 1/18/2012 11:05 AM, Paul Hermans wrote:
I wondered if it is possible to modify the form/template used during 
an easy install with the sesame workbench.

If yes, any hints on how.


Paul



Kind Regards,
Paul Hermans

-
*ProXML bvba*
*XML and OWL/RDF services*
*(w) www.proxml.be *
*(b) experiences and opinions *
*(e) p...@proxml.be *
*(t)  +32 15 23 00 76*
(m) +32 473 66 03 20

Narcisweg 17
3140 Keerbergen
Belgium









___
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


Re: [Owlim-discussion] read-only

2012-01-18 Thread damyan

Hi Paul,

yes - there is such setting - you need to run your JVM with 
-Dread.only.mode=true option at runtime. That will be considered during 
repository initialization and switch it to read only mode.


have in mind that this is somehow global - e.g. all the repositories 
initialized within that JVM will be made read only


HTH,
Damyan Ognyanov
Ontotext AD
On 1/18/2012 10:17 AM, Paul Hermans wrote:

Hi,

Is there a parameter or setting that makes a owlim store read-only, 
not allowing sparql updates?



Regards,

Paul






___
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


[Owlim-discussion] adapting a owlim template

2012-01-18 Thread Paul Hermans
Hi,

I adapted the OWLIM-Lite configuration template by adding:
owlim:query-timeout "10" ;

#
# Sesame configuration template for an OWLIM-Lite repository
#
@prefix rdfs: .
@prefix rep: .
@prefix sr: .
@prefix sail: .
@prefix owlim: .

[] a rep:Repository ;
rep:repositoryID "{%Repository ID|owlim-lite-test%}" ;
rdfs:label "{%Repository title|OWLIM-Lite test repository%}" ;
rep:repositoryImpl [
rep:repositoryType "openrdf:SailRepository" ;
sr:sailImpl [
sail:sailType "owlim:Sail" ;
owlim:storage-folder "{%Storage folder|storage%}" ;
owlim:query-timeout "10" ;
 
owlim:ruleset "{%Rule-set|owl-horst-optimized%}" ;
owlim:base-URL "{%Base URL|http://example.org/owlim#%}"; ;
owlim:repository-type "in-memory-repository" ;
  
owlim:entity-index-size "{%Entity index size|20%}" ;
owlim:noPersist "{%No Persistence|false%}" ;
owlim:imports "{%Imported RDF files(';' delimited)%}" ;
owlim:defaultNS "{%Default namespaces for imports(';' delimited)%}" 
;

  ]
   ].

Using the sesame console with command 'create owlim-lite.'
I have 2 issues:
- the query-timeout parameter doesn't appear in the list of settings
- at the end I get '
ERROR: Unsupported Sail type: owlim:Sail'





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


[Owlim-discussion] easy install template/form used

2012-01-18 Thread Paul Hermans
I wondered if it is possible to modify the form/template used during an easy 
install with the sesame workbench.
If yes, any hints on how.


Paul



Kind Regards,
Paul Hermans

-
ProXML bvba
XML and OWL/RDF services
(w) www.proxml.be
(b) experiences and opinions
(e) p...@proxml.be
(t)  +32 15 23 00 76
(m) +32 473 66 03 20

Narcisweg 17
3140 Keerbergen
Belgium







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


[Owlim-discussion] read-only

2012-01-18 Thread Paul Hermans
Hi,

Is there a parameter or setting that makes a owlim store read-only, not 
allowing sparql updates?


Regards,

Paul




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