Set class property restriction

2015-07-03 Thread Zahir Kali
Hi,i want add restriction to a class's propperty. I have the following:final OntClass cConfItem = ontModel.createClass(NS + "confi-item"); ObjectProperty opHeberge = ontModel.createObjectProperty(NS + "heberge"); cConfItem.addProperty(opHeberge, iTomcat); i want to add "maxCardinality" restricti

Jena Pellet for commercial use

2015-04-29 Thread Zahir Kali
Hello,can i use Pellet to execute SWRL rules for commercial use? Is this free? Thank you.

Re: Jena Rules and OSGI

2014-11-07 Thread Zahir Kali
Aperçu par Yahoo Zahir KALI Master 2 Architecture et ingénierie de logiciel et de web Université Montpellier 2 Tel: 06 73 81 06 08 Github: https://github.com/ZahirKali?tab=repositories Le Vendredi 7 novembre 2014 12h50, Zahir Kali a écrit : No, your rules are in Jena rules format. The

Re: Jena Rules and OSGI

2014-11-07 Thread Zahir Kali
Jim sf:hasMembership sf:True) ] Reasoner reasoner = new GenericRuleReasoner(Rule.parseRules(rules)); Zahir KALI Master 2 Architecture et ingénierie de logiciel et de web Université Montpellier 2 Tel: 06 73 81 06 08 Github: https://github.com/ZahirKali?tab=repositories Le Vendredi 7 novembre 2014 12

Re: Jena Rules and OSGI

2014-11-07 Thread Zahir Kali
Your rules are in OWL format? As i see, you are extending an OWL reasoner but you want use Jena rules format. Zahir KALI Master 2 Architecture et ingénierie de logiciel et de web Université Montpellier 2 Tel: 06 73 81 06 08 Github: https://github.com/ZahirKali?tab=repositories Le Vendredi 7

Re: Saving voluminous RDF model in File?

2014-08-14 Thread Zahir Kali
It is clear. Thank you. Le Jeudi 14 août 2014 15h41, Dave Reynolds a écrit : On 14/08/14 14:30, Zahir Kali wrote: > In fact, i have different results using OWL_MICRO and Default configuration. > Plaese, is this natural? Yes, MICRO is performing fewer inferences in return for better

Re: Saving voluminous RDF model in File?

2014-08-14 Thread Zahir Kali
); Plaese Is this correct. Sofiane. Le Mercredi 13 août 2014 16h36, Zahir Kali a écrit : Thank you Dave, effectively the materialization of the model make the writing in file really faster. Thanks Le Mercredi 13 août 2014 16h09, Dave Reynolds a écrit : On 13/08/14 15:02, Chris Dollin

Re: Saving voluminous RDF model in File?

2014-08-13 Thread Zahir Kali
Thank you Dave, effectively the materialization of the model make the writing in file really faster. Thanks Le Mercredi 13 août 2014 16h09, Dave Reynolds a écrit : On 13/08/14 15:02, Chris Dollin wrote: > On Wednesday, August 13, 2014 02:47:33 PM Zahir Kali wrote: >> >>

Re: Saving voluminous RDF model in File?

2014-08-13 Thread Zahir Kali
15h37, Andy Seaborne a écrit : On 13/08/14 12:08, Damian Steer wrote: > On 13/08/14 11:59, Zahir Kali wrote: >> Thank you for the help. But i have tried the both  RDFDataMgr and RDFWriter >> but the result is not better. > > You didn't address these questions: >

Re: Saving voluminous RDF model in File?

2014-08-13 Thread Zahir Kali
Thank you for the help. But i have tried the both  RDFDataMgr and RDFWriter but the result is not better. Sofiane. Le Mercredi 13 août 2014 11h28, Damian Steer a écrit : On 13/08/14 09:14, Zahir Kali wrote: > Hello, I am working about reasoning in Jena. I take RDF model and i >

Saving voluminous RDF model in File?

2014-08-13 Thread Zahir Kali
Hello, I am working about reasoning in Jena. I take RDF model and i enrich it.So the RDF obtained is voluminous and to save it in a file i must wait many hours (3 or 4 hours). I thought to use TDB but i am not sure that is the best way to resolve the problem. Please, do you have idea? Thanks.

Jena, How to read OWL2 file?

2014-07-22 Thread Zahir Kali
Hello, i am trying to read OWL2 file with Jena but i have the following error: org.apache.jena.riot.RiotException: [line: 243, col: 46] {E201} Multiple children of property element I did some researchs, they say that Jena does not support OWL2. If true, do you know how to fixe the problem? Tha

Re: OWL reasonnement

2014-07-21 Thread Zahir Kali
slate the same rule in OWL, but the problem is: whene i test if server "s" host application "a", if the test is true, I do not know how add a new information in the application "a" (not in the server "s"). Thank you. Le Lundi 21 juillet 2014 9h11, Zahir Ka

Re: OWL reasonnement

2014-07-21 Thread Zahir Kali
Hello, no this is not university assignment, i am working in a company. Zahir. Le Vendredi 18 juillet 2014 17h40, Dave Reynolds a écrit : On 18/07/14 16:28, Zahir Kali wrote: > To be clear, i post the TURTLE dormat of my two individuals Servers and > Applications. >

Re: OWL reasonnement

2014-07-18 Thread Zahir Kali
;^^xsd:string ;       data:eap-cod "HPSIM"^^xsd:string ;       data:eap-nom "HP Insight Manager"^^xsd:string ;       data:eap-rspetu "ET NA"^^xsd:string ;       data:eap-rspprd "PT SERVEUR"^^xsd:string ;       data:eap-typ "Progiciel"^^xsd:string ;    

OWL reasonnement

2014-07-18 Thread Zahir Kali
Hello, i am working about inferences. I am using Jena OWL reasoner. I have two kind of idividuals, Servers and Applications. Servers can host Applications, the object property responsible to make the link is "data:heberge". I would locate the applications that are hosted on servers. Servers are

Can i run SWRL in Jena without Pellet reasoner?

2014-07-17 Thread Zahir Kali
Hello, do you know if i can run SWRL rule in Jena, but not with Pellet reasoner. Thank you.

Re: SWRL vs Jena rule (generic engine)

2014-07-17 Thread Zahir Kali
Thank you for the response. Please do you know an editor like Protégé which can edit jena rules? Tkank you. Le Jeudi 17 juillet 2014 10h17, Dave Reynolds a écrit : On 17/07/14 09:01, Zahir Kali wrote: > Hello, > is there rapprochement between SWRL and Jena rule with generic engine?

SWRL vs Jena rule (generic engine)

2014-07-17 Thread Zahir Kali
Hello, is there rapprochement between SWRL and Jena rule with generic engine? If not, can i work with SWRL rules in Jena (but not with Pellet Reasoner)? Thank you.

Generic rule engine: how to add information to an individual property

2014-07-16 Thread Zahir Kali
Hello, i am working about inferences using Jena Generic Rule Engine. I would add an information to an individual property. I have this: 3 SAGEQI Sage Quai de l'Image ET NA PF HEBERGEMENT Progiciel Application     i would would say:if data:eap-nom = "SAGEQI" => add new attributedata:type="ap

How can i add a new individual in Jena general purpose rule engine

2014-07-10 Thread Zahir Kali
Hello, i am working about enrichment data with Jena general purpose rule engine, and i would add a new individual to the data. Example: I have data like this:          SRVLINMAGZ06 En service -

Jena rules: test a literal property to string

2014-07-09 Thread Zahir Kali
Hello, i am working about inferences on Jena. I would test that a property is a particular string. I have an ontology about servers, an individuals like this: SRVLINMAGZ06Enservice- i would add a new information (new property) to the servers that have a property identifiant-reseau="POLO" so, for