Protégé-OWL 3.3.1

edu.stanford.smi.protegex.owl.inference.dig.translator
Interface DIGQueryResponse

All Known Implementing Classes:
DefaultDIGQueryResponse

public interface DIGQueryResponse

User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: Jul 19, 2004

matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm


Method Summary
 boolean getBoolean()
          If the query resultied in a boolean response, for example asking if a concept was satisfiable, then this method may be used to get the boolean result.
 Collection getConcepts()
          If the query resulted in a concept set response type for example a query for super concepts then this method can be used to get the concepts.
 String getID()
          Gets the ID of the query that the reponse corresponds to
 Collection getIndividuals()
          If the query resulted in an individual set response type then this method may be used to obtain the individuals in the response.
 

Method Detail

getID

String getID()
Gets the ID of the query that the reponse corresponds to


getConcepts

Collection getConcepts()
If the query resulted in a concept set response type for example a query for super concepts then this method can be used to get the concepts.

Returns:
A Collection of RDFSClasss

getIndividuals

Collection getIndividuals()
If the query resulted in an individual set response type then this method may be used to obtain the individuals in the response.

Returns:
A Collection of RDFIndividuals

getBoolean

boolean getBoolean()
If the query resultied in a boolean response, for example asking if a concept was satisfiable, then this method may be used to get the boolean result.


Protégé-OWL 3.3.1

Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.