@Override public String NAMESPACE() { return OWL.getURI(); }
public static Property priorVersion() { return property( "priorVersion" ); } public static Property imports() { return property( "imports" ); }
public static Resource Thing() { return resource( "Thing" ); } public static Resource DataRange() { return resource( "DataRange" ); }
@Override public String NAMESPACE() { return OWL.getURI(); }
public static Property unionOf() { return property( "unionOf" ); } public static Property hasValue() { return property( "hasValue" ); }
public static Resource AllDifferent() { return resource( "AllDifferent" ); } public static Resource DatatypeProperty() { return resource( "DatatypeProperty" ); }
private boolean isBuiltInEntity(Node n) { return n.getNameSpace().equals(RDF.getURI()) || n.getNameSpace().equals(RDFS.getURI()) || n.getNameSpace().equals(OWL.getURI()); }
public static Property someValuesFrom() { return property( "someValuesFrom" ); } public static Property disjointWith() { return property( "disjointWith" ); }
public static Resource AnnotationProperty() { return resource( "AnnotationProperty" ); } public static Resource Restriction() { return resource( "Restriction" ); }
public void testOWL2SharesOWL1URI() { assertEquals( OWL.getURI(), OWL2.getURI() ); }
public static Property distinctMembers() { return property( "distinctMembers" ); } public static Property oneOf() { return property( "oneOf" ); }
public static Resource Restriction() { return resource( "Restriction" ); } public static Resource Class() { return resource( "Class" ); }
public void testOWL2SharesOWL1URI() { assertEquals( OWL.getURI(), OWL2.getURI() ); }
public static Property oneOf() { return property( "oneOf" ); } public static Property sameAs() { return property( "sameAs" ); }
public static Resource FunctionalProperty() { return resource( "FunctionalProperty" ); } public static Resource InverseFunctionalProperty() { return resource( "InverseFunctionalProperty" ); }
public void testWritesPrefixes() { OntModel om = ModelFactory.createOntologyModel(); om.setNsPrefix( "spoo", "http://spoo.spoo.com/spoo#" ); om.add( statement( om, "ping http://spoo.spoo.com/spoo#pang pilly" ) ); om.add( statement( om, "gg " + OWL.getURI() + "hh ii" ) ); StringWriter sw = new StringWriter(); om.write( sw ); String s = sw.getBuffer().toString(); assertTrue( s.indexOf( "xmlns:spoo=\"http://spoo.spoo.com/spoo#\"" ) > 0 ); assertTrue( s.indexOf( "xmlns:owl=\"" + OWL.getURI() + "\"" ) > 0 ); }
public static Property complementOf() { return property( "complementOf" ); } public static Property onProperty() { return property( "onProperty" ); }
public static Resource Nothing() { return resource( "Nothing" ); } }
if ( !( OWL.getURI().equals( nsKey ) || RDF.getURI().equals( nsKey ) || RDFS.getURI().equals( nsKey ) ||
public static Property maxCardinality() { return property( "maxCardinality" ); } public static Property versionInfo() { return property( "versionInfo" ); }