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. |
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