NAME

KeyID.pm (v0.1) -- mapping between RDF symbols (keys) and ids.

DESCRIPTION

Module KeyID.pm implements a mapping between RDF keys and unique identifiers.

Data structures

%kyid

Mapping from keys to ids.

@idky

Mapping from ids to keys.

$kycn

Counter of keys.

Functions

ok = enter_key(ky)

Enters a key $ky to tables %kyid and @idky. $kycn represents an id of a key.

bool = isdef(ky)

Returns true if a key $ky exists in %kyid and false otherwise.

id = to_id(ky)

Maps a key $ky to an id $id.

ky = to_key(id)

Maps an id $id to a key $ky.

AUTHORS

Iztok Savnik <iztok.savnik@upr.si>; Kiyoshi Nitta <knitta@yahoo-corp.jp>

DATES

Created 09/12/2014; modified 26/01/2015; Last update 10/6/2021.