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] Issue with creating SWRLRuleEngineBridge

lavanya_k lavanyasunilreddy at
Wed Oct 29 08:04:47 PDT 2008


I am seeing the following error while using this code:

Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
	SWRLRuleEngineBridge cannot be resolved to a type
	BridgeFactory cannot be resolved

   String uri = "file:/C:/Project1/Protege_3.4_beta/MH.owl";
        OWLModel owlModel = ProtegeOWL.createJenaOWLModelFromURI(uri);
        SWRLRuleEngineBridge bridge =
BridgeFactory.createBridge("SWRLJessBridge", owlModel);

I am importing the following:

import edu.stanford.smi.protegex.owl.ProtegeOWL;
import edu.stanford.smi.protegex.owl.jena.JenaOWLModel;
import edu.stanford.smi.protegex.owl.model.*;
import edu.stanford.smi.protegex.owl.swrl.*;

import java.util.Collection;
import java.util.Iterator;

I am using Eclipse and have added all the JAR files in the class path.
I am able to read and create Instances to the Ontology successfully using

Can you pls. let me know what I am missing.
I appreciate any help.


View this message in context:
Sent from the Protege - OWL mailing list archive at

More information about the protege-owl mailing list