public static Property priorVersion() { return property( "priorVersion" ); } public static Property imports() { return property( "imports" ); }
public static Resource Class() { return resource( "Class"); } public static Resource Datatype() { return resource( "Datatype"); }
public static Resource Seq() { return resource( "Seq" ); } public static Resource Statement() { return resource( "Statement" ); }
/** * Sets the usual default namespaces for rdf, rdfs, owl and xsd. * @param prefixMapping the Model to modify */ public static void initNamespaces(PrefixMapping prefixMapping) { ensurePrefix(prefixMapping, "rdf", RDF.getURI()); ensurePrefix(prefixMapping, "rdfs", RDFS.getURI()); ensurePrefix(prefixMapping, "owl", OWL.getURI()); ensurePrefix(prefixMapping, "xsd", XSD.getURI()); }
/** * Load built in prefixes. */ public static void init() { registerPrefix("rdf", RDF.getURI()); registerPrefix("rdfs", RDFS.getURI()); registerPrefix("drdfs", "urn:x-hp-direct-predicate:http_//www.w3.org/2000/01/rdf-schema#"); registerPrefix("owl", OWL.getURI()); registerPrefix("jr", ReasonerVocabulary.getJenaReasonerNS()); registerPrefix("rb", ReasonerVocabulary.getRBNamespace()); registerPrefix("eg", egNS); registerPrefix("xsd", XSDDatatype.XSD + "#"); }
void setupMaps() { nameSpaces.set11(RDF.getURI(), "rdf"); nameSpaces.set11(RDFS.getURI(), "rdfs"); nameSpaces.set11(DC.getURI(), "dc"); nameSpaces.set11(RSS.getURI(), "rss"); nameSpaces.set11("http://www.daml.org/2001/03/daml+oil.daml#", "daml"); nameSpaces.set11(VCARD.getURI(), "vcard"); nameSpaces.set11("http://www.w3.org/2002/07/owl#", "owl"); }
public void testOWL2SharesOWL1URI() { assertEquals( OWL.getURI(), OWL2.getURI() ); }
public void testCreateURI() { String uri = "http://www.electric-hedgehog.net/"; testCreateURI( uri ); testCreateURI( "rdf:trinket", "http://www.w3.org/1999/02/22-rdf-syntax-ns#trinket" ); testCreateURI( "rdfs:device", "http://www.w3.org/2000/01/rdf-schema#device" ); testCreateURI( "dc:creator", DC.getURI() + "creator" ); testCreateURI( "rss:something", RSS.getURI() + "something" ); testCreateURI( "vcard:TITLE", VCARD.getURI() + "TITLE" ); testCreateURI( "owl:wol", OWL.NAMESPACE + "wol" ); }
public static Resource Thing() { return resource( "Thing" ); } public static Resource DataRange() { return resource( "DataRange" ); }
/** * Sets the usual default namespaces for rdf, rdfs, owl and xsd. * @param prefixMapping the Model to modify */ public static void initNamespaces(PrefixMapping prefixMapping) { ensurePrefix(prefixMapping, "rdf", RDF.getURI()); ensurePrefix(prefixMapping, "rdfs", RDFS.getURI()); ensurePrefix(prefixMapping, "owl", OWL.getURI()); ensurePrefix(prefixMapping, "xsd", XSD.getURI()); }
/** * Load built in prefixes. */ public static void init() { registerPrefix("rdf", RDF.getURI()); registerPrefix("rdfs", RDFS.getURI()); registerPrefix("drdfs", "urn:x-hp-direct-predicate:http_//www.w3.org/2000/01/rdf-schema#"); registerPrefix("owl", OWL.getURI()); registerPrefix("jr", ReasonerVocabulary.getJenaReasonerNS()); registerPrefix("rb", ReasonerVocabulary.getRBNamespace()); registerPrefix("eg", egNS); registerPrefix("xsd", XSDDatatype.XSD + "#"); }
void setupMaps() { nameSpaces.set11(RDF.getURI(), "rdf"); nameSpaces.set11(RDFS.getURI(), "rdfs"); nameSpaces.set11(DC.getURI(), "dc"); nameSpaces.set11(RSS.getURI(), "rss"); nameSpaces.set11("http://www.daml.org/2001/03/daml+oil.daml#", "daml"); nameSpaces.set11(VCARD.getURI(), "vcard"); nameSpaces.set11("http://www.w3.org/2002/07/owl#", "owl"); }
public void testOWL2SharesOWL1URI() { assertEquals( OWL.getURI(), OWL2.getURI() ); }
public void testCreateURI() { String uri = "http://www.electric-hedgehog.net/"; testCreateURI( uri ); testCreateURI( "rdf:trinket", "http://www.w3.org/1999/02/22-rdf-syntax-ns#trinket" ); testCreateURI( "rdfs:device", "http://www.w3.org/2000/01/rdf-schema#device" ); testCreateURI( "dc:creator", DC.getURI() + "creator" ); testCreateURI( "rss:something", RSS.getURI() + "something" ); testCreateURI( "vcard:TITLE", VCARD.getURI() + "TITLE" ); testCreateURI( "owl:wol", OWL.NAMESPACE + "wol" ); }
public static Property unionOf() { return property( "unionOf" ); } public static Property hasValue() { return property( "hasValue" ); }
public static void addDefaultPrefixMapping(PrefixMapping pm) { pm.setNsPrefix("rdf", RDF.getURI()); pm.setNsPrefix("rdfs", RDFS.getURI()); pm.setNsPrefix("owl", OWL.getURI()); //pm.setNsPrefix("geo", "http://www.w3.org/2003/01/geo/wgs84_pos#"); pm.setNsPrefix("geom", "http://geovocab.org/geometry#"); pm.setNsPrefix("ogc", "http://www.opengis.net/ont/geosparql#"); //pm.setNsPrefix("o", "http://fp7-pp.publicdata.eu/ontology/"); pm.setNsPrefix("nominatim", "http://jsa.aksw.org/fn/nominatim/"); pm.setNsPrefix("xsd", XSD.getURI()); pm.setNsPrefix("json", jsonFn); pm.setNsPrefix("http", httpFn); pm.setNsPrefix("term", termFn); pm.setNsPrefix("tmp", tmpNs); }
public static Property someValuesFrom() { return property( "someValuesFrom" ); } public static Property disjointWith() { return property( "disjointWith" ); }