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

All Superinterfaces:
OWLSentence, Question, Sentence, Statement
All Known Implementing Classes:
ACEQuestion

public interface OWLQuestion
extends OWLSentence, Question

This class represents questions with OWL representations.

Author:
Tobias Kuhn

Method Summary
 org.semanticweb.owlapi.model.OWLClassExpression getQuestionOWLClass()
          Returns the OWL class expression for this question.
 org.semanticweb.owlapi.model.OWLNamedIndividual getQuestionOWLIndividual()
          Returns the OWL individual for this question.
 
Methods inherited from interface ch.uzh.ifi.attempto.acewiki.owl.OWLSentence
getOWLAxioms, getPrettyOWL, isOWL, isOWLSWRL
 
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

getQuestionOWLClass

org.semanticweb.owlapi.model.OWLClassExpression getQuestionOWLClass()
Returns the OWL class expression for this question. All individuals that belong to this class expression can be considered answers to the question.

Returns:
The OWL class expression.

getQuestionOWLIndividual

org.semanticweb.owlapi.model.OWLNamedIndividual getQuestionOWLIndividual()
Returns the OWL individual for this question. For questions like "What is Switzerland?", the respective individual ("Switzerland") is returned. In all other cases, null is returned.

Returns:
The OWL individual.


Copyright 2008-2012, AceWiki developers