COMMONS 1.3b1 RTF Avatar
  1. OMG Issue

COMMONS13 — Need for simple ordered List

  • Key: COMMONS13-3
  • Status: open  
  • Source: Adaptive ( Mr. Pete Rivett)
  • Summary:

    Commons is missing a class representing a simple ordered list of items. The class StructuredCollections:List is far too heavyweight for general use:
    Each member must be an IndexedConstituent which in turn must have a value for comprises which is an IndexValue defined in an IndexingScheme and only that actually refersTo a nonNegativeInteger.
          myList a :List ;
          :hasMember [
                a :IndexedConstituent ;
    :comprises [
    a :IndexValue ;
    :characterizes <member1> ;
    :isDefinedIn :myScheme ;
    :refersTo ??;
    :hasNumericValue 1
    ]
               ] ,    
               a :ListMember ;
                :refersTo <member3> ;   
                :hasSequence 3 ;
               ] ,    
               a :ListMember ;
                :refersTo <member2> ;   
                :hasSequence 2 ;
               ]    
    .
    That might represent a StructuredElementList but for a basic list one would only need one class and two properties - something like:
          myList a :List ;
          :hasMember [
                a :ListMember ;
                :refersTo <member1> ;   
                :hasSequence 1 ;
               ] ,    
               a :ListMember ;
                :refersTo <member3> ;   
                :hasSequence 3 ;
               ] ,    
               a :ListMember ;
                :refersTo <member2> ;   
                :hasSequence 2 ;
               ]    
    .

  • Reported: Commons 1.2b1 — Fri, 27 Sep 2024 18:50 GMT
  • Updated: Sun, 27 Oct 2024 22:10 GMT