2004-06-21 16:42:36

N-Triples module. http://www.w3.org/TR/rdf-testcases/#ntriples

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

Serialize or deserialize a model using N-Triples.

Construct a DOM representing statements in the model.

Takes a sequence of lines with NTriples and returns a list of resulting statement objects

'[ -x7E]'

Compiled regular expression objects

<_sre.SRE_Pattern object>
'"(?P<name>[ -x7E]*)"^^(?P<dt>(?:(?:[a-zA-Z][0-9a...\\.]*:)?/{0,2}[0-9a-zA-Z;/?:@&=+$\\.\\-_!~*\'()%]+)?)'
r'[a-z0-9]+(\-[a-z0-9]+)?'

Compiled regular expression objects

<_sre.SRE_Pattern object>
r'"(?P<value>[ -x7E]*)"(@(?P<lang>[a-z0-9]+(\-[a-z0-9]+)?))?'
'[A-Za-z][A-Za-z0-9]*'

Compiled regular expression objects

<_sre.SRE_Pattern object>
'_:(?P<name>[A-Za-z][A-Za-z0-9]*)'
'L'
'R'
'?'
'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
'http://www.w3.org/2000/01/rdf-schema#'

Compiled regular expression objects

<_sre.SRE_Pattern object>
r"<(?P<uriref>(?:(?:[a-zA-Z][0-9a-zA-Z+\-\.]*:)?/{0,2}[0-9a-zA-Z;/?:@&=+$\.\-_!~*'()%]+)?)>"
r"(?:(?:[a-zA-Z][0-9a-zA-Z+\-\.]*:)?/{0,2}[0-9a-zA-Z;/?:@&=+$\.\-_!~*'()%]+)?"