ch.uzh.ifi.attempto.acewiki.aceowl
Class ACEOWLEngine

java.lang.Object
  extended by ch.uzh.ifi.attempto.acewiki.core.AbstractAceWikiEngine
      extended by ch.uzh.ifi.attempto.acewiki.core.MonolingualEngine
          extended by ch.uzh.ifi.attempto.acewiki.aceowl.ACEOWLEngine
All Implemented Interfaces:
AceWikiEngine

public class ACEOWLEngine
extends MonolingualEngine

This is the AceWiki language engine for ACE/OWL. It delivers the grammar, the lexicon, the language factory, the reasoner, and more.

Author:
Tobias Kuhn

Constructor Summary
ACEOWLEngine()
          Creates a new language engine for ACE/OWL.
 
Method Summary
 Sentence createAssignmentSentence(Individual ind, Concept concept)
          Creates a new assignement sentence that assigns a given individual to a given concept.
 Sentence createHierarchySentence(Concept subConcept, Concept superConcept)
          Creates a new hierarchy sentence that states that a certain concept is a sub-concept of another concept.
 OntologyElement createOntologyElement(java.lang.String type)
          Creates a new ontology element for the given lexical type.
 Sentence createSentence(java.lang.String serialized)
          Creates a new sentence object based on the given serialization.
 LanguageHandler getLanguageHandler()
          Returns the language handler.
 AceWikiReasoner getReasoner()
          Returns the reasoner.
 
Methods inherited from class ch.uzh.ifi.attempto.acewiki.core.MonolingualEngine
getLanguageHandler, getLanguages
 
Methods inherited from class ch.uzh.ifi.attempto.acewiki.core.AbstractAceWikiEngine
addExporter, getExporters, getLexicalTypes, getWordIndex, init, setLexicalTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACEOWLEngine

public ACEOWLEngine()
Creates a new language engine for ACE/OWL.

Method Detail

getLanguageHandler

public LanguageHandler getLanguageHandler()
Description copied from class: MonolingualEngine
Returns the language handler.

Specified by:
getLanguageHandler in class MonolingualEngine
Returns:
The language handler.

getReasoner

public AceWikiReasoner getReasoner()
Description copied from interface: AceWikiEngine
Returns the reasoner.

Returns:
The reasoner.

createOntologyElement

public OntologyElement createOntologyElement(java.lang.String type)
Description copied from interface: AceWikiEngine
Creates a new ontology element for the given lexical type.

Parameters:
type - The lexical type.
Returns:
A new ontology element.

createSentence

public Sentence createSentence(java.lang.String serialized)
Description copied from interface: AceWikiEngine
Creates a new sentence object based on the given serialization.

Parameters:
serialized - The serialized representation of the sentence.
Returns:
A new sentence object.

createAssignmentSentence

public Sentence createAssignmentSentence(Individual ind,
                                         Concept concept)
Description copied from interface: AceWikiEngine
Creates a new assignement sentence that assigns a given individual to a given concept.

Parameters:
ind - The individual.
concept - The concept.
Returns:
A new sentence representing the assignment.

createHierarchySentence

public Sentence createHierarchySentence(Concept subConcept,
                                        Concept superConcept)
Description copied from interface: AceWikiEngine
Creates a new hierarchy sentence that states that a certain concept is a sub-concept of another concept.

Parameters:
subConcept - The sub-concept.
superConcept - The super-concept.
Returns:
A new sentence representing the assignment.


Copyright 2008-2012, AceWiki developers