Ontology


Subject: Ontology
From: Alexander Osherenko (a.ocherenko@gmx.de)
Date: Wed Aug 21 2002 - 12:02:08 MET DST


Hello!

I'm building my ontology and send a message in this ontology filling it before with the fillMsgContent command.

When I receive this message in another agent I get problems in the extractMsgContent command.

I'm filtering messages with the MatchOntology and MatchLanguage commands. To debug the message contents I explicitly set the contents:

msg.setContent("LOG :message \"JADE\" ")
List l = extractMsgContent(msg);

The last command produces a SL0Parser exception: Something like - "found :message, expected (, "STRING_LITERAL" ".

I've tried to work with the string ("LOG \"JADE\" ", but the parser wants the slot "message".

Any suggestions?

Alexander

Hello!
 
I'm building my ontology and send a message in this ontology filling it before with the fillMsgContent command.
 
When I receive this message in another agent I get problems in the extractMsgContent command.
 
I'm filtering messages with the MatchOntology and MatchLanguage commands. To debug the message contents I explicitly set the contents:
 
msg.setContent("LOG :message \"JADE\" ")
List l = extractMsgContent(msg);
 
The last command produces a SL0Parser exception: Something like - "found :message, expected (, "STRING_LITERAL" ".
 
I've tried to work with the string ("LOG \"JADE\" ", but the parser wants the slot "message".
 
Any suggestions?
 
Alexander
 



This archive was generated by hypermail 2a22 : Wed Aug 21 2002 - 11:52:52 MET DST