5
RDFNS = Redland::Namespace.new("http://www.w3.org/1999/02/22-rdf-syntax-ns#")
9
DESCRIPTION = RDFNS["Description"]
11
ABOUT = RDFNS["about"]
12
BAG_ID = RDFNS["bagID"]
13
PARSE_TYPE = RDFNS["parseType"]
14
RESOURCE = RDFNS["resource"]
16
NODE_ID = RDFNS["nodeID"]
17
DATATYPE = RDFNS["datatype"]
23
STATEMENT = RDFNS["Statement"]
24
PROPERTY = RDFNS["Property"]
25
XMLLiteral = RDFNS["XMLLiteral"]
29
SUBJECT = RDFNS["subject"]
30
PREDICATE = RDFNS["predicate"]
31
OBJECT = RDFNS["object"]
33
VALUE = RDFNS["value"]
34
FIRST = RDFNS["first"]
36
# and _n where n is a non-negative integer
40
# http://www.w3.org/TR/rdf-syntax-grammar/#eventterm-attribute-URI
41
# A mapping from unqualified terms to there qualified version.
44
# http://www.w3.org/TR/rdf-syntax-grammar/#coreSyntaxTerms
45
CORE_SYNTAX_TERMS = [RDF, ID, ABOUT, BAG_ID, PARSE_TYPE, RESOURCE, NODE_ID, DATATYPE]
47
# http://www.w3.org/TR/rdf-syntax-grammar/#syntaxTerms
48
SYNTAX_TERMS = CORE_SYNTAX_TERMS + [DESCRIPTION, LI]
50
# http://www.w3.org/TR/rdf-syntax-grammar/#oldTerms