View Issue Details

IDProjectCategoryView StatusLast Update
0001514CaseTalk ModelerExpressionspublic2017-11-10 08:28
ReporterBCP Software Assigned ToBCP Software  
PrioritynormalSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Target VersionFuture 
Summary0001514: Support import/export of expression trees in text format
DescriptionA fact type expression contains structure as shown in the expression tree. However when generating expression, this is flattened.
Supporting a nested notation gives readers more insight.
Additional InformationA few examples of expression representation:
/* Flattened */
City of Residence: "Person John Doe lives in New York"
/* With soft semantics, with constraints */
{
  otfts : 
  [
    type : 
    {
      name : "City of Residence",
      expression : 
        [
          { part : "Person " },
          {
            type :
            {
              name : "Person",
              expression :
              [
                { type : { name : "Firstname" } },
                { part : " " },
                { type : { name : "Lastname" } }        
              ],
              constraints : [ 
                { uc : [ Firstname, Lastname ] }
                ]
            }
          },
          { part : " lives in " },
          { type : 
            {
              name : "City",
              expression : 
              [
                { type : { name : "Cityname" } }
              ],
              constraints : [ 
                { uc : [ Cityname ] }
                ]
            } 
          }
        ],
      constraints : [ 
        { uc : [ Person ] }
        ]
    }
  ]
}
TagsNo tags attached.
CaseTalk Edition

Activities

BCP Software

BCP Software

2017-11-09 11:58

administrator   ~0001027

Naturally speaking, it would be great for CaseTalk to support the parsing of these texts as well. Than we can manipulate the information model structure on a text based approach too.
BCP Software

BCP Software

2017-11-09 21:50

administrator   ~0001029

Last edited: 2017-11-10 08:28

  'City of Residence' {
    'Person' {
      'Firstname' { values [ "John", "Mary" ], datatype : "string", size : "128" },
      " ",
      'Lastname' { values : [ "Doe", "Jones" ], datatype : "string", size : "128" },
      uc { 'Firstname', 'Lastname' }
      },
    " lives in ",
    'City' {
      'Cityname' { values : [ "New York", "Chicago" ], datatype : "string", size : "128" }
      },
    uc { 'Person' }
  }

Issue History

Date Modified Username Field Change
2017-11-09 11:52 BCP Software New Issue
2017-11-09 11:52 BCP Software Status new => assigned
2017-11-09 11:52 BCP Software Assigned To => BCP Software
2017-11-09 11:56 BCP Software Additional Information Updated
2017-11-09 11:56 BCP Software Additional Information Updated
2017-11-09 11:57 BCP Software Additional Information Updated
2017-11-09 11:58 BCP Software Note Added: 0001027
2017-11-09 12:02 BCP Software Additional Information Updated
2017-11-09 18:49 BCP Software Additional Information Updated
2017-11-09 18:49 BCP Software Additional Information Updated
2017-11-09 18:51 BCP Software Additional Information Updated
2017-11-09 21:31 BCP Software Additional Information Updated
2017-11-09 21:44 BCP Software Additional Information Updated
2017-11-09 21:50 BCP Software Note Added: 0001029
2017-11-09 21:54 BCP Software Note Edited: 0001029
2017-11-09 21:56 BCP Software Note Edited: 0001029
2017-11-09 21:58 BCP Software Note Edited: 0001029
2017-11-09 22:00 BCP Software Note Edited: 0001029
2017-11-10 08:28 BCP Software Note Edited: 0001029
2020-04-19 09:25 BCP Software Category Model Expressions => Expressions