Can someone tell me how can I obtain a statement like this? <owl:Ontology rdf:about=""> <owl:imports rdf:resource="http://www.myOntology.it/myOntology.owl"/> ...
Fabio - To add an owl:imports statement to the owl:Ontology resource, you need first to create the owl:Ontology and then to add the owl:imports to it. See...
Why I obtain xmlns="http://www.myOntology.it/ontologiaPiano#" instead of xmlns:piano="http://www.myOntology.it/ontologiaPiano#" even if when I declare the...
... Your rule is in backward notation. If you are using the GenericRuleReasoner then backward rules are run backwards which shouldn't allow bultins in the...
... Note that an owl:Restriction is a type of owl class; in particular it is an anonymous class ... the local name of an anonymous class is null. ... Well, the...
Hi Fabio, The prefix mapping for the model is not the same as the one for the document manager. You need to alter the prefixes on the model itself, which you...
Hi,Dave ... But I just need to print when the head is the reason result. That means I want the print() builtin is called when the body predicates are all...
Luipeng, ... It looks like Dave's forward rule suggestion would be more applicable for your needs. Although I've never used backward rules, I do know they are...
Hi, I define my rule in backward form as follows: [AuthorizationRule2: (?r sspl:access denied)<-(?r sspl:subject ?s),(?p sspl:subject ?s), (?r sspl:object...
Liupeng, ... print() will be called in the body because it always returns true in the body. ... In the term (?p ssp1:access allowed), is "allowed" a rule...
Hi,Rowland ... So the "allowed" is an individual but not a rule variable or a java variable. In fact this two rules have the same meaning. Right? Their bodies...
Hi, I will explain my problem in more details. In fact I have 2 rules as follows: [AuthorizationRule1: (?r sspl:access allowed)<-(?r sspl:subject ?s),(?s...
... The build.xml says major=2 minor=2 last retrieved from CVS @ 12/4/2004 ... single transaction? The transaction to store the largest file in a single...
Luipeng, ... Ok, I think the problem is to do with using forward and backward rules together. I don't understand the consequences of mixing forward and ...
... OK - I can't be certain but if the time is approximately the same (7 hours) for file, for DB/transaction and DB/no-transaction then it looks like it isn't...
Let me clarify, I load data from an external source (this is what take the same time) from which I create and store a Jena models (in one case to file, in...
good morning. ... I'm using version 2.1 sorry for not replying earlier, I was already more concerned with celebrating new year rather than working ;-) thanks...
My problem: I dont know as to read the values of a resource with relations of an ontologia imported My ontology: ... <owl:Ontology rdf:about=""> <owl:imports ...
Hi,Rowland If I want to define my builtin, I just need to extend the BaseBuiltin and register it. I don't need to unjar the jena.jar and add my builtin and...
Liupeng, ... Hmm, "allowed" is an individual - should this not be a URI? Assuming you have a individual who's local name is "allowed", you probably need to put...
Liupeng, ... Correct, there's no need to modify the jena jar file. You could make a new package for yourself that holds your reasoner classes. I, for example...
I have seen at least one mention somewhere in the literature of possible query language extensions to allow adding/updating of RDF/OWL data. This would roughly...
Hi,Rowland ... Actually I use "allowed" directly in the backward rule and the rule body is matched successfully and I get the expected triple(auth2 sspl:access...
Liupeng, ... Glad to here your forward rules work well! I think that there might be some issue with a forward rule being triggered by a backward rule. The Jena...
FYI CVS version of 3.0 doesn't mix with tomcat [out of the box] - seems to have a jetty dependency in the web.xml for serving up static pages. ? I'm not too...