|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protegex.owl.jena.rdf2owl.RDF2OWL
A class that can convert pure RDF statements from a Model into corresponding OWL statements.
Field Summary | |
private com.hp.hpl.jena.rdf.model.Model |
model
|
Constructor Summary | |
RDF2OWL(com.hp.hpl.jena.rdf.model.Model model)
|
Method Summary | |
private void |
convertProperties()
Converts the properties to either owl:DatatypeProperties or owl:ObjectProperties. |
private void |
convertRDFSClasses()
Converts all rdfs:Classes into owl:Classes |
private void |
convertRDFSResource()
Converts all object occurances of rdfs:Resource with owl:Thing |
private com.hp.hpl.jena.rdf.model.Resource |
getPropertyType(com.hp.hpl.jena.rdf.model.Resource property)
Attempts to find the most plausible RDF type for a given property. |
private void |
log(String message)
|
void |
run()
|
private void |
unifyRDFSVersion()
Converts any statements containing old RDFS vocabulary to the official ones. |
private void |
unifyRDFSVersion(String ns)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private com.hp.hpl.jena.rdf.model.Model model
Constructor Detail |
public RDF2OWL(com.hp.hpl.jena.rdf.model.Model model)
Method Detail |
private void convertRDFSClasses()
private void convertProperties()
private void convertRDFSResource()
private com.hp.hpl.jena.rdf.model.Resource getPropertyType(com.hp.hpl.jena.rdf.model.Resource property)
property
- the property to get the type of
private void log(String message)
public void run()
private void unifyRDFSVersion()
private void unifyRDFSVersion(String ns)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |