public class OntologyUtil extends Object
| Constructor and Description |
|---|
OntologyUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.jena.rdf.model.Resource |
commonSuperClass(org.apache.jena.rdf.model.Resource c1,
org.apache.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 org.apache.jena.datatypes.xsd.XSDDatatype |
commonSuperDatatype(org.apache.jena.datatypes.xsd.XSDDatatype t1,
org.apache.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<org.apache.jena.rdf.model.Resource> |
depthfirstSuperclasses(org.apache.jena.rdf.model.Resource start)
Find all the superclasses of the given starting class, in depth first order.
|
public static org.apache.jena.datatypes.xsd.XSDDatatype commonSuperDatatype(org.apache.jena.datatypes.xsd.XSDDatatype t1,
org.apache.jena.datatypes.xsd.XSDDatatype t2)
public static org.apache.jena.rdf.model.Resource commonSuperClass(org.apache.jena.rdf.model.Resource c1,
org.apache.jena.rdf.model.Resource c2)
public static List<org.apache.jena.rdf.model.Resource> depthfirstSuperclasses(org.apache.jena.rdf.model.Resource start)
Copyright © 2019. All rights reserved.