OWL2Parser.java revision b9a7827caf331ae5b7eb491455d7e647c83f1345
public class OWL2Parser {
private static final Map<OWLOntology, List<OWLOntology>> m = new HashMap<OWLOntology, List<OWLOntology>>();
}
// A simple example of how to load and save an ontology
try {
// args[0]: IRI
// args[1]: name of output file
// args[2]: type of output file: xml, rdf, or otherwise assume Manchester syntax
} else
// args[0]: IRI
// args[1]: type of output (or output file for Manchester syntax)
// xml (OWL XML),
// or otherwise use argument as file name for Manchester syntax
// for xml and rdf output goes to standard output, i.e. System.out
else
}
/* Load an ontology from a physical IRI */
// System.out.println("IRI: " + physicalIRI + "\n");
// Now do the loading
else {
}
}
// System.out.println("NAME: " + merged_name + "\n");
// System.out.println("MERGED_IRI " + mergedOntologyIRI + "\n");
} else
}
}
}
try {
}
}
}
} catch (Exception e) {
e.printStackTrace();
}
}
}
}
}
}
}
}
}
return st;
}
return equalcollections(aux);
}
eq = false;
eq = false;
return eq;
}
}
}
return keys;
}
switch (op) {
case OWL_XML:
break;
case MANCHESTER:
break;
case RDF_XML:
break;
}
}
try {
} catch (OWLRendererException ex) {
}
}
try {
}
}
try {
} catch (IOException ex) {
}
}
}