flora-users Mailing List for Flora-2
Brought to you by:
kifer
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
(1) |
Jul
(7) |
Aug
|
Sep
(2) |
Oct
(2) |
Nov
|
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(1) |
Feb
(2) |
Mar
(4) |
Apr
(4) |
May
(10) |
Jun
(10) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(2) |
Dec
(9) |
2004 |
Jan
(7) |
Feb
(25) |
Mar
(23) |
Apr
(4) |
May
(11) |
Jun
(10) |
Jul
(12) |
Aug
|
Sep
(19) |
Oct
(23) |
Nov
(7) |
Dec
(7) |
2005 |
Jan
(4) |
Feb
(10) |
Mar
(12) |
Apr
(10) |
May
(23) |
Jun
(18) |
Jul
(9) |
Aug
(9) |
Sep
(25) |
Oct
(15) |
Nov
(27) |
Dec
(11) |
2006 |
Jan
(3) |
Feb
(5) |
Mar
(8) |
Apr
(9) |
May
(26) |
Jun
(9) |
Jul
(3) |
Aug
(4) |
Sep
(19) |
Oct
(12) |
Nov
(6) |
Dec
(13) |
2007 |
Jan
(16) |
Feb
(17) |
Mar
(9) |
Apr
(35) |
May
(9) |
Jun
(5) |
Jul
(10) |
Aug
(32) |
Sep
(18) |
Oct
(47) |
Nov
(70) |
Dec
(27) |
2008 |
Jan
(3) |
Feb
(14) |
Mar
(33) |
Apr
(22) |
May
(20) |
Jun
(18) |
Jul
(21) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2009 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(4) |
Dec
(19) |
2010 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(7) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
(7) |
Jun
(8) |
Jul
(7) |
Aug
(20) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
(7) |
May
(2) |
Jun
(20) |
Jul
(1) |
Aug
|
Sep
|
Oct
(3) |
Nov
(2) |
Dec
(1) |
2014 |
Jan
(5) |
Feb
(4) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
(7) |
Aug
(2) |
Sep
|
Oct
(5) |
Nov
|
Dec
(17) |
2015 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(8) |
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
(16) |
Feb
(1) |
Mar
(22) |
Apr
(7) |
May
(13) |
Jun
(7) |
Jul
(6) |
Aug
(15) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
(5) |
Mar
|
Apr
(14) |
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
(15) |
Dec
|
2021 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Marc H. <ma...@vi...> - 2023-05-02 18:50:51
|
Huzzah! ================ Marc C. Hadfield ma...@vi... On Tue, May 2, 2023 at 2:43 PM Michael Kifer via Flora-users < flo...@li...> wrote: > Coherent Knowledge Systems (http://coherentknowledge.com/) is happy to > announce the first open-source release of its > > flagship ErgoAI (https://github.com/ErgoAI) software, an advanced tool > for enterprise knowledge representation and reasoning (KRR). > > ErgoAI greatly extends the well-known open-source Flora-2 system > (https://flora.sourceforge.net/) and, with this release, > > Flora-2 as a distinct system is being retired. ErgoAI is a best-of-breed > system for logical AI, that is based on fundamental research advances. > > It has been used to develop applications in a number of commercial and > government organizations. It shines at decision analytics & automation > > tasks in financial, legal, defense, and other domains, such as > compliance with policies, regulations, contracts, and guidance, > > where knowledge is complex, high accuracy is crucial, and good > explainability is required. > > ErgoAI is highly composable with other AI and non-AI systems, and has > connectors to major programming languages and data formats, > > including Python, knowledge graphs, and many others. > One can install ErgoAI most simply by using its automatic installers for > the latest official stable release > (https://github.com/ErgoAI/.github/releases). Or install the system and > its source code by cloning the Github repositories and compiling the > sources https://github.com/ErgoAI#installing-ergoai-from-the-sources). > ErgoAI comes with extensive documentation, tutorials, and examples. > Please see https://github.com/ErgoAI for more details. > > Please join our discussion forum at > https://groups.google.com/a/coherentknowledge.com/g/ergoai-xsb-forum and > > give ErgoAI a Github star (at https://github.com/ErgoAI/ErgoEngine). > > > > _______________________________________________ > Flora-users mailing list > Flo...@li... > https://lists.sourceforge.net/lists/listinfo/flora-users > |
From: Michael K. <ki...@cs...> - 2023-05-02 18:43:17
|
Coherent Knowledge Systems (http://coherentknowledge.com/) is happy to announce the first open-source release of its flagship ErgoAI (https://github.com/ErgoAI) software, an advanced tool for enterprise knowledge representation and reasoning (KRR). ErgoAI greatly extends the well-known open-source Flora-2 system (https://flora.sourceforge.net/) and, with this release, Flora-2 as a distinct system is being retired. ErgoAI is a best-of-breed system for logical AI, that is based on fundamental research advances. It has been used to develop applications in a number of commercial and government organizations. It shines at decision analytics & automation tasks in financial, legal, defense, and other domains, such as compliance with policies, regulations, contracts, and guidance, where knowledge is complex, high accuracy is crucial, and good explainability is required. ErgoAI is highly composable with other AI and non-AI systems, and has connectors to major programming languages and data formats, including Python, knowledge graphs, and many others. One can install ErgoAI most simply by using its automatic installers for the latest official stable release (https://github.com/ErgoAI/.github/releases). Or install the system and its source code by cloning the Github repositories and compiling the sources https://github.com/ErgoAI#installing-ergoai-from-the-sources). ErgoAI comes with extensive documentation, tutorials, and examples. Please see https://github.com/ErgoAI for more details. Please join our discussion forum at https://groups.google.com/a/coherentknowledge.com/g/ergoai-xsb-forum and give ErgoAI a Github star (at https://github.com/ErgoAI/ErgoEngine). |
From: Michael K. <ki...@cs...> - 2021-01-01 02:13:15
|
<html style="direction: ltr;"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <style id="bidiui-paragraph-margins" type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style> </head> <body bidimailui-charset-is-forced="true" style="direction: ltr;"> <p>Dear Flora-2 users:</p> <p><br> </p> <p>After a long development cycle, we are approaching the anticipated release of Flora-2 and ErgoAI 2.1. Meanwhile, to give you an early experience of the improvements and enhancements in the forthcoming version, we decided to first roll out a Release Candidate, 2.1-RC1.<br> <br> Among the new features, ErgoAI has interfaces to C and MiniZinc, a powerful constraint solving framework, plus other smaller extensions and many bug fixes. Flora-2 has a subset of these new features. See <a class="moz-txt-link-freetext" href="http://flora.sourceforge.net/release_notes.html#release">http://flora.sourceforge.net/release_notes.html#release</a>.<br> <br> The updated manuals can be found at Coherent.com and flora.sourceforge.net, respectively.</p> <p>For software downloads, please see</p> <blockquote> <p><a class="moz-txt-link-freetext" href="http://flora.sourceforge.net/">http://flora.sourceforge.net/</a><br> </p> <p><a class="moz-txt-link-freetext" href="http://coherentknowledge.com/free-trial/">http://coherentknowledge.com/free-trial/</a><br> </p> </blockquote> <p><br> </p> <p>If you are using Flora-2 and like it, consider writing a review and giving it a few stars at the Sourceforge portal: <a class="moz-txt-link-freetext" href="https://sourceforge.net/projects/flora/">https://sourceforge.net/projects/flora/</a>.</p> <p><br> </p> <p><br> Enjoy and have a happy, healthy, and productive new year. </p> <p><br> </p> <p><br> --<br> <br> Michael Kifer</p> <p><br> </p> </body> </html> |
From: Dmitry P. <dpo...@gm...> - 2018-11-15 05:25:08
|
Good Day Can Flora-2 be an effective core technology for implementing computer algebra system? Maybe not productive and high efficiency, but more universal and rigid. https://www.quora.com/Does-any-tutorial-exist-on-the-basics-of-writing-computer-algebra-system-in-Python-not-libraries-only-hardcore-coding-from-scratch ------------------------------ With best regards, Dmitry Ponyatov, Icbcom, IoT/embedded engineer, tel. +7 917 10 10 818 |
From: Michael K. <ki...@cs...> - 2018-11-14 05:24:12
|
<html style="direction: ltr;"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style> </head> <body bidimailui-charset-is-forced="true" style="direction: ltr;" text="#000000" bgcolor="#FFFFFF"> <p>Dear Flora-2 user:</p> <p><br> </p> <p>We are happy to announce a new user forum to replace the aging <a class="moz-txt-link-abbreviated" href="mailto:flo...@li...">flo...@li...</a> mailing list:<br> </p> <p><a class="moz-txt-link-freetext" href="https://groups.google.com/a/coherentknowledge.com/forum/#!forum/ergoai-flora2-xsb-forum">https://groups.google.com/a/coherentknowledge.com/forum/#!forum/ergoai-flora2-xsb-forum</a></p> <p><br> </p> <p>This forum is intended to unify discussions on Flora-2, Ergo and, to an extent, XSB, as many issues concerning one are related to the others.</p> <p><br> </p> <p>The old flora-users list, hosted by Sourceforge, was just too inadequate. Its archives are not capable of handling HTML messages, they are not easily searchable, poorly organized, and the overall setup was too clumsy. We will be phasing it out.</p> <p><br> </p> <p>As with the old list, anybody can browse the archives of the new forum, but to post one has to register (to prevent spam). You can post via the above web site or by email.</p> <p><br> </p> <p>Enjoy the new forum and please register! <br> <br> --<br> <br> best,<br> --- michael<br> <br> <br> </p> </body> </html> |
From: Michael K. <ki...@cs...> - 2018-11-11 01:36:45
|
<html style="direction: ltr;"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style> </head> <body bidimailui-charset-is-forced="true" style="direction: ltr;" text="#000000" bgcolor="#FFFFFF"> <p><br> </p> <div class="moz-cite-prefix">On 11/10/18 6:01 PM, Rangarajan Krishnamoorthy wrote:<br> </div> <blockquote type="cite" cite="mid:779...@mm..."> <pre class="moz-quote-pre" wrap="">Michael, Continuing this example, I have the following statements in the file “Reification.flr”: John[believes -> ${Mary[likes -> Sally]}]. John[believes -> ${Bob[likes -> ?X] :- Mary[likes -> ?X]}]. John[believes -> ?A] :- John[believes -> {${?Head :- ?Body}, ?Body}]. // Query: John[believes -> ${Bob[likes -> Sally]}]. — (1) // Query: John[believes -> ${Bob[likes -> Nancy]}]. — (2) When I load this file into Flora-2 session, I get some warnings about “unsafe” / “singleton” variables. I ignore them. </pre> </blockquote> <p><br> </p> <p>In general, one should not ignore them and use _Var to silence the warnings after examining them. In this particular case, one of these warnings actually caught a typo: ?A should have been ?Head!!<br> </p> <p><br> </p> <blockquote type="cite" cite="mid:779...@mm..."> <pre class="moz-quote-pre" wrap="">Based on the discussion in the paper that I had referenced in my earlier email, I assumed that the query marked (1) should return “Yes”, whereas (2) should return “No”. However, Flora-2 returns “Yes” for both the queries. How is that?</pre> </blockquote> <p><br> </p> <p>That's because of the above typo in the last rule.</p> <p><br> </p> <blockquote type="cite" cite="mid:779...@mm..."> <pre class="moz-quote-pre" wrap="">Also, I don’t understand the use of the variable “?A” in the third rule.</pre> </blockquote> <p><br> </p> <p>See above.</p> <p><br> </p> <p>That said, the rules should have been like this:<br> </p> <p><br> </p> <p>John[believes-> ${Bob[likes->?_X] :- Mary[likes->?_X]}].<br> John[believes-> ${Mary[likes->Sally]}].<br> <br> John[believes-> ?A] :-<br> <font color="#993300">// block John[believes-> ${A :- B}] from matching the head of this rule</font><br> <font color="#3333ff">?A != ${?_H :- ?_B},</font><br> John[believes-> {${?A :- ?B}, ?B}].<br> </p> <p><br> </p> <p>The highlighted part is important: it prevents an infinite structural recursion, as mentioned in the comment. <br> <br> --<br> <br> --- michael<br> <br> <br> </p> <p><br> </p> <p><br> </p> <blockquote type="cite" cite="mid:779...@mm..."> <pre class="moz-quote-pre" wrap=""> — Rangarajan </pre> <blockquote type="cite"> <pre class="moz-quote-pre" wrap="">On 09-Nov-2018, at 10:31 AM, Michael Kifer <a class="moz-txt-link-rfc2396E" href="mailto:ki...@cs..."><ki...@cs...></a> wrote: Do you mean this? John[believes->?A] :- John[believes->{${?Head:-?Body},?Body}]. It is a rule, but you are apparently using this sentence as a query (on command prompt?). Otherwise it is allowed (when used as a rule). -- --- michael On 11/8/18 11:44 PM, Rangarajan Krishnamoorthy wrote: </pre> <blockquote type="cite"> <pre class="moz-quote-pre" wrap="">Hi, In the paper “Nonmonotonic Reasoning in Flora-2” by Michael Kifer that appeared in LNCS 2005, there is a nice example of Reification (Page 4). However, the item numbered (3) is not accepted in my current Flora-2 (Windows version). I get a Parser error: “embedded :- is not allowed in rule head or body”. Am I missing anything? Regards, Rangarajan _______________________________________________ Flora-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Flo...@li...">Flo...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/flora-users">https://lists.sourceforge.net/lists/listinfo/flora-users</a> </pre> </blockquote> <pre class="moz-quote-pre" wrap=""> _______________________________________________ Flora-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Flo...@li...">Flo...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/flora-users">https://lists.sourceforge.net/lists/listinfo/flora-users</a> </pre> </blockquote> <pre class="moz-quote-pre" wrap=""> _______________________________________________ Flora-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Flo...@li...">Flo...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/flora-users">https://lists.sourceforge.net/lists/listinfo/flora-users</a> </pre> </blockquote> </body> </html> |
From: Rangarajan K. <ra...@mm...> - 2018-11-10 23:02:20
|
Michael, Continuing this example, I have the following statements in the file “Reification.flr”: John[believes -> ${Mary[likes -> Sally]}]. John[believes -> ${Bob[likes -> ?X] :- Mary[likes -> ?X]}]. John[believes -> ?A] :- John[believes -> {${?Head :- ?Body}, ?Body}]. // Query: John[believes -> ${Bob[likes -> Sally]}]. — (1) // Query: John[believes -> ${Bob[likes -> Nancy]}]. — (2) When I load this file into Flora-2 session, I get some warnings about “unsafe” / “singleton” variables. I ignore them. Based on the discussion in the paper that I had referenced in my earlier email, I assumed that the query marked (1) should return “Yes”, whereas (2) should return “No”. However, Flora-2 returns “Yes” for both the queries. How is that? Also, I don’t understand the use of the variable “?A” in the third rule. — Rangarajan > On 09-Nov-2018, at 10:31 AM, Michael Kifer <ki...@cs...> wrote: > > Do you mean this? > > John[believes->?A] :- John[believes->{${?Head:-?Body},?Body}]. > > It is a rule, but you are apparently using this sentence as a query (on command prompt?). > > Otherwise it is allowed (when used as a rule). > > -- > > --- michael > > > > > On 11/8/18 11:44 PM, Rangarajan Krishnamoorthy wrote: >> Hi, >> In the paper “Nonmonotonic Reasoning in Flora-2” by Michael Kifer that appeared in LNCS 2005, there is a nice example of Reification (Page 4). However, the item numbered (3) is not accepted in my current Flora-2 (Windows version). I get a Parser error: “embedded :- is not allowed in rule head or body”. >> >> Am I missing anything? >> >> Regards, >> Rangarajan >> >> _______________________________________________ >> Flora-users mailing list >> Flo...@li... >> https://lists.sourceforge.net/lists/listinfo/flora-users > > > _______________________________________________ > Flora-users mailing list > Flo...@li... > https://lists.sourceforge.net/lists/listinfo/flora-users |
From: Miguel C. <mc...@de...> - 2018-11-10 00:46:55
|
Yes, after a contractual timeout the "XSB on top" code is available to eventually integrate http://interprolog.com/java-bridge/ <http://interprolog.com/java-bridge/> ; I have no immediate plans to do that, but will if there's interest. Miguel Calejo InterProlog Consulting Madan Parque de Ciência Rua dos Inventores, 2825-182 Caparica, Portugal http://interprolog.com <http://interprolog.com/> > On 9 Nov 2018, at 23:26 , Michael Kifer <mic...@co...> wrote: > > I don't believe XSB currently can call Java. The needed code is not public at present, as far as I know (although this might change soon). > But XSB and Flora-2 can **call Java back** ie, call back the Java process that previously invoked XSB or Flora-2. > > > On 11/9/18 6:17 PM, Marc Hadfield wrote: >> >> You may also want to look at the Java <--> XSB interfaces. In this way you can have Java calling Flora2 as well as Flora2 calling Java via Flora2-->XSB-->Java. >> >> ================ >> Marc C. Hadfield >> ma...@vi... <mailto:ma...@vi...> >> @MarcHadfield >> 917-991-9685 >> >> >> >> On Fri, Nov 9, 2018 at 5:43 PM Rangarajan Krishnamoorthy <ra...@mm... <mailto:ra...@mm...>> wrote: >> Thanks. I got it. >> >> Regards, >> Rangarajan >> >>> On 10-Nov-2018, at 2:48 AM, Michael Kifer <mic...@co... <mailto:mic...@co...>> wrote: >>> >>> >>> >>> On 11/9/18 6:47 AM, Rangarajan Krishnamoorthy wrote: >>>> Hi, >>>> Is there a way to call Java code (or C/C++ code) from Flora-2 (on Windows 64 bit)? ErgoAI appears to support this through the \e2j package. >>>> >>>> Regards, >>>> Rangarajan >>> >>> Flora-2 cannot call Java -- this feature is available only in ErgoAI. (But Java can call Flora-2 and Ergo, of course.) >>> >>> Both Ergo and Flora-2 can call C/C++. What you need to do is to create a C-module of XSB and then call its functions using @\prolog. >>> To write XSB's C-module, one needs to know XSB's C API, which is described in the XSB Manual, vol. 1 <http://coherentknowledge.com/coherent-links/XSB-manual-vol1.pdf>, Chapter "Foreign Language Interface". >>> Being a C interface, it is quite low-level, one should add. >>> >>> -- >>> >>> --- michael >>> >>> >>> _______________________________________________ >>> Flora-users mailing list >>> Flo...@li... <mailto:Flo...@li...> >>> https://lists.sourceforge.net/lists/listinfo/flora-users <https://lists.sourceforge.net/lists/listinfo/flora-users> >> >> _______________________________________________ >> Flora-users mailing list >> Flo...@li... <mailto:Flo...@li...> >> https://lists.sourceforge.net/lists/listinfo/flora-users <https://lists.sourceforge.net/lists/listinfo/flora-users> >> >> >> >> _______________________________________________ >> Flora-users mailing list >> Flo...@li... <mailto:Flo...@li...> >> https://lists.sourceforge.net/lists/listinfo/flora-users <https://lists.sourceforge.net/lists/listinfo/flora-users> > _______________________________________________ > Flora-users mailing list > Flo...@li... > https://lists.sourceforge.net/lists/listinfo/flora-users |
From: Michael K. <mic...@co...> - 2018-11-09 23:26:38
|
<html style="direction: ltr;"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style> </head> <body bidimailui-charset-is-forced="true" style="direction: ltr;" text="#000000" bgcolor="#FFFFFF"> <p>I don't believe XSB currently can call Java. The needed code is not public at present, as far as I know (although this might change soon).</p> <p>But XSB and Flora-2 can **call Java back** ie, call back the Java process that previously invoked XSB or Flora-2.<br> </p> <p><br> </p> <p><br> </p> <div class="moz-cite-prefix">On 11/9/18 6:17 PM, Marc Hadfield wrote:<br> </div> <blockquote type="cite" cite="mid:CABgggue=Q8T1ws771WnmXE9s7yYQSC6-sw=-cN...@ma..."> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <div dir="ltr"> <div><br> </div> <div>You may also want to look at the Java <--> XSB interfaces. In this way you can have Java calling Flora2 as well as Flora2 calling Java via Flora2-->XSB-->Java.</div> <div><br> </div> <div> <div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"> <div dir="ltr"> <div> <div><font face="courier new, monospace">================</font></div> <div><font face="courier new, monospace">Marc C. Hadfield</font></div> <div><font face="courier new, monospace"><a href="mailto:ma...@vi..." target="_blank" moz-do-not-send="true">ma...@vi...</a></font></div> <div><font face="courier new, monospace">@MarcHadfield</font></div> <div><font face="courier new, monospace">917-991-9685</font></div> <div><font face="courier new, monospace"><br> </font></div> </div> </div> </div> </div> <br> </div> <br> <div class="gmail_quote"> <div dir="ltr">On Fri, Nov 9, 2018 at 5:43 PM Rangarajan Krishnamoorthy <<a href="mailto:ra...@mm..." moz-do-not-send="true">ra...@mm...</a>> wrote:<br> </div> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div style="word-wrap:break-word;line-break:after-white-space">Thanks. I got it. <div><br> </div> <div>Regards,</div> <div>Rangarajan<br> <div><br> <blockquote type="cite"> <div>On 10-Nov-2018, at 2:48 AM, Michael Kifer <<a href="mailto:mic...@co..." target="_blank" moz-do-not-send="true">mic...@co...</a>> wrote:</div> <br class="m_-1281082062725745805Apple-interchange-newline"> <div> <div style="margin-bottom:0cm;margin-top:0pt;font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration:none"><br class="m_-1281082062725745805Apple-interchange-newline"> <br> </div> <div class="m_-1281082062725745805moz-cite-prefix" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration:none">On 11/9/18 6:47 AM, Rangarajan Krishnamoorthy wrote:<br> </div> <blockquote type="cite" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration:none"> <pre class="m_-1281082062725745805moz-quote-pre">Hi, Is there a way to call Java code (or C/C++ code) from Flora-2 (on Windows 64 bit)? ErgoAI appears to support this through the \e2j package. Regards, Rangarajan </pre> </blockquote> <div style="margin-bottom:0cm;margin-top:0pt;font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration:none"><br> </div> <div style="margin-bottom:0cm;margin-top:0pt;font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration:none">Flora-2 cannot call Java -- this feature is available only in ErgoAI. (But Java can call Flora-2 and Ergo, of course.)<br> </div> <div style="margin-bottom:0cm;margin-top:0pt;font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration:none"><br> </div> <div style="margin-bottom:0cm;margin-top:0pt;font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration:none">Both Ergo and Flora-2 can call C/C++. What you need to do is to create a C-module of XSB and then call its functions using @\prolog.</div> <div style="margin-bottom:0cm;margin-top:0pt;font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration:none">To write XSB's C-module, one needs to know XSB's C API, which is described in the<span class="m_-1281082062725745805Apple-converted-space"> </span><a href="http://coherentknowledge.com/coherent-links/XSB-manual-vol1.pdf" target="_blank" moz-do-not-send="true">XSB Manual, vol. 1</a>, Chapter "Foreign Language Interface".</div> <div style="margin-bottom:0cm;margin-top:0pt;font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration:none">Being a C interface, it is quite low-level, one should add.<span class="m_-1281082062725745805Apple-converted-space"> </span><br> <br> --<br> <br> --- michael<br> <br> <br> </div> <span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline!important">_______________________________________________</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration:none"> <span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline!important">Flora-users mailing list</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration:none"> <a href="mailto:Flo...@li..." style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" target="_blank" moz-do-not-send="true">Flo...@li...</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration:none"> <a href="https://lists.sourceforge.net/lists/listinfo/flora-users" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" target="_blank" moz-do-not-send="true">https://lists.sourceforge.net/lists/listinfo/flora-users</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration:none"> </div> </blockquote> </div> <br> </div> </div> _______________________________________________<br> Flora-users mailing list<br> <a href="mailto:Flo...@li..." target="_blank" moz-do-not-send="true">Flo...@li...</a><br> <a href="https://lists.sourceforge.net/lists/listinfo/flora-users" rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.sourceforge.net/lists/listinfo/flora-users</a><br> </blockquote> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <pre class="moz-quote-pre" wrap="">_______________________________________________ Flora-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Flo...@li...">Flo...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/flora-users">https://lists.sourceforge.net/lists/listinfo/flora-users</a> </pre> </blockquote> </body> </html> |
From: Rangarajan K. <ra...@mm...> - 2018-11-09 23:21:10
|
Yes, that makes sense. - Rangarajan > On 10-Nov-2018, at 4:47 AM, Marc Hadfield <ma...@vi...> wrote: > > > You may also want to look at the Java <--> XSB interfaces. In this way you can have Java calling Flora2 as well as Flora2 calling Java via Flora2-->XSB-->Java. > > ================ > Marc C. Hadfield > ma...@vi... <mailto:ma...@vi...> > @MarcHadfield > 917-991-9685 > > > > On Fri, Nov 9, 2018 at 5:43 PM Rangarajan Krishnamoorthy <ra...@mm... <mailto:ra...@mm...>> wrote: > Thanks. I got it. > > Regards, > Rangarajan > >> On 10-Nov-2018, at 2:48 AM, Michael Kifer <mic...@co... <mailto:mic...@co...>> wrote: >> >> >> >> On 11/9/18 6:47 AM, Rangarajan Krishnamoorthy wrote: >>> Hi, >>> Is there a way to call Java code (or C/C++ code) from Flora-2 (on Windows 64 bit)? ErgoAI appears to support this through the \e2j package. >>> >>> Regards, >>> Rangarajan >> >> Flora-2 cannot call Java -- this feature is available only in ErgoAI. (But Java can call Flora-2 and Ergo, of course.) >> >> Both Ergo and Flora-2 can call C/C++. What you need to do is to create a C-module of XSB and then call its functions using @\prolog. >> To write XSB's C-module, one needs to know XSB's C API, which is described in the XSB Manual, vol. 1 <http://coherentknowledge.com/coherent-links/XSB-manual-vol1.pdf>, Chapter "Foreign Language Interface". >> Being a C interface, it is quite low-level, one should add. >> >> -- >> >> --- michael >> >> >> _______________________________________________ >> Flora-users mailing list >> Flo...@li... <mailto:Flo...@li...> >> https://lists.sourceforge.net/lists/listinfo/flora-users <https://lists.sourceforge.net/lists/listinfo/flora-users> > > _______________________________________________ > Flora-users mailing list > Flo...@li... <mailto:Flo...@li...> > https://lists.sourceforge.net/lists/listinfo/flora-users <https://lists.sourceforge.net/lists/listinfo/flora-users> |
From: Marc H. <ma...@vi...> - 2018-11-09 23:18:16
|
You may also want to look at the Java <--> XSB interfaces. In this way you can have Java calling Flora2 as well as Flora2 calling Java via Flora2-->XSB-->Java. ================ Marc C. Hadfield ma...@vi... @MarcHadfield 917-991-9685 On Fri, Nov 9, 2018 at 5:43 PM Rangarajan Krishnamoorthy <ra...@mm...> wrote: > Thanks. I got it. > > Regards, > Rangarajan > > On 10-Nov-2018, at 2:48 AM, Michael Kifer < > mic...@co...> wrote: > > > > On 11/9/18 6:47 AM, Rangarajan Krishnamoorthy wrote: > > Hi, > Is there a way to call Java code (or C/C++ code) from Flora-2 (on Windows 64 bit)? ErgoAI appears to support this through the \e2j package. > > Regards, > Rangarajan > > > Flora-2 cannot call Java -- this feature is available only in ErgoAI. (But > Java can call Flora-2 and Ergo, of course.) > > Both Ergo and Flora-2 can call C/C++. What you need to do is to create a > C-module of XSB and then call its functions using @\prolog. > To write XSB's C-module, one needs to know XSB's C API, which is described > in the XSB Manual, vol. 1 > <http://coherentknowledge.com/coherent-links/XSB-manual-vol1.pdf>, > Chapter "Foreign Language Interface". > Being a C interface, it is quite low-level, one should add. > > -- > > --- michael > > > _______________________________________________ > Flora-users mailing list > Flo...@li... > https://lists.sourceforge.net/lists/listinfo/flora-users > > > _______________________________________________ > Flora-users mailing list > Flo...@li... > https://lists.sourceforge.net/lists/listinfo/flora-users > |
From: Rangarajan K. <ra...@mm...> - 2018-11-09 22:42:53
|
Thanks. I got it. Regards, Rangarajan > On 10-Nov-2018, at 2:48 AM, Michael Kifer <mic...@co...> wrote: > > > > On 11/9/18 6:47 AM, Rangarajan Krishnamoorthy wrote: >> Hi, >> Is there a way to call Java code (or C/C++ code) from Flora-2 (on Windows 64 bit)? ErgoAI appears to support this through the \e2j package. >> >> Regards, >> Rangarajan > > Flora-2 cannot call Java -- this feature is available only in ErgoAI. (But Java can call Flora-2 and Ergo, of course.) > > Both Ergo and Flora-2 can call C/C++. What you need to do is to create a C-module of XSB and then call its functions using @\prolog. > To write XSB's C-module, one needs to know XSB's C API, which is described in the XSB Manual, vol. 1 <http://coherentknowledge.com/coherent-links/XSB-manual-vol1.pdf>, Chapter "Foreign Language Interface". > Being a C interface, it is quite low-level, one should add. > > -- > > --- michael > > > _______________________________________________ > Flora-users mailing list > Flo...@li... <mailto:Flo...@li...> > https://lists.sourceforge.net/lists/listinfo/flora-users <https://lists.sourceforge.net/lists/listinfo/flora-users> |
From: Michael K. <mic...@co...> - 2018-11-09 21:18:55
|
<html style="direction: ltr;"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style> <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style> <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style> </head> <body bidimailui-charset-is-forced="true" style="direction: ltr;" text="#000000" bgcolor="#FFFFFF"> <p><br> </p> <p><br> </p> <div class="moz-cite-prefix">On 11/9/18 6:47 AM, Rangarajan Krishnamoorthy wrote:<br> </div> <blockquote type="cite" cite="mid:31A...@mm..."> <pre class="moz-quote-pre" wrap="">Hi, Is there a way to call Java code (or C/C++ code) from Flora-2 (on Windows 64 bit)? ErgoAI appears to support this through the \e2j package. Regards, Rangarajan </pre> </blockquote> <p><br> </p> <p>Flora-2 cannot call Java -- this feature is available only in ErgoAI. (But Java can call Flora-2 and Ergo, of course.)<br> </p> <p><br> </p> <p>Both Ergo and Flora-2 can call C/C++. What you need to do is to create a C-module of XSB and then call its functions using @\prolog.</p> <p>To write XSB's C-module, one needs to know XSB's C API, which is described in the <a moz-do-not-send="true" href="http://coherentknowledge.com/coherent-links/XSB-manual-vol1.pdf">XSB Manual, vol. 1</a>, Chapter "Foreign Language Interface".</p> <p>Being a C interface, it is quite low-level, one should add. <br> <br> --<br> <br> --- michael<br> <br> <br> </p> </body> </html> |
From: Rangarajan K. <ra...@mm...> - 2018-11-09 11:47:44
|
Hi, Is there a way to call Java code (or C/C++ code) from Flora-2 (on Windows 64 bit)? ErgoAI appears to support this through the \e2j package. Regards, Rangarajan |
From: Michael K. <ki...@cs...> - 2018-11-09 05:25:08
|
Do you mean this? John[believes->?A] :- John[believes->{${?Head:-?Body},?Body}]. It is a rule, but you are apparently using this sentence as a query (on command prompt?). Otherwise it is allowed (when used as a rule). -- --- michael On 11/8/18 11:44 PM, Rangarajan Krishnamoorthy wrote: > Hi, > In the paper “Nonmonotonic Reasoning in Flora-2” by Michael Kifer that appeared in LNCS 2005, there is a nice example of Reification (Page 4). However, the item numbered (3) is not accepted in my current Flora-2 (Windows version). I get a Parser error: “embedded :- is not allowed in rule head or body”. > > Am I missing anything? > > Regards, > Rangarajan > > _______________________________________________ > Flora-users mailing list > Flo...@li... > https://lists.sourceforge.net/lists/listinfo/flora-users |
From: Rangarajan K. <ra...@mm...> - 2018-11-09 04:52:00
|
Hi, In the paper “Nonmonotonic Reasoning in Flora-2” by Michael Kifer that appeared in LNCS 2005, there is a nice example of Reification (Page 4). However, the item numbered (3) is not accepted in my current Flora-2 (Windows version). I get a Parser error: “embedded :- is not allowed in rule head or body”. Am I missing anything? Regards, Rangarajan |
From: Michael K. <ki...@cs...> - 2018-11-07 01:24:23
|
<html style="direction: ltr;"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style> </head> <body bidimailui-charset-is-forced="true" style="direction: ltr;" text="#000000" bgcolor="#FFFFFF"> <p>At present, there are only date/time/dateTime data types that are useful for time reasoning. At some point, a module with axioms of time will be added. </p> <p>But you can treat one of the arguments as time and model fluents this way.<br> </p> <p><br> </p> <p>--<br> <br> --- michael<br> <br> <br> </p> <p><br> </p> <div class="moz-cite-prefix">On 11/6/18 6:26 PM, Rangarajan Krishnamoorthy wrote:<br> </div> <blockquote type="cite" cite="mid:C50...@mm..."> <pre class="moz-quote-pre" wrap="">Hi, I have been learning Flora-2 for a couple of weeks now and I am enjoying it. While there are many nice features, I do not see any discussion on how to model and reason about temporal phenomenon. Are there explicit constructs to reason about time? If not, are there patterns and idioms to do this elegantly? Regards, Rangarajan _______________________________________________ Flora-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Flo...@li...">Flo...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/flora-users">https://lists.sourceforge.net/lists/listinfo/flora-users</a> </pre> </blockquote> </body> </html> |
From: Rangarajan K. <ra...@mm...> - 2018-11-06 23:27:15
|
Hi, I have been learning Flora-2 for a couple of weeks now and I am enjoying it. While there are many nice features, I do not see any discussion on how to model and reason about temporal phenomenon. Are there explicit constructs to reason about time? If not, are there patterns and idioms to do this elegantly? Regards, Rangarajan |
From: Michael K. <ki...@cs...> - 2018-10-25 06:34:28
|
<html style="direction: ltr;"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style> </head> <body bidimailui-charset-is-forced="true" style="direction: ltr;" text="#000000" bgcolor="#FFFFFF"> <p>The Flora-2 packages manual explains the java-to-flora API. Also, the examples bank on the Coherent site has a downloadable example.</p> <p>There are also examples in java/API/examples in your distribution (although these are a more advanced). <br> <br> --<br> <br> --- michael<br> <br> <br> </p> <p><br> </p> <div class="moz-cite-prefix">On 10/25/18 1:49 AM, Rangarajan Krishnamoorthy wrote:<br> </div> <blockquote type="cite" cite="mid:E99...@mm..."> <pre class="moz-quote-pre" wrap="">Hi, I am quite new to Flora-2. I downloaded the Windows executable and am able to run simple demos as part of the learning process. Next, I would like to write a Java program and access the Flora2 API from Java. What is the simplest way to go about this? Regards, Rangarajan _______________________________________________ Flora-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Flo...@li...">Flo...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/flora-users">https://lists.sourceforge.net/lists/listinfo/flora-users</a> </pre> </blockquote> </body> </html> |
From: Rangarajan K. <ra...@mm...> - 2018-10-25 06:07:15
|
Hi, I am quite new to Flora-2. I downloaded the Windows executable and am able to run simple demos as part of the learning process. Next, I would like to write a Java program and access the Flora2 API from Java. What is the simplest way to go about this? Regards, Rangarajan |
From: Michael K. <ki...@cs...> - 2018-10-18 23:17:33
|
<html style="direction: ltr;"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style> </head> <body bidimailui-charset-is-forced="true" style="direction: ltr;" bgcolor="#FFFFFF" text="#000000"> Dear all:<br> <br> If you would like to share information about your project(s) that involve Flora-2, I prepared a wiki page for that:<br> <a class="moz-txt-link-freetext" href="https://sourceforge.net/p/flora/wiki/Flora-2%20projects/">https://sourceforge.net/p/flora/wiki/Flora-2%20projects/</a><br> <br> One needs to have a sourceforge account to be able to add text to that wiki. <br> If you don't have one, you can also email to me, preferably using this template:<br> <br> Project name:<br> Institution:<br> Members:<br> Description:<br> URL:<br> Description:<br> <br> <br> Thank you. <br> <br> --<br> <br> Best regards,<br> Michael Kifer<br> <br> <br> </body> </html> |
From: Marc H. <ma...@vi...> - 2018-10-18 22:31:19
|
Congrats! ================ Marc C. Hadfield ma...@vi... @MarcHadfield 917-991-9685 On Thu, Oct 18, 2018 at 6:17 PM Michael Kifer <ki...@cs...> wrote: > Dear Flora-2 User: > > We are happy to announce a new release of Flora-2: 2.0 (Pyrus nivalis). > Please see the announcement at http://flora.sourceforge.net/. > In parallel, Coherent Knowledge has also released ErgoAI 2.0 (Myia): > http://coherentknowledge.com/ergoai-2-0-new-version-new-name-easier-integration/ > > Enjoy! > > -- > > Best regards, > Michael Kifer > > > _______________________________________________ > Flora-users mailing list > Flo...@li... > https://lists.sourceforge.net/lists/listinfo/flora-users > |
From: Michael K. <ki...@cs...> - 2018-10-18 22:17:22
|
<html style="direction: ltr;"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style> <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style> </head> <body bidimailui-charset-is-forced="true" style="direction: ltr;" bgcolor="#FFFFFF" text="#000000"> Dear Flora-2 User:<br> <br> We are happy to announce a new release of Flora-2: 2.0 (Pyrus nivalis).<br> Please see the announcement at <a class="moz-txt-link-freetext" href="http://flora.sourceforge.net/">http://flora.sourceforge.net/</a>.<br> In parallel, Coherent Knowledge has also released ErgoAI 2.0 (Myia): <a class="moz-txt-link-freetext" href="http://coherentknowledge.com/ergoai-2-0-new-version-new-name-easier-integration/">http://coherentknowledge.com/ergoai-2-0-new-version-new-name-easier-integration/</a><br> <br> Enjoy!<br> <br> --<br> <br> Best regards,<br> Michael Kifer<br> <br> <br> </body> </html> |
From: Michael K. <ki...@cs...> - 2018-06-05 21:26:51
|
<html style="direction: ltr;"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style> </head> <body bidimailui-charset-is-forced="true" style="direction: ltr;" text="#000000" bgcolor="#FFFFFF"> <br> <br> <div class="moz-cite-prefix">On 06/05/2018 11:15 AM, Cory Casanave wrote:<br> </div> <blockquote type="cite" cite="mid:7e6d9fd1cf8048c88aeda3dc77611be9@MBX203.mailprotector.local"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="Generator" content="Microsoft Word 15 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:#0563C1; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:#954F72; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri",sans-serif;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> <div class="WordSection1"> <p class="MsoNormal">We are mapping a semantic profile of UML to Flora-2/Ergo. In doing so we would appreciate feedback on the best way to map some common concepts. We are mapping types to frame types.<o:p></o:p></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Intersection:<o:p></o:p></p> <p class="MsoNormal">A type “I” is defined as the intersection of a set of other types {A, B,…} , which are also the supertypes. How would you express the intersection?</p> </div> </blockquote> <p><br> </p> <p>Intersection is supported natively. read the section about class expressions.<br> </p> <p><br> </p> <blockquote type="cite" cite="mid:7e6d9fd1cf8048c88aeda3dc77611be9@MBX203.mailprotector.local"> <div class="WordSection1"> <p class="MsoNormal"><o:p></o:p></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Class equivalence:<o:p></o:p></p> <p class="MsoNormal">Class A and B are defined as equivalent. How would you express class equivalence?</p> </div> </blockquote> <p><br> </p> <p>The most straightforward way is to use equality :=:. However, this is expensive. The best thing is probably to simulate equality of classes using UDFs.<br> </p> <p><br> </p> <blockquote type="cite" cite="mid:7e6d9fd1cf8048c88aeda3dc77611be9@MBX203.mailprotector.local"> <div class="WordSection1"> <p class="MsoNormal"><o:p></o:p></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Individual equivalence:<o:p></o:p></p> <p class="MsoNormal">Frame F1 & F2 are defined as equivalent. How would you express general equivalence?</p> </div> </blockquote> <p><br> </p> <p>Not sure what you mean by equivalent frames, but if you mean equating object Ids for specific objects then UDFs is probably the way to go.<br> </p> <p><br> </p> <blockquote type="cite" cite="mid:7e6d9fd1cf8048c88aeda3dc77611be9@MBX203.mailprotector.local"> <div class="WordSection1"> <p class="MsoNormal"><o:p></o:p></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Thanks!<o:p></o:p></p> </div> <!--'"--><br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! <a class="moz-txt-link-freetext" href="http://sdm.link/slashdot">http://sdm.link/slashdot</a></pre> <!--'"--><br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Flora-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Flo...@li...">Flo...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/flora-users">https://lists.sourceforge.net/lists/listinfo/flora-users</a> </pre> </blockquote> <br> </body> </html> |
From: Cory C. <co...@mo...> - 2018-06-05 15:32:18
|
We are mapping a semantic profile of UML to Flora-2/Ergo. In doing so we would appreciate feedback on the best way to map some common concepts. We are mapping types to frame types. Intersection: A type "I" is defined as the intersection of a set of other types {A, B,...} , which are also the supertypes. How would you express the intersection? Class equivalence: Class A and B are defined as equivalent. How would you express class equivalence? Individual equivalence: Frame F1 & F2 are defined as equivalent. How would you express general equivalence? Thanks! |