public class OntologyUtil extends Object
| Constructor and Description |
|---|
OntologyUtil() |
| Modifier and Type | Method and Description |
|---|---|
static com.hp.hpl.jena.rdf.model.Resource |
commonSuperClass(com.hp.hpl.jena.rdf.model.Resource c1,
com.hp.hpl.jena.rdf.model.Resource c2)
Return the common superclass of two classes, of null if there is no common superclass in
the raw ontologies (OWL inference is not used so owl:Thing might not be found).
|
static com.hp.hpl.jena.datatypes.xsd.XSDDatatype |
commonSuperDatatype(com.hp.hpl.jena.datatypes.xsd.XSDDatatype t1,
com.hp.hpl.jena.datatypes.xsd.XSDDatatype t2)
Return the common super type of two xsd type datatypes or return null
if they are not compatible.
|
static List<com.hp.hpl.jena.rdf.model.Resource> |
depthfirstSuperclasses(com.hp.hpl.jena.rdf.model.Resource start)
Find all the superclasses of the given starting class, in depth first order.
|
public static com.hp.hpl.jena.datatypes.xsd.XSDDatatype commonSuperDatatype(com.hp.hpl.jena.datatypes.xsd.XSDDatatype t1,
com.hp.hpl.jena.datatypes.xsd.XSDDatatype t2)
public static com.hp.hpl.jena.rdf.model.Resource commonSuperClass(com.hp.hpl.jena.rdf.model.Resource c1,
com.hp.hpl.jena.rdf.model.Resource c2)
public static List<com.hp.hpl.jena.rdf.model.Resource> depthfirstSuperclasses(com.hp.hpl.jena.rdf.model.Resource start)
Copyright © 2015. All rights reserved.