| Home | Trees | Index | Help |
|---|
| Package rdflib :: Package sparql :: Module sparqlOperators |
|
| Function Summary | |
|---|---|
SPARQL numeric + operator implemented via Python | |
bound(a)
| |
datatype(a)
| |
eq(a,
b)
| |
ge(a,
b)
| |
getLiteralValue(v)
| |
getValue(param)
| |
gt(a,
b)
| |
isBlank(a)
| |
isIRI(a)
| |
isLiteral(a)
| |
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)
| |
neq(a,
b)
| |
queryString(v)
| |
Invokes the XPath fn:matches function to match text against a regular expression pattern. | |
str(a)
| |
XSD Casting/Construction Support For now (this may be an issue since Literal doesn't override comparisons) it simply creates a Literal with the target datatype using the 'lexical' value of the source | |
__getQueryString(v)
| |
| Function Details |
|---|
addOperator(args, combinationArg)SPARQL numeric + operator implemented via Python |
isOnCollection(collection, item, triplets)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. |
regex(item, pattern, flag=None)Invokes the XPath fn:matches function to match text against a regular expression pattern. The regular expression language is defined in XQuery 1.0 and XPath 2.0 Functions and Operators section 7.6.1 Regular Expression Syntax |
XSDCast(source, target=None)XSD Casting/Construction Support For now (this may be an issue since Literal doesn't override comparisons) it simply creates a Literal with the target datatype using the 'lexical' value of the source |
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Wed Apr 4 16:05:45 2007 | http://epydoc.sf.net |