Hi there, Your program seems to add the Java object not the typed literal to the graph. In particular what does r.setPropertyValue(p, cal); do? There is no...
Tut, tut. That program I gave depends on hash ordering when retrieving the data literal again. Either remove the line: r.addProperty(p, cal) ; Or add it as a...
I think you're getting some different concepts mixed up here. The model itself *only* stores full URI's. The form of the stored URI's do not depend on the...
Ian - The equivalent code using setPropertyValue goes like this: String uri = jgaNS + "ViewId1"; OntClass viewClass = drModel.getOntClass( jgaNS + "View" ); ...
In the addProperty case you are passing in a String, not an RDFNode. This means you are invoking the convenience method that will wrap up a ... In the...
Thanks for point this out, clearly a bug. I'll take a look in my next round of Jena work. If you could mail me your sample code that would be helpful in cross ...
Hi, I have an OntModel and I want to get all the statements associated with a specific OntResource in that model in RDF/XML. Taking the example of the food...
Hi Aditya, This is known as "bNode closure". There are various implementations around: for example, there's a very general version in Joseki. We have talked...
7849
sisifofelice@...
May 2, 2004 3:34 pm
Hi, I'm writing some code to have an adapting layer between Sesame and Jena. The idea is to access a Jena model through the Sesame SAIL API, as suggested in...
... talked about ... yet. If you ... method ... reachable by any ... only queue ... I say, ... Thanks Ian - this will give me a chance to play w/ Joseki as...
7851
David Roetzel
david.roetzel@...
May 2, 2004 9:52 pm
Hi, i want to create forward rules for the RETE-reasoner from within a GUI application. I thought that creating my own Rule objects would be a good idea since ...
Hi David, I'd recommend using Rule.parseRule in this case. The overhead of string parsing is not very great and in a GUI application I doubt you'll be creating...
Thanks, i can execute the second example but does it support OWL ontology files? when i try to load ontology with the ending 'owl' it says the file cannot be...
... Yes. Though of course it only implements the semantics shown in those rules. ... ModelLoader tries to guess the file format from the suffix. There was a ...
Hello, Someone can tell me how can I do to run the example Tutorial05.java of Jena documentation under Jbuilder ? I tried it but I got exception which says...
I am interested in adding a pluggable, data-aware, security authorization interface to Joseki/Jena, which would allow people to plug-in operation and data...
... Good objective - I see it as good if application developers can mix and match useful technology. Its good timing as well with the W3C Data Access Workign...
baoshi, sorry for the delayed reply - i was out of the office. dave's reply is correct - jena1 uses the same indexing scheme as jena1. thanks for noting that...
From: jesusb2_79 [mailto:jesusb2_79@...] ... This has come up many times on this list in the past - please remember that you can check the archives for...
Thank you Mr Andy, That you explained it's what I did when I ran this example with java command under MsDos shell and it waked. But with Jbuilder, I...
... I think the simple answer is "you can't (by simple inspection)" (or more to the point shouldn't). There probably is some analysis you might able to do on...
I don't use JBuilder - I use Eclipse. It would help if you could provide some information, like a stacktrace, and the classpath under JBuilder. It is rather...
... [snip] ... We did do a little work on this a couple of years ago. See http://www.hpl.hp.com/techreports/2002/HPL-2002-328.html section 5.2.6. That work was...
Thank you, Jeremy, Dave and Ian, for your responses, have been very useful. David. ... your code ... putting ... intended to ... true, but ... to ... If that ...