2005-03-29 00:30:48

A persistent RDF model driver using the PsycoPG adapter for PostgreSQL

See http://initd.org/projects/psycopg1

Copyright 2005 Fourthought, Inc. (USA). Detailed license and copyright information: http://4suite.org/COPYRIGHT Project home, documentation, distributions: http://4suite.org/

####### Legacy API #######

####### Versa API #######

Post-import hook to initialize module's runtime variables that are not required at import time, but will be needed before the module-level functions are called.

flags is a dict. keys are subjectFlags, predicateFlags, objectFlags, statementUriFlags and domainFlags values are Model.NORMAL, Model.IGNORE_CASE and Model.REGEX

'CREATE TABLE %(model)sUriHead (\nID integer prim...AclIdent (Name);\nCOMMIT; VACUUM ANALYZE; BEGIN;\n\n'
"CREATE FUNCTION %(model)s_rlookup_func (int4)\n ... WHERE STR.id = $2 OR R.id = $2;'\nLANGUAGE 'sql'\n"
'DROP TABLE %(model)sUriHead;\nDROP TABLE %(model)...gLiteralIDX;\n--DROP INDEX %(model)sACLIdentName;\n'
{0: '=', 2: '~', 3: '~*'}

Compiled regular expression objects

<_sre.SRE_Pattern object>

Compiled regular expression objects

<_sre.SRE_Pattern object>
'L'
'R'
'?'
"RDF_FILE = 'w3c1.rdf'\nfrom Ft.Rdf.Drivers import...Map=NSMAP)\nprint r\nprint Util.VersaDataToXml(r)\n\n"
'http://www.w3.org/1999/02/22-rdf-syntax-ns#'

Compiled regular expression objects

<_sre.SRE_Pattern object>