Previous Topic

Next Topic

create

Creates a new model on an existing KowariTM server. The corresponding command for removing models is drop. The general syntax is as follows:

create model [type];

Where model is the URI of the model to create and type is an optional model type specification.

Model URIs are formed by adding a fragment part to the URI of the server they reside on. The following example creates a model named MyModel on the server at rmi://mysite.com/server1.

create <rmi://mysite.com/server1#MyModel>;

The optional model types are:

  • http://tucana.org/tucana#Model

    This is the default triple store model. Specifying this type is equivalent to omitting the type parameter.

  • http://tucana.org/tucana#ViewModel

    A view model that represents a combined set of models. See the Views section for more information.

  • http://tucana.org/tucana#LuceneModel

    A full-text string index model based on Lucene.

    All statements placed into a full-text model must have a literal-valued object. Queries against a full-text model result in a match if the object in the query constraint is similar to any stored statements, rather than needing to be identical.

    See the Full-Text Models section for more information.

  • http://tucana.org/tucana#XMLSchemaModel

    A datatyping model that represents the property of orderedness that literals like dates and numbers possess.

    Datatyping models are used to constrain results to be above, below, or between specified dates or numbers.

    See the Datatyping Models section for more information.

  • http://tucana.org/tucana#TypeModel

    A nodetyping model that represents the type the RDF nodes have in a graph.

    Nodetyping models are used to constrain results to be literals or URI references.

    See the Nodetyping Models section for more information.

  • http://tucana.org/tucana#FileSystemModel

    A filesystem model that can be queried to return information about files and directories on filesystems.

    See the Filesystem Model section for more information.

The Kowari server must exist before you can create models on it. If you try to create a model on a nonexistent or unreachable server, the command fails with the message Couldn't contact server.

See Also

iTQL Commands

alias

backup

comment (#)

commit

delete

drop

execute

help

insert

load

quit

restore

rollback

select

set

Latest News

Kowari 1.1.0 Pre-release 1 Released

Kowari 1.0.5 Released

Kowari 1.0.4.1 Released

Kowari 1.0.4 Released

DAWG Evaluates iTQL

Kowari article in XML.com

Kowari mentioned on XML.com

Kowari 1.0.3 Released

Kowari Lite Introduced

Kowari 1.0.2 Released

Kowari 1.0.1 Released

View all news items


Open Source logo Tucana Technologies Logo SourceForge.net Logo

© 2001-2004 Tucana Technologies, Inc. Some rights reserved.