Re: OWL support

Hans Chalupsky <[email protected]>
Newsgroups gmane.comp.ai.powerloom
Message-ID <[email protected]>
Hi,

you should use the functions in the PLI (PowerLoom interface) package
for this purpose (they are documented in the manual).  For example, to
find concepts you look for instances of the class CONCEPT.  In Lisp:

STELLA(10): (consify (pli:s-get-concept-instances "CONCEPT" "PL-USER" NULL))
(|c|FLOAT |c|MODULE |c|USER-THING |c|INTERVAL-CACHE |c|INTEGER |c|PROPOSITION |c|CONTEXT
 |c|STRING |c|BINARY-RELATION |c|FRAME-PREDICATE ...)
STELLA(11): 

You can then use other PLI functions to figure out what module the
concepts are in, their name, etc.

Tom Russ has written some preliminary OWL translation support which
should help with this task as well (once we release it :-)

Hans

>>>>> Xingzhi Pan <[email protected]> writes:

> I'm doing a little work with PowerLoom-OWL conversion, and may have a
> series of questions in a few days :)

> Some parts of them are easy, but when I was going to export the data
> in PL into an OWL KB, I can't find a way to do things like "acquire
> all the concepts from the PL KB". At present I'm using
> Module.allSymbols, however it's still hard to tell what the returned
> Stella_Object is (concept, relation, etc).

> I'm wondering if there's a more elegant method to achieve that. Thanks a lot.
> --
> Pan Xingzhi
> _______________________________________________
> powerloom-forum mailing list
> [email protected]
> http://mailman.isi.edu/mailman/listinfo/powerloom-forum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.