public OWLConnection replaceConnection ( ) throws OntopConnectionException { OWLConnection oldconn = this . owlConnection ; owlConnection = reasoner . getConnection ( ) ; return oldconn ; }
Replaces the owl connection with a new one Called when the user cancels a query . Easier to get a new connection than waiting for the cancel