Home | Trees | Index | Help |
---|
Package rdflib :: Module util |
|
Function Summary | |
---|---|
check_context(c)
| |
Test that o is a valid object identifier. | |
check_pattern((s,
p,
o))
| |
Test that p is a valid predicate identifier. | |
check_statement((s,
p,
o))
| |
Test that s is a valid subject identifier. | |
http://www.w3.org/TR/NOTE-datetime ex: 1997-07-16T19:20:30Z | |
first(seq)
| |
Creates the Identifier corresponding to the given n3 string. | |
Returns 1 if sequence has more items than number and 0 if not. | |
parse_date_time(val)
| |
See also from_n3 | |
removes duplicate strings from the sequence. |
Function Details |
---|
check_object(o)Test that o is a valid object identifier. |
check_predicate(p)Test that p is a valid predicate identifier. |
check_subject(s)Test that s is a valid subject identifier. |
date_time(t=None)http://www.w3.org/TR/NOTE-datetime ex: 1997-07-16T19:20:30Z |
from_n3(s, default=None)Creates the Identifier corresponding to the given n3 string. WARNING: untested, may contain bugs. TODO: add test cases. |
more_than(sequence, number)Returns 1 if sequence has more items than number and 0 if not. |
term(str, default=None)See also from_n3 |
uniq(sequence, strip=0)removes duplicate strings from the sequence. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Jun 29 09:50:17 2005 | http://epydoc.sf.net |