/** * Return a property Node which represents the direct version of a * transitively closed property. See <code>makeDirect(String)</code>; * this method makes a new Node with the direct respelling of * <code>node</code>s URI. */ public static Node makeDirect(Node node) { return NodeFactory.createURI( makeDirect( node.getURI() ) ); }
/** * Return a property Node which represents the direct version of a * transitively closed property. See <code>makeDirect(String)</code>; * this method makes a new Node with the direct respelling of * <code>node</code>s URI. */ public static Node makeDirect(Node node) { return NodeFactory.createURI( makeDirect( node.getURI() ) ); }
/** compact call to ReasonerRegistry.makeDirect */ private static final Property makeDirect( Property type ) { return ResourceFactory.createProperty( ReasonerRegistry.makeDirect( type.asNode().getURI() ) ); }
/** compact call to ReasonerRegistry.makeDirect */ private static final Property makeDirect( Property type ) { return ResourceFactory.createProperty( ReasonerRegistry.makeDirect( type.asNode().getURI() ) ); }
private void assertIsDirectProperty( Resource r, Property p ) { assertEquals( ReasonerRegistry.makeDirect( r.getURI() ), p.getURI() ); }
private void assertIsDirectProperty( Resource r, Property p ) { assertEquals( ReasonerRegistry.makeDirect( r.getURI() ), p.getURI() ); }
sc = getModel().getProperty( ReasonerRegistry.makeDirect( sc.asNode() ).getURI() );
sc = getModel().getProperty( ReasonerRegistry.makeDirect( sc.asNode() ).getURI() );