Modeling relationships of classes with ObjectProperty

2013-03-05 Thread Bojan Milić
Hey Dave, tnx for your reply. Yes I did describe my case poorly. I am not even sure if I need to use domain and range property, I am new to semantic and Jena. What I would like to achieve is to build some kind of document library, where some documents use and create other documents. Thanks to feed

Re: Cleanly Remove Resources

2013-03-05 Thread Mark Fischer
Garbage collecting the restrictions sounds interesting. I aught to be able to iterate through all anonymous classes and see if they're 'used' (or referenced). Thanks for the response. -- Mark Fischer On Tue, Mar 5, 2013 at 5:20 PM, Dave Reynolds wrote: > On 05/03/13 22:02, David Jordan wrote:

Re: Cleanly Remove Resources

2013-03-05 Thread Dave Reynolds
On 05/03/13 22:02, David Jordan wrote: If you have your ontology in its own separate Model, doesn't model.removeAll() do it? I understood Mark to be trying to remove individual axioms from within a Model, not just empty the Model. For example, if you have declared a class with some associa

Re: User defined types

2013-03-05 Thread Dave Reynolds
On 05/03/13 17:26, Mark Fischer wrote: I'd like to talk about all integers greater then 400. This appears to be what I'm looking to do. http://jena.sourceforge.net/how-to/typedLiterals.html#userXSD Seems I need to create a file such that reading it in will create the user defined types that I'm

Re: Cleanly Remove Resources

2013-03-05 Thread David Jordan
If you have your ontology in its own separate Model, doesn't model.removeAll() do it? On Mar 5, 2013, at 4:49 PM, Dave Reynolds wrote: > On 05/03/13 20:20, Mark Fischer wrote: >> Is there an easy way to cleanly remove resources from an Ontology? >> >> Currently, I just remove all statements th

Re: Cleanly Remove Resources

2013-03-05 Thread Dave Reynolds
On 05/03/13 20:20, Mark Fischer wrote: Is there an easy way to cleanly remove resources from an Ontology? Currently, I just remove all statements that have the resource present. This works well enough but I'm worried that it will leave anonymous superclasses behind. Yes, it will. I also wond

Re: Owl instance testing with Jena

2013-03-05 Thread Martynas Jusevičius
Vegard, have you looked at SPIN constraints? http://spinrdf.org/spin.html#spin-constraints http://semwebquality.org/ontologies/dq-constraints Martynas graphity.org On Tue, Mar 5, 2013 at 10:20 AM, Vegard Vaage wrote: > Hi! > > I'm trying to verify instance data against an ontology using Jenas O

Getting to know my data in Fuseki

2013-03-05 Thread Lewis John Mcgibbney
Hi, Say I s-put a bunch of OWL files in to my Fuseki server in memory, all goes well. Over time, I may wish to add more, update the files... the usual SOH stuff. Is there any mechanism to actually understand how the underlying data us structured? For example within the control panel, it would be ni

Re: Owl instance testing with Jena

2013-03-05 Thread Joshua TAYLOR
On Tue, Mar 5, 2013 at 11:32 AM, Dave Reynolds wrote: > On 05/03/13 16:16, Joshua TAYLOR wrote: >> >> On Tue, Mar 5, 2013 at 10:59 AM, Dave Reynolds >> wrote: >>> >>> On 05/03/13 14:11, Joshua TAYLOR wrote: On Tue, Mar 5, 2013 at 3:20 AM, Vegard Vaage wrote: > > >

User defined types

2013-03-05 Thread Mark Fischer
I'd like to talk about all integers greater then 400. This appears to be what I'm looking to do. http://jena.sourceforge.net/how-to/typedLiterals.html#userXSD Seems I need to create a file such that reading it in will create the user defined types that I'm interested in. First, can I do this gram

Re: Owl instance testing with Jena

2013-03-05 Thread Dave Reynolds
On 05/03/13 16:16, Joshua TAYLOR wrote: On Tue, Mar 5, 2013 at 10:59 AM, Dave Reynolds wrote: On 05/03/13 14:11, Joshua TAYLOR wrote: On Tue, Mar 5, 2013 at 3:20 AM, Vegard Vaage wrote: I'm trying to verify instance data against an ontology using Jenas OWL reasoner. Right now I'm just tryi

RE: fuseki

2013-03-05 Thread John Fereira
I've been running Fuseki under Jetty with the ReconnectSDB library for awhile. Here's what the shell script I use to start it looks like (this script is invoked in init.d at startup) #!/bin/sh port=3030 java -cp ./fuseki-server.jar:lib/ReconnectingSDB-0.1-SNAPSHOT.jar:lib/jena-sdb-1.3.6-SNAPSH

Re: fuseki

2013-03-05 Thread Andy Seaborne
On 05/03/13 15:47, Bohms, H.M. (Michel) wrote: Another reason (we look to war) I did not mention yet was the fact that we do not get it working as a service on linux so via: script "service fuseki start" What happens? Did you install the fuseki script that comes with the distribution? (You n

Re: Owl instance testing with Jena

2013-03-05 Thread Joshua TAYLOR
On Tue, Mar 5, 2013 at 10:59 AM, Dave Reynolds wrote: > On 05/03/13 14:11, Joshua TAYLOR wrote: >> >> On Tue, Mar 5, 2013 at 3:20 AM, Vegard Vaage wrote: >>> >>> I'm trying to verify instance data against an ontology using Jenas OWL >>> reasoner. Right now I'm just trying to verify that the input

Re: Modeling relationships of classes with ObjectProperty

2013-03-05 Thread Dave Reynolds
I don't follow what you are trying to achieve but it sounds like at least part of it is to be able to state that the domain or range of a property is a union of classes, rather than a single class. At least that's what your OWL API example seems to do. This is perfectly possible in Jena. For e

Re: fuseki

2013-03-05 Thread Ioan SZILAGYI
Hi, Try with an *&* at the end of your command line. Ex: fuseki-server --config=ConfigFile & -- Ioan On Tue, Mar 5, 2013 at 4:47 PM, Bohms, H.M. (Michel) wrote: > Thx!, we'll have a look. > > Another reason (we look to war) I did not mention yet was the fact that we > do not get it working

Re: Owl instance testing with Jena

2013-03-05 Thread Dave Reynolds
On 05/03/13 14:11, Joshua TAYLOR wrote: On Tue, Mar 5, 2013 at 3:20 AM, Vegard Vaage wrote: I'm trying to verify instance data against an ontology using Jenas OWL reasoner. Right now I'm just trying to verify that the input literals are of the correct types and ranges, but later on I'll need

Re: fuseki

2013-03-05 Thread Dave Reynolds
On 05/03/13 12:48, Bohms, H.M. (Michel) wrote: Dear all, We want to run fuseki on a linux server. We think we need a war otherwise we need one user continuously logged in it seems. Not necessary, use the Linux command nohup to run a script that will survive logging out. Dave

RE: fuseki

2013-03-05 Thread Bohms, H.M. (Michel)
Thx!, we'll have a look. Another reason (we look to war) I did not mention yet was the fact that we do not get it working as a service on linux so via: script "service fuseki start" of you have idea's what could be the reason, always welcome! (it says it has been started but nothing on 3030)

RE: update on my Postgres issue

2013-03-05 Thread David Jordan
Thanks Andy. You were right, the default character encoding Postgres uses is not UTF-8 compatible. I created a new environment with the right encoding and it worked fine. -Original Message- From: Andy Seaborne [mailto:andy.seaborne.apa...@gmail.com] On Behalf Of Andy Seaborne Sent: Tues

Re: Owl instance testing with Jena

2013-03-05 Thread Joshua TAYLOR
On Tue, Mar 5, 2013 at 3:20 AM, Vegard Vaage wrote: > I'm trying to verify instance data against an ontology using Jenas OWL > reasoner. Right now I'm just trying to verify that the input literals are of > the correct types and ranges, but later on I'll need more advanced > verification against

Re: fuseki

2013-03-05 Thread Francesco Panico
Hi, I worked on a j2ee Fuseki distribution (a WAR file with Fuseki that use an external DB like mysql). I wrote about it in https://issues.apache.org/jira/browse/JENA-201 . I solved the problem of the broken connection using ReconnectingSDB ( g...@github.com:shellac/ReconnectingSDB.git). You can mo

fuseki

2013-03-05 Thread Bohms, H.M. (Michel)
Dear all, We want to run fuseki on a linux server. We think we need a war otherwise we need one user continuously logged in it seems. Thanks for advice, Michel This e-mail and its contents are subject to the DISCLAIMER at http://www.tno.nl/emaildisclaimer

Re: update on my Postgres issue

2013-03-05 Thread Andy Seaborne
On 04/03/13 21:00, David Jordan wrote: With the recent error I reported, I was trying to load dbPedia ontology in RDF/XML format. This is with Postgres 9.2 and SDB 1.3.6 Snapshot. Caused by: java.sql.BatchUpdateException: Batch entry 3 INSERT INTO NNodeQuads17852335 VALUES (-538803559104408383

Owl instance testing with Jena

2013-03-05 Thread Vegard Vaage
Hi! I'm trying to verify instance data against an ontology using Jenas OWL reasoner. Right now I'm just trying to verify that the input literals are of the correct types and ranges, but later on I'll need more advanced verification against the ontology. I've been following the Jena OWL Reasoner