code: package eu.wdaqua.qanary.commons;
  
  import java.net.URI;
  import java.net.URISyntaxException;
  import java.net.URL;
  
  import eu.wdaqua.qanary.business.QanaryConfigurator;
  import eu.wdaqua.qanary.exceptions.SparqlQueryFailed;
  
  public class QanaryQuestionTextual extends QanaryQuestion<Object> {
  
  	public QanaryQuestionTextual(QanaryMessage qanaryMessage, QanaryConfigurator myQanaryConfigurator)
  			throws QanaryExceptionNoOrMultipleQuestions, URISyntaxException, SparqlQueryFailed {
  		super(qanaryMessage, myQanaryConfigurator);
  		// ensure that the question is marked as textual question
  		this.putAnnotationOfTextRepresentation();
  	}
  
  	public QanaryQuestionTextual(URL questionUrl, QanaryConfigurator qanaryConfigurator)
  			throws URISyntaxException, QanaryExceptionNoOrMultipleQuestions, SparqlQueryFailed {
  		this(questionUrl, qanaryConfigurator, null);
  	}
  
  	public QanaryQuestionTextual(URL questionUrl, QanaryConfigurator qanaryConfigurator, URI priorConversation)
  			throws URISyntaxException, SparqlQueryFailed, QanaryExceptionNoOrMultipleQuestions {
  		super(questionUrl, qanaryConfigurator, priorConversation);
  		// ensure that the question is marked as textual question
  		this.putAnnotationOfTextRepresentation();
  	}
  
  }
  