2005-02-27 04:17:30

A persistent RDF model driver using the pywin32 odbc driver

See http://starship.python.net/crew/mhammond/win32/ and https://sourceforge.net/projects/pywin32/

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

# Statements for use in the SqlAdapter

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.

'\nCREATE TABLE ftrdf_%s_bound (\n name varchar,\n object varchar,\n domain varchar)\n'
'\nCREATE TABLE ftrdf_%s_statement (\n subject ... statementUri varchar,\n domain varchar)\n'
{'binding': ('ftrdf_%s_bound', ['name']), 'po': ('ftrdf_%s_statement', ['predicate', 'object']), 'source': ('ftrdf_%s_statement', ['domain']), 'sp': ('ftrdf_%s_statement', ['subject', 'predicate'])}
{(" This driver is unmaintained; consider using the...nd is a better option than pywin32's ODBC driver.", <class exceptions.DeprecationWarning>, 19): 1}
31
"SELECT * FROM ftrdf_%(modelName)s_statement WHE...tatementUri)s' AND domain%(domainOp)s'%(domain)s'"
"SELECT COUNT(subject) FROM ftrdf_%(modelName)s_s...tatementUri)s' AND domain%(domainOp)s'%(domain)s'"
(True, True, True, True, 1)
["subject%(subjectOp)s'%(subject)s'", "predicate%(predicateOp)s'%(predicate)s'", "object%(objectOp)s'%(object)s'", "statementUri%(statementUriOp)s'%(statementUri)s'", "domain%(domainOp)s'%(domain)s'"]
"DELETE FROM ftrdf_%(modelName)s_statement WHERE...tatementUri)s' AND domain%(domainOp)s'%(domain)s'"
"subject%(subjectOp)s'%(subject)s' AND predicate%...tatementUri)s' AND domain%(domainOp)s'%(domain)s'"