ATM [autonomous topic maps] :Operator Definition

http://www.semports.org/mwp/newTopicMapDH

 

Lutz Maicher (maicher@informatik.uni-leipzig.de)

Last update: 2006-11-07

 

PSI: http://www.semports.org/mwp/newTopicMapDH

Description

This operator creates a new Topic Map data handler which can be used for querying, updating and serialising purposes. The basis of this data handler can be a specified Topic Maps file. The data handler will get a id which has to be used for referencing the data handler in other operators. If no Topic Map file is specified by an operand, the user has to choose a file. If no id is specified, the id will be created automatically. There are no constraints how the user can choose the file.

Input

Namespace pndm defined by http://psi.semports.org/pndm/

pndm:operand1
[optionally]

The id of the new data handler. This ID has to be used for referencing the data handler in other operators.

pndm:operand2
[optionally]

The URL of the file which is the data source of the handler.

If no URL is given, the user has to choose the file which should become the data source of the handler.

Output

key rule

One item identifier of the current transition item + “.dh_id”

example

id24.dh_id

value

The id of the data handler created by this operator.

 

key rule

One item identifier of the current transition item + “.filename”

example

id24.filename

value

The filename (including full path information) of the file in which the content of the data handler was serialised in.