public OWLObjectPropertyNodeSet convertObjectPropertyNodes( final Iterable<? extends Node<ElkObjectProperty>> nodes) { Set<org.semanticweb.owlapi.reasoner.Node<OWLObjectPropertyExpression>> owlNodes = new HashSet<org.semanticweb.owlapi.reasoner.Node<OWLObjectPropertyExpression>>(); for (final Node<ElkObjectProperty> node : nodes) { owlNodes.add(convertObjectPropertyNode(node)); } return new OWLObjectPropertyNodeSet(owlNodes); }
public OWLObjectPropertyNodeSet convertObjectPropertyNodes( final Iterable<? extends Node<ElkObjectProperty>> nodes) { Set<org.semanticweb.owlapi.reasoner.Node<OWLObjectPropertyExpression>> owlNodes = new HashSet<org.semanticweb.owlapi.reasoner.Node<OWLObjectPropertyExpression>>(); for (final Node<ElkObjectProperty> node : nodes) { owlNodes.add(convertObjectPropertyNode(node)); } return new OWLObjectPropertyNodeSet(owlNodes); }
public OWLObjectPropertyNodeSet convertObjectPropertyNodes( final Iterable<? extends Node<ElkObjectProperty>> nodes) { Set<org.semanticweb.owlapi.reasoner.Node<OWLObjectPropertyExpression>> owlNodes = new HashSet<org.semanticweb.owlapi.reasoner.Node<OWLObjectPropertyExpression>>(); for (final Node<ElkObjectProperty> node : nodes) { owlNodes.add(convertObjectPropertyNode(node)); } return new OWLObjectPropertyNodeSet(owlNodes); }
private Node<OWLObjectPropertyExpression> getObjectPropertyNode( final ElkObjectProperty elkClass) throws FreshEntitiesException, InconsistentOntologyException, ElkException { try { return elkConverter_.convertObjectPropertyNode( reasoner_.getObjectPropertyNode(elkClass)); } catch (ElkException e) { throw elkConverter_.convert(e); } }
private Node<OWLObjectPropertyExpression> getObjectPropertyNode( final ElkObjectProperty elkClass) throws FreshEntitiesException, InconsistentOntologyException, ElkException { try { return elkConverter_.convertObjectPropertyNode( reasoner_.getObjectPropertyNode(elkClass)); } catch (ElkException e) { throw elkConverter_.convert(e); } }
private Node<OWLObjectPropertyExpression> getObjectPropertyNode( final ElkObjectProperty elkClass) throws FreshEntitiesException, InconsistentOntologyException, ElkException { try { return elkConverter_.convertObjectPropertyNode( reasoner_.getObjectPropertyNode(elkClass)); } catch (ElkException e) { throw elkConverter_.convert(e); } }
@Override public Node<OWLObjectPropertyExpression> getEquivalentObjectProperties( final OWLObjectPropertyExpression pe) throws InconsistentOntologyException, FreshEntitiesException, ReasonerInterruptedException, TimeOutException { LOGGER_.trace( "getEquivalentObjectProperties(OWLObjectPropertyExpression)"); checkInterrupted(); if (pe instanceof OWLObjectProperty) { try { return elkConverter_.convertObjectPropertyNode( reasoner_.getObjectPropertyNode( owlConverter_.convert((OWLObjectProperty) pe))); } catch (final ElkUnsupportedReasoningTaskException e) { throw unsupportedOwlApiMethod( "getEquivalentObjectProperties(OWLObjectPropertyExpression)", e.getMessage()); } catch (final ElkException e) { throw elkConverter_.convert(e); } catch (final ElkRuntimeException e) { throw elkConverter_.convert(e); } } throw unsupportedOwlApiMethod( "getEquivalentObjectProperties(OWLObjectPropertyExpression)"); }
@Override public Node<OWLObjectPropertyExpression> getEquivalentObjectProperties( final OWLObjectPropertyExpression pe) throws InconsistentOntologyException, FreshEntitiesException, ReasonerInterruptedException, TimeOutException { LOGGER_.trace( "getEquivalentObjectProperties(OWLObjectPropertyExpression)"); checkInterrupted(); if (pe instanceof OWLObjectProperty) { try { return elkConverter_.convertObjectPropertyNode( reasoner_.getObjectPropertyNode( owlConverter_.convert((OWLObjectProperty) pe))); } catch (final ElkUnsupportedReasoningTaskException e) { throw unsupportedOwlApiMethod( "getEquivalentObjectProperties(OWLObjectPropertyExpression)", e.getMessage()); } catch (final ElkException e) { throw elkConverter_.convert(e); } catch (final ElkRuntimeException e) { throw elkConverter_.convert(e); } } throw unsupportedOwlApiMethod( "getEquivalentObjectProperties(OWLObjectPropertyExpression)"); }
@Override public Node<OWLObjectPropertyExpression> getEquivalentObjectProperties( final OWLObjectPropertyExpression pe) throws InconsistentOntologyException, FreshEntitiesException, ReasonerInterruptedException, TimeOutException { LOGGER_.trace( "getEquivalentObjectProperties(OWLObjectPropertyExpression)"); checkInterrupted(); if (pe instanceof OWLObjectProperty) { try { return elkConverter_.convertObjectPropertyNode( reasoner_.getObjectPropertyNode( owlConverter_.convert((OWLObjectProperty) pe))); } catch (final ElkUnsupportedReasoningTaskException e) { throw unsupportedOwlApiMethod( "getEquivalentObjectProperties(OWLObjectPropertyExpression)", e.getMessage()); } catch (final ElkException e) { throw elkConverter_.convert(e); } catch (final ElkRuntimeException e) { throw elkConverter_.convert(e); } } throw unsupportedOwlApiMethod( "getEquivalentObjectProperties(OWLObjectPropertyExpression)"); }