ch.uzh.ifi.attempto.acewiki.owl
Interface OWLSentence

All Superinterfaces:
Sentence, Statement
All Known Subinterfaces:
OWLDeclaration, OWLQuestion
All Known Implementing Classes:
ACEDeclaration, ACEQuestion, ACESentence

public interface OWLSentence
extends Sentence

This class represents a sentence with an OWL representation.

Author:
Tobias Kuhn

Method Summary
 java.util.Set<org.semanticweb.owlapi.model.OWLAxiom> getOWLAxioms()
          Returns a set of OWL axioms that represent this sentence.
 java.lang.String getPrettyOWL()
          Returns a pretty-printed OWL representation of this sentence.
 boolean isOWL()
          Returns true if this sentence has an OWL representation.
 boolean isOWLSWRL()
          Returns true if this sentence has an OWL or SWRL representation.
 
Methods inherited from interface ch.uzh.ifi.attempto.acewiki.core.Sentence
contains, getDetails, getTextElements, isImmutable, isIntegrated, isReasonable, setIntegrated, update
 
Methods inherited from interface ch.uzh.ifi.attempto.acewiki.core.Statement
getArticle, getOntology, getText, init, serialize
 

Method Detail

getOWLAxioms

java.util.Set<org.semanticweb.owlapi.model.OWLAxiom> getOWLAxioms()
Returns a set of OWL axioms that represent this sentence.

Returns:
The OWL axioms.

isOWL

boolean isOWL()
Returns true if this sentence has an OWL representation.

Returns:
true if this sentence has an OWL representation.

isOWLSWRL

boolean isOWLSWRL()
Returns true if this sentence has an OWL or SWRL representation.

Returns:
true if this sentence has an OWL or SWRL representation.

getPrettyOWL

java.lang.String getPrettyOWL()
Returns a pretty-printed OWL representation of this sentence.

Returns:
The pretty-printed OWL representation.


Copyright 2008-2012, AceWiki developers