Package rdflib :: Package sparql :: Module sparqlOperators
[show private | hide private]
[frames | no frames]

Module rdflib.sparql.sparqlOperators

Function Summary
  bound(a)
  datatype(a)
  eq(a, b)
  ge(a, b)
  getLiteralValue(v)
  getValue(param)
  gt(a, b)
  isBlank(a)
  isLiteral(a)
  isOnCollection(collection, item)
Generate a method that can be used as a global constaint in sparql to check whether the 'item' is an element of the 'collection' (a.k.a.
  isURI(a)
  lang(a)
  le(a, b)
  lt(a, b)
  queryString(v)
  str(a)
  _strToDate(v)
  _strToDateTime(v)
  _strToTime(v)

Function Details

isOnCollection(collection, item)

Generate a method that can be used as a global constaint in sparql to check whether the 'item' is an element of the 'collection' (a.k.a. list). Both collection and item can be a real resource or a query string. Furthermore, item might be a plain string, that is then turned into a literal run-time. The method returns an adapted method.

Generated by Epydoc 2.1 on Wed Jun 29 09:50:16 2005 http://epydoc.sf.net