CTM != Cobol Topic Maps, Please

I have an increasingly hard time to hide my impatience with the progress, or actually non-progress, or actually regress of the CTM standardization.

Before I kill somebody (and my list is long) and as compensation I followed up the idea to draft a COBOL Topic Maps notation. It was probably born on #topicmaps, maybe also in one of the SC34 meetings. We do weird things there.

This proposal is meant as a lower bound which I ask the CTM editors not to cross.

IDENTIFICATION DIVISION.
PROGRAM-ID.  DrinkAndDance.
AUTHOR.  rho.

DIRECTIVE DIVISION.
PREFIX SECTION.
01 o
   02 URL LEFT-ANGLE-BRACKET
      http://psi.ontopedia.net/ RIGHT-ANGLE-BRACKET .
01 w
   02 URL LEFT-ANGLE-BRACKET
      http://en.wikipedia.org/ RIGHT-ANGLE-BRACKET .

COMMENT SECTION.
   * we like to write comments
   * or abuse them for other purposes
   * not because we realize the abuse
   * no, because we can

INCLUDE SECTION.
   SELECT SOME-FILE ASSIGN TO "something.ctm"
          ORGANIZATION IS COBOL TOPIC MAPS .

TOPIC DIVISION.
IDENTIFICATION SECTION.
    MOVE john-lennon TO IDENTIFIER .
    MOVE LEFT-ANGLE-BRACKET
         http://en.wikipedia.org/wiki/John_lennon
         RIGHT-ANGLE-BRACKET TO SUBJECT IDENTIFIER .
NAME SECTION.
    MOVE "John Lennon" TO SCOPE UNDEFINED-SCOPE
         USING TYPE short-name .
    MOVE "John Winston Lennon" TO SCOPE queen-of-england
         USING TYPE official-name .
OCCURRENCE SECTION.
    MOVE LEFT-ANGLE-BRACKET
         http://www.johnlennon.com RIGHT-ANGLE-BRACKET
         USING TYPE homepage .

ASSOCIATION DIVISION.
ASSOCIATION-TYPE SECTION.
    is-married-to . * this may be actually a shortcut!!
ROLE SECTION.
    MOVE PLAYING john-lennon TO ROLE husband .
    MOVE PLAYING yoko-ono TO ROLE wife .

EXIT.

COBOL programmers may forgive me. Otherwise I'll put them onto my list, too.

Posted In

Discussion of CTM

You shouldn't have posted this "proposal".

I am afraid that someone takes it serious and takes it into the next SC34 meeting.

Please remove it asap!

Thanks in advance,
Lars

Lars Heuer (not verified) | Mon, 01/28/2008 - 18:19

Re: Discussion of CTM

I am afraid that someone takes it serious
and takes it into the next SC34 meeting.

:-) In any case, it would be an improvement, yes?

rho | Mon, 01/28/2008 - 22:22

:-) In any case, it

:-) In any case, it would be an improvement, yes?

If you add some semicolons, yes ;)

Lars Heuer (not verified) | Tue, 01/29/2008 - 16:00