... That should be no problem. ... !You shouldn't need to know the namespace prefix, since you'll already have got the resource. ... The entries in the...
... Yes but the syntax will be very painful. ... You need to decide how you want to represent the sequence, you might use a SEQ or a list. For the SEQ case...
Hi Ray, ... Sometimes but rarely. ... No. Assuming you are talking about a rule reasoner then in the current implementation of size will return the sum of the...
... A good approach to this would be to create a new model to hold your instance data and arrange for that to import the ontology file. In that case you don't...
Hi, is still me. I have resolved the previous problem, thanks to all. But now I have another problem. When I try to get the name of a student I write a query...
... That's right. If you want to search for a string with the spelling "Andrea" without caring about the language -- and it's not clear to me that this would ...
... Thanks, with this construct it runs correctly. But now I have a question. I wish to retrieve the name of an individual from a given value of the property...
... Hash: SHA1 Ok, we now have a proper abort() in svn. Sorry this took so long, a workshop got in the way. model.begin(); model.add(RDF.type, RDF.type,...
... the ... It can't return an empty value. Either it returns nothing or ?x is set to something, maybe a blank node. What does the data look like? "Tigli" was...
Hey Damian, I got an exception in this scenario: OntModel ontologyModel = ModelFactory.createOntologyModel( OntModelSpec.OWL_MEM, model); model.begin(); ...
... What's happening is that the create class is adding: <http://www.com/#Class1> rdf:type owl:Class to the store. It then returns an OntClass, which checks...
Hi, I want to write a program to reason against rdf model with a list of rules like the following: Rules: rule1: x? status GoodCondition <- ?x has CleanCover ...
... See http://jena.sourceforge.net/inference/index.html#rules The default mode for a GenericRuleReasoner is "Hybrid" which means if you write the rules using...
Chris and Andy, Thank you for your responses. :-) I already have working code to retrieve resultsets. My problem is that I then want to modify those specific...
Hi Bettina, ... Ah, I think I see what you doing. Although rdf:about looks similar to other properties in the RDF/XML serialization, in fact it's a particular ...
Hi Ian, Thanks for your feedback! I have tried that before with no luck... but you triggered a realization as to why it did not work for me before. Here is my...
Hmmm . We probably could work around the createClass scenario but we have this scenario as well: model.begin(); ... model.createInstance(uri, class); ... ...
Hi Paulo, ... Um, I'm not sure that you're asking too much from a the transaction layer here. What would you expect the post-condition to be if you allow ...
Hi Ian, Yeah, I'm sorry about the confusion. What I meant was that resource is null. (I had a assert resource != null there which was failing). Yes, what I...
Back pain, neck pain, and arthritis related complications will no longer affect your movements and productivity if you follow the simple but very effective...
Hi, I have to add a value for a property of an individual and this value is int. In the doc i see that this method with int parameter is deprecate. It means...
Hi, I build a ontology in Protege 3.3.1 and saved as OWL file(RDF/XML-ABBREV). I wrote a program in java.It is OK when querying the model.When I serialized...