public class ManchesterSyntaxTool extends Object
| Constructor and Description | 
|---|
| ManchesterSyntaxTool(OWLOntology inputOntology)Create a new parser instance for the given ontology. | 
| ManchesterSyntaxTool(OWLOntology inputOntology,
                    Collection<OWLOntology> auxiliaryOntologies)Create a new parser instance for the given ontologies. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | dispose()Call this method to dispose the internal data structures. | 
| String | getId(IRI iri)Translate the  IRIinto the short form as expected by the parser. | 
| String | getId(OWLEntity entity)Translate the  OWLEntityidentifier into the short form as expected by the parser. | 
| OWLClassExpression | parseManchesterExpression(String expression)Parse a class expression in Manchester syntax. | 
| Set<OntologyAxiomPair> | parseManchesterExpressionFrames(String expression)Parse frame expressions in Manchester syntax. | 
public ManchesterSyntaxTool(@Nonnull OWLOntology inputOntology)
OWLObject instances via their identifier or rdfs:label.inputOntology - inputOntologypublic ManchesterSyntaxTool(@Nonnull OWLOntology inputOntology, @Nullable Collection<OWLOntology> auxiliaryOntologies)
OWLObject instances via their identifier or rdfs:label.inputOntology - inputOntologyauxiliaryOntologies - set of additional ontologies or nullpublic Set<OntologyAxiomPair> parseManchesterExpressionFrames(@Nonnull String expression)
expression - expressionOntologyAxiomPairParserException - parser exceptionpublic OWLClassExpression parseManchesterExpression(@Nonnull String expression)
expression - expressionOWLClassExpressionParserException - parser exceptionpublic String getId(@Nonnull IRI iri)
IRI into the short form as expected by the parser.iri - iripublic String getId(@Nonnull OWLEntity entity)
OWLEntity identifier into the short form as expected by the parser.entity - entitypublic void dispose()
Copyright © 2020 The University of Manchester. All rights reserved.