<br><br><div class="gmail_quote">On Tue, Jan 17, 2012 at 6:37 AM, Arianna Pipitone <span dir="ltr"><<a href="mailto:ariannapipitone77@gmail.com">ariannapipitone77@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="im"><br>I would help about cl+j interface.<div>How can I express in cl+j syntax in a lisp code the java sentence:</div><div><br></div></div><div><pre><font size="4">OntModel onto = ModelFactory.createOntologyModel(OntModelSpec.OWL_MEM,null);</font><br>
</pre><pre><div style="font-family:arial;white-space:normal">ModelFactory is an interface for OntModel class.</div></pre></div></blockquote><div><br>I have to admit that I have been away from CL+J for a few months already<br>
(I am fully devoted to pushing MKCL 1.1.0 out the door soon) and I realize that<br>my memory is starting to feel a bit too fuzzy for my taste. Anyway, my guess would<br>be to try the following:<br><br>(defvar onto) ;; I guess you want a global variable but you could use a let if a local is ok.<br>
(setq onto (#_ModelFactory.createOntologyModel #?OntModelSpec.OWL_MEM nil))<br><br>Please try the above in a REPL and tell (cut & paste) me the result.<br><br>Cheers,<br><br>Jean-Claude Beaudoin<br><br></div></div>