2004-09-07 14:17:12

Implementation and utilities for resource processing Versa

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

Return the current resource if there is one

Use the resource as is

Expand a QName into a string. Uses the NsMapping on the context

Base class for all resource expressions

Returns a dictionary of dictionaries. The outer dict maps properties to relations. The relation dicts match subjects to objects for each property.

edge_dict expresses connectedness in the form: { a: [b, f, g], c: [a], d: [f], e: [d], f: [e], g: [c, j], h: [g, i], i: [h], j: [k, l, m], l: [g, m], m: [l] } Return value is new dict f the same form, but transitivly closed

'R'
'?'
'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
'http://www.w3.org/2000/01/rdf-schema#'