Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: More about Sentences & AMD (Associative Model of Data)

From: robbo1mark:aol at: 17-May-2002 7:08

ANDREW, Another good thing about triples as a storage mechanism in REBOL is that by using issue!'s as the KEY you don't use up space the system/words global name space. For example data-store: [ #1 [#source-id #verb-id #target-id] #2 [#source-id #verb-id #target-id] ... ] using an issue! block! association we can use paths to extract the block! of stored triples and their contents i.e.
>> data-store/#1
== [#source-id #verb-id #target-id]
>> data-store/#1/1
== #source-id By also making the source verbs and targets a unique #xxxx issue! identity-string again we preserve the global namespace. What do you think? If you are interested I would like to explore this Associated Model of Data and a "Sentences" like system for REBOL more fully. Either email me directly or feel free to post here as well, we could use one of our yahoo-groups either web_dialect or oscar-project as a working space for just now if you and anybody else is interested. Please let me know - anybody else feel free to join in. cheers, Mark Dickson