All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Public Member Functions | Static Public Member Functions | Static Public Attributes | Static Package Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes
instruction.exporter.owl.OWLExporter Class Reference

List of all members.

Public Member Functions

String convertHowtoToOWLFile (String howto)
String convertHowtoToOWLOntology (String howto)
 OWLExporter ()

Static Public Member Functions

static OWLNamedClass getSpatialPostconditions (ObjectX obj, OWLModel owlModel)
static void main (String[] args)

Static Public Attributes

static final String ABSTRACT_ACTION_CLASS = "knowrob:Action"
static final String ABSTRACT_OBJECT_CLASS = "knowrob:SpatialThing-Localized"
static final String ABSTRACT_OBJECT_PROPERTY = "knowrob:spatiallyRelated"
static final String KITCHEN_ONTOLOGY_URI = ConfigurationManager.getPathKnowRob()

Static Package Functions

 [static initializer]

Private Member Functions

String convertInstructionsToOWL (List< Instruction > inst, Instruction title, String howtoName) throws InstructionException
PlanImporter initOWLConverter () throws InstructionException, Exception, UnknownHostException, IOException

Static Private Member Functions

static void readAvailableActions () throws InstructionException
static void readAvailableObjectProperties () throws InstructionException
static void readAvailableObjects () throws InstructionException

Private Attributes

PlanImporter importer

Static Private Attributes

static Map< String, OWLNamedClass > actionStore = new HashMap<String, OWLNamedClass>()
static int locationCounter = 1
static Map< String, OWLNamedClass > objectStore = new HashMap<String, OWLNamedClass>()
static Map< String,
OWLObjectProperty > 
propertyStore = new HashMap<String, OWLObjectProperty>()

Detailed Description

Definition at line 37 of file OWLExporter.java.


Constructor & Destructor Documentation

Definition at line 56 of file OWLExporter.java.


Member Function Documentation

instruction.exporter.owl.OWLExporter.[static initializer] ( ) [inline, static, package]

Look up instructions for the command 'howto' and translate them into a formal OWL representation

Save the result to a file and return the file name (required for the Prolog integration)

Parameters:
howtoCommand like 'set a table'
Returns:
File name of the temporary file

Definition at line 122 of file OWLExporter.java.

Look up instructions for the command 'howto' and translate them into a formal OWL representation

Parameters:
howtoCommand like 'set a table'
Returns:
String containing a formal OWL representation of the translated instruction

Definition at line 79 of file OWLExporter.java.

String instruction.exporter.owl.OWLExporter.convertInstructionsToOWL ( List< Instruction inst,
Instruction  title,
String  howtoName 
) throws InstructionException [inline, private]

Convert a list of instructions into OWL

Parameters:
instList of Instruction instances to be converted
titleTitle of the howto
howtoNameName of the howto
Returns:
OWL representation of the task
Exceptions:
InstructionException

Definition at line 212 of file OWLExporter.java.

static OWLNamedClass instruction.exporter.owl.OWLExporter.getSpatialPostconditions ( ObjectX  obj,
OWLModel  owlModel 
) [inline, static]

Return spatial post-conditions for the ObjectX obj

Parameters:
obj
owlModel
Returns:

Definition at line 425 of file OWLExporter.java.

PlanImporter instruction.exporter.owl.OWLExporter.initOWLConverter ( ) throws InstructionException, Exception, UnknownHostException, IOException [inline, private]

Initialize the converter, including initialization of the OpenCyc interface and parsing the WordNet ontology.

Returns:
Exceptions:
InstructionException
Exception
UnknownHostException
IOException

Definition at line 167 of file OWLExporter.java.

static void instruction.exporter.owl.OWLExporter.main ( String[]  args) [inline, static]

Definition at line 499 of file OWLExporter.java.

static void instruction.exporter.owl.OWLExporter.readAvailableActions ( ) throws InstructionException [inline, static, private]

Read action classes from the KnowRob ontology

Exceptions:
InstructionException

Definition at line 330 of file OWLExporter.java.

Read object properties from the KnowRob ontology

Exceptions:
InstructionException

Definition at line 395 of file OWLExporter.java.

static void instruction.exporter.owl.OWLExporter.readAvailableObjects ( ) throws InstructionException [inline, static, private]

Read object classes from the KnowRob ontology

Exceptions:
InstructionException

Definition at line 362 of file OWLExporter.java.


Member Data Documentation

final String instruction.exporter.owl.OWLExporter.ABSTRACT_ACTION_CLASS = "knowrob:Action" [static]

Definition at line 44 of file OWLExporter.java.

final String instruction.exporter.owl.OWLExporter.ABSTRACT_OBJECT_CLASS = "knowrob:SpatialThing-Localized" [static]

Definition at line 45 of file OWLExporter.java.

final String instruction.exporter.owl.OWLExporter.ABSTRACT_OBJECT_PROPERTY = "knowrob:spatiallyRelated" [static]

Definition at line 46 of file OWLExporter.java.

Map<String, OWLNamedClass> instruction.exporter.owl.OWLExporter.actionStore = new HashMap<String, OWLNamedClass>() [static, private]

Definition at line 48 of file OWLExporter.java.

Definition at line 54 of file OWLExporter.java.

final String instruction.exporter.owl.OWLExporter.KITCHEN_ONTOLOGY_URI = ConfigurationManager.getPathKnowRob() [static]

Definition at line 43 of file OWLExporter.java.

Definition at line 52 of file OWLExporter.java.

Map<String, OWLNamedClass> instruction.exporter.owl.OWLExporter.objectStore = new HashMap<String, OWLNamedClass>() [static, private]

Definition at line 49 of file OWLExporter.java.

Map<String, OWLObjectProperty> instruction.exporter.owl.OWLExporter.propertyStore = new HashMap<String, OWLObjectProperty>() [static, private]

Definition at line 50 of file OWLExporter.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


comp_ehow
Author(s): Moritz Tenorth, Daniel Nyga
autogenerated on Tue Apr 16 2013 00:18:24