<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Kaarel,<div><br></div><div>you're right.</div><div><br></div><div>And, by the way,</div><div>I would like to manage the lexicon info as RDF triples instead of Prolog facts, with a translator of course from RDF to Prolog lexicon.</div><div>Has someone worked on this ?</div><div><br></div><div>There is indeed an RDF vocabulary with prefix :</div><div><a href="http://attempto.ifi.uzh.ch/ace_lexicon" target="_blank">http://attempto.ifi.uzh.ch/ace_lexicon</a><br></div><div>used in <a href="http://attempto.ifi.uzh.ch/aceview/" style="color:rgb(102,0,153);background-image:url();padding-right:13px;font-family:sans-serif;font-size:medium;background-repeat:no-repeat no-repeat" target="_blank">ACE View</a><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:medium"> , a </span><a href="http://protege.stanford.edu/" style="color:rgb(102,0,153);background-image:url();padding-right:13px;font-family:sans-serif;font-size:medium;background-repeat:no-repeat no-repeat" target="_blank">Protégé</a><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:medium"> plugin .</span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:medium"><br></span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:medium"><br></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2014-09-22 21:20 GMT+02:00 Kaarel Kaljurand <span dir="ltr"><<a href="mailto:kaljurand@gmail.com" target="_blank">kaljurand@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
this can (and should, I think) be done via the lexicon:<br>
<br>
$ ./ape.exe -text "John is a man." -ulextext "noun_sg(man, 'Man',<br>
neutr). pn_sg('John', john, neutr)." -solo owlfsspp<br>
Ontology(<<a href="http://attempto.ifi.uzh.ch/ontologies/owlswrl/test" target="_blank">http://attempto.ifi.uzh.ch/ontologies/owlswrl/test</a>><br>
   ClassAssertion(<br>
      :Man<br>
      :john<br>
   )<br>
)<br>
<br>
Supporting parameters like -uppercaseclass would just complicate the<br>
the commandline interface.<br>
<br>
Best regards,<br>
Kaarel<br>
<div><div><br>
On Mon, Sep 22, 2014 at 4:04 PM, Jean-Marc Vanel<br>
<<a href="mailto:jeanmarc.vanel@gmail.com" target="_blank">jeanmarc.vanel@gmail.com</a>> wrote:<br>
> Hi<br>
><br>
> I think the title is clear enough.<br>
> Probably this should be an option,<br>
> because this can make things incompatible with existing projects.<br>
><br>
> Like :<br>
><br>
> ape.exe -text 'Every man is a living-being.' -guess -uppercaseclass<br>
> Prefix(:=<<a href="http://attempto.ifi.uzh.ch/ontologies/owlswrl/test#" target="_blank">http://attempto.ifi.uzh.ch/ontologies/owlswrl/test#</a>>)<br>
> Prefix(ace:=<<a href="http://attempto.ifi.uzh.ch/ace#" target="_blank">http://attempto.ifi.uzh.ch/ace#</a>>)<br>
> Ontology(<<a href="http://attempto.ifi.uzh.ch/ontologies/owlswrl/test" target="_blank">http://attempto.ifi.uzh.ch/ontologies/owlswrl/test</a>><br>
>    SubClassOf(<br>
>       :Man<br>
>       :Living-being<br>
>    )<br>
> )<br>
><br>
> --<br>
> Jean-Marc Vanel<br>
> Déductions SARL - Consulting, services, training,<br>
> Rule-based programming, Semantic Web<br>
> <a href="http://deductions-software.com/" target="_blank">http://deductions-software.com/</a><br>
> <a href="tel:%2B33%20%280%296%2089%2016%2029%2052" value="+33689162952" target="_blank">+33 (0)6 89 16 29 52</a><br>
> Twitter: @jmvanel , @jmvanel_fr ; chat: irc://<a href="http://irc.freenode.net#eulergui" target="_blank">irc.freenode.net#eulergui</a><br>
><br>
</div></div>> _______________________________________________<br>
> attempto mailing list<br>
> <a href="mailto:attempto@lists.ifi.uzh.ch" target="_blank">attempto@lists.ifi.uzh.ch</a><br>
> <a href="https://lists.ifi.uzh.ch/listinfo/attempto" target="_blank">https://lists.ifi.uzh.ch/listinfo/attempto</a><br>
><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Jean-Marc Vanel<br>Déductions SARL - Consulting, services, training,<br>Rule-based programming, Semantic Web<br><a href="http://deductions-software.com/" target="_blank">http://deductions-software.com/</a><br><a href="tel:%2B33%20%280%296%2089%2016%2029%2052" value="+33689162952" target="_blank">+33 (0)6 89 16 29 52</a><br>Twitter: @jmvanel , @jmvanel_fr ; chat: irc://<a href="http://irc.freenode.net#eulergui" target="_blank">irc.freenode.net#eulergui</a></div>
</div>
</div></div></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Jean-Marc Vanel<br>Déductions SARL - Consulting, services, training,<br>Rule-based programming, Semantic Web<br><a href="http://deductions-software.com/" target="_blank">http://deductions-software.com/</a><br>+33 (0)6 89 16 29 52<br>Twitter: @jmvanel , @jmvanel_fr ; chat: irc://<a href="http://irc.freenode.net#eulergui" target="_blank">irc.freenode.net#eulergui</a></div>
</div>