Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Protege owl-api 3.4.8 and SWRL rules

Maria Koutraki mary.kutraki at gmail.com
Fri Feb 24 09:06:09 PST 2012


Hi all,

I want to execute some swrl rules throw protege owl-api.
I use Protege 3.4.8.
I had written the code before with Protege 3.4.4 owl-api but my code
doesn't work in Protege 3.4.8.

Is there any example of how to do this?


My code in Protege 3.4.4 owl-api was:

JenaOWLModel  owlModel = ProtegeOWL.createJenaOWLModelFromURI(uri);
SWRLRuleEngineBridge bridge = BridgeFactory.createBridge("SWRLJessBridge",
owlModel);
bridge = BridgeFactory.createBridge(owlModel);
bridge.reset();
bridge.importSWRLRulesAndOWLKnowledge();
bridge.run();
bridge.infer();


-- 
Mary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20120224/f5931612/attachment.html>


More information about the protege-owl mailing list