#!/usr/bin/env python
"""n3meta - For use with n3p.py."""
# Automatically generated by pkltopy.py

import re

branches = {u'_:jcOJHCYs16': {u',': [u',',
                          'http://www.w3.org/2000/10/swap/grammar/n3#symbol',
                          '_:jcOJHCYs16'],
                   u'.': [],
                   u'}': []},
 u'_:jcOJHCYs20': {u',': [u',',
                          'http://www.w3.org/2000/10/swap/grammar/n3#symbol',
                          '_:jcOJHCYs20'],
                   u'.': [],
                   u'}': []},
 u'_:jcOJHCYs33': {u'.': [],
                   u':': ['http://www.w3.org/2000/10/swap/grammar/n3#symbol',
                          '_:jcOJHCYs16'],
                   u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#symbol',
                          '_:jcOJHCYs16'],
                   u'_': ['http://www.w3.org/2000/10/swap/grammar/n3#symbol',
                          '_:jcOJHCYs16'],
                   u'a': ['http://www.w3.org/2000/10/swap/grammar/n3#symbol',
                          '_:jcOJHCYs16'],
                   u'}': []},
 u'_:jcOJHCYs36': {u'.': [],
                   u':': ['http://www.w3.org/2000/10/swap/grammar/n3#symbol',
                          '_:jcOJHCYs20'],
                   u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#symbol',
                          '_:jcOJHCYs20'],
                   u'_': ['http://www.w3.org/2000/10/swap/grammar/n3#symbol',
                          '_:jcOJHCYs20'],
                   u'a': ['http://www.w3.org/2000/10/swap/grammar/n3#symbol',
                          '_:jcOJHCYs20'],
                   u'}': []},
 u'_:jcOJHCYs44': {u'.': [],
                   u'_': ['http://www.w3.org/2000/10/swap/grammar/n3#barename',
                          '_:jcOJHCYs9'],
                   u'a': ['http://www.w3.org/2000/10/swap/grammar/n3#barename',
                          '_:jcOJHCYs9'],
                   u'}': []},
 u'_:jcOJHCYs9': {u',': [u',',
                         'http://www.w3.org/2000/10/swap/grammar/n3#barename',
                         '_:jcOJHCYs9'],
                  u'.': [],
                  u'}': []},
 u'http://www.w3.org/2000/10/swap/grammar/n3#declaration': {u'@keywords': [u'@keywords',
                                                                           '_:jcOJHCYs44'],
                                                            u'@prefix': [u'@prefix',
                                                                         'http://www.w3.org/2000/10/swap/grammar/n3#qname',
                                                                         'http://www.w3.org/2000/10/swap/grammar/n3#explicituri']},
 u'http://www.w3.org/2000/10/swap/grammar/n3#document': {u'"': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                'http://www.w3.org/2000/10/swap/grammar/bnf#eof'],
                                                         u'(': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                'http://www.w3.org/2000/10/swap/grammar/bnf#eof'],
                                                         u'+': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                'http://www.w3.org/2000/10/swap/grammar/bnf#eof'],
                                                         u'-': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                'http://www.w3.org/2000/10/swap/grammar/bnf#eof'],
                                                         u'0': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                'http://www.w3.org/2000/10/swap/grammar/bnf#eof'],
                                                         u':': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                'http://www.w3.org/2000/10/swap/grammar/bnf#eof'],
                                                         u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                'http://www.w3.org/2000/10/swap/grammar/bnf#eof'],
                                                         u'?': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                'http://www.w3.org/2000/10/swap/grammar/bnf#eof'],
                                                         u'@EOFDUMMY': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                        'http://www.w3.org/2000/10/swap/grammar/bnf#eof'],
                                                         u'@forAll': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                      'http://www.w3.org/2000/10/swap/grammar/bnf#eof'],
                                                         u'@forSome': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                       'http://www.w3.org/2000/10/swap/grammar/bnf#eof'],
                                                         u'@keywords': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                        'http://www.w3.org/2000/10/swap/grammar/bnf#eof'],
                                                         u'@prefix': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                      'http://www.w3.org/2000/10/swap/grammar/bnf#eof'],
                                                         u'@this': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                    'http://www.w3.org/2000/10/swap/grammar/bnf#eof'],
                                                         u'[': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                'http://www.w3.org/2000/10/swap/grammar/bnf#eof'],
                                                         u'_': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                'http://www.w3.org/2000/10/swap/grammar/bnf#eof'],
                                                         u'a': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                'http://www.w3.org/2000/10/swap/grammar/bnf#eof'],
                                                         u'{': ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional',
                                                                'http://www.w3.org/2000/10/swap/grammar/bnf#eof']},
 u'http://www.w3.org/2000/10/swap/grammar/n3#dtlang': {u'!': [],
                                                       u'"': [],
                                                       u'(': [],
                                                       u')': [],
                                                       u'+': [],
                                                       u',': [],
                                                       u'-': [],
                                                       u'.': [],
                                                       u'0': [],
                                                       u':': [],
                                                       u';': [],
                                                       u'<': [],
                                                       u'<=': [],
                                                       u'=': [],
                                                       u'=>': [],
                                                       u'?': [],
                                                       u'@': [u'@',
                                                              'http://www.w3.org/2000/10/swap/grammar/n3#langcode'],
                                                       u'@a': [],
                                                       u'@has': [],
                                                       u'@is': [],
                                                       u'@of': [],
                                                       u'@this': [],
                                                       u'[': [],
                                                       u']': [],
                                                       u'^': [],
                                                       u'^^': [u'^^',
                                                               'http://www.w3.org/2000/10/swap/grammar/n3#symbol'],
                                                       u'_': [],
                                                       u'a': [],
                                                       u'{': [],
                                                       u'}': []},
 u'http://www.w3.org/2000/10/swap/grammar/n3#existential': {u'@forSome': [u'@forSome',
                                                                          '_:jcOJHCYs36']},
 u'http://www.w3.org/2000/10/swap/grammar/n3#formulacontent': {u'"': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                               u'(': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                               u'+': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                               u'-': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                               u'0': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                               u':': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                               u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                               u'?': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                               u'@forAll': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                               u'@forSome': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                               u'@keywords': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                               u'@prefix': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                               u'@this': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                               u'[': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                               u'_': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                               u'a': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                               u'{': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                               u'}': []},
 u'http://www.w3.org/2000/10/swap/grammar/n3#literal': {u'"': ['http://www.w3.org/2000/10/swap/grammar/n3#string',
                                                               'http://www.w3.org/2000/10/swap/grammar/n3#dtlang']},
 u'http://www.w3.org/2000/10/swap/grammar/n3#node': {u'"': ['http://www.w3.org/2000/10/swap/grammar/n3#literal'],
                                                     u'(': [u'(',
                                                            'http://www.w3.org/2000/10/swap/grammar/n3#pathlist',
                                                            u')'],
                                                     u'+': ['http://www.w3.org/2000/10/swap/grammar/n3#numericliteral'],
                                                     u'-': ['http://www.w3.org/2000/10/swap/grammar/n3#numericliteral'],
                                                     u'0': ['http://www.w3.org/2000/10/swap/grammar/n3#numericliteral'],
                                                     u':': ['http://www.w3.org/2000/10/swap/grammar/n3#symbol'],
                                                     u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#symbol'],
                                                     u'?': ['http://www.w3.org/2000/10/swap/grammar/n3#variable'],
                                                     u'@this': [u'@this'],
                                                     u'[': [u'[',
                                                            'http://www.w3.org/2000/10/swap/grammar/n3#propertylist',
                                                            u']'],
                                                     u'_': ['http://www.w3.org/2000/10/swap/grammar/n3#symbol'],
                                                     u'a': ['http://www.w3.org/2000/10/swap/grammar/n3#symbol'],
                                                     u'{': [u'{',
                                                            'http://www.w3.org/2000/10/swap/grammar/n3#formulacontent',
                                                            u'}']},
 u'http://www.w3.org/2000/10/swap/grammar/n3#object': {u'"': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                       u'(': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                       u'+': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                       u'-': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                       u'0': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                       u':': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                       u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                       u'?': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                       u'@this': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                       u'[': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                       u'_': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                       u'a': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                       u'{': ['http://www.w3.org/2000/10/swap/grammar/n3#path']},
 u'http://www.w3.org/2000/10/swap/grammar/n3#objecttail': {u',': [u',',
                                                                  'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                  'http://www.w3.org/2000/10/swap/grammar/n3#objecttail'],
                                                           u'.': [],
                                                           u';': [],
                                                           u']': [],
                                                           u'}': []},
 u'http://www.w3.org/2000/10/swap/grammar/n3#path': {u'"': ['http://www.w3.org/2000/10/swap/grammar/n3#node',
                                                            'http://www.w3.org/2000/10/swap/grammar/n3#pathtail'],
                                                     u'(': ['http://www.w3.org/2000/10/swap/grammar/n3#node',
                                                            'http://www.w3.org/2000/10/swap/grammar/n3#pathtail'],
                                                     u'+': ['http://www.w3.org/2000/10/swap/grammar/n3#node',
                                                            'http://www.w3.org/2000/10/swap/grammar/n3#pathtail'],
                                                     u'-': ['http://www.w3.org/2000/10/swap/grammar/n3#node',
                                                            'http://www.w3.org/2000/10/swap/grammar/n3#pathtail'],
                                                     u'0': ['http://www.w3.org/2000/10/swap/grammar/n3#node',
                                                            'http://www.w3.org/2000/10/swap/grammar/n3#pathtail'],
                                                     u':': ['http://www.w3.org/2000/10/swap/grammar/n3#node',
                                                            'http://www.w3.org/2000/10/swap/grammar/n3#pathtail'],
                                                     u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#node',
                                                            'http://www.w3.org/2000/10/swap/grammar/n3#pathtail'],
                                                     u'?': ['http://www.w3.org/2000/10/swap/grammar/n3#node',
                                                            'http://www.w3.org/2000/10/swap/grammar/n3#pathtail'],
                                                     u'@this': ['http://www.w3.org/2000/10/swap/grammar/n3#node',
                                                                'http://www.w3.org/2000/10/swap/grammar/n3#pathtail'],
                                                     u'[': ['http://www.w3.org/2000/10/swap/grammar/n3#node',
                                                            'http://www.w3.org/2000/10/swap/grammar/n3#pathtail'],
                                                     u'_': ['http://www.w3.org/2000/10/swap/grammar/n3#node',
                                                            'http://www.w3.org/2000/10/swap/grammar/n3#pathtail'],
                                                     u'a': ['http://www.w3.org/2000/10/swap/grammar/n3#node',
                                                            'http://www.w3.org/2000/10/swap/grammar/n3#pathtail'],
                                                     u'{': ['http://www.w3.org/2000/10/swap/grammar/n3#node',
                                                            'http://www.w3.org/2000/10/swap/grammar/n3#pathtail']},
 u'http://www.w3.org/2000/10/swap/grammar/n3#pathlist': {u'"': ['http://www.w3.org/2000/10/swap/grammar/n3#path',
                                                                'http://www.w3.org/2000/10/swap/grammar/n3#pathlist'],
                                                         u'(': ['http://www.w3.org/2000/10/swap/grammar/n3#path',
                                                                'http://www.w3.org/2000/10/swap/grammar/n3#pathlist'],
                                                         u')': [],
                                                         u'+': ['http://www.w3.org/2000/10/swap/grammar/n3#path',
                                                                'http://www.w3.org/2000/10/swap/grammar/n3#pathlist'],
                                                         u'-': ['http://www.w3.org/2000/10/swap/grammar/n3#path',
                                                                'http://www.w3.org/2000/10/swap/grammar/n3#pathlist'],
                                                         u'0': ['http://www.w3.org/2000/10/swap/grammar/n3#path',
                                                                'http://www.w3.org/2000/10/swap/grammar/n3#pathlist'],
                                                         u':': ['http://www.w3.org/2000/10/swap/grammar/n3#path',
                                                                'http://www.w3.org/2000/10/swap/grammar/n3#pathlist'],
                                                         u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#path',
                                                                'http://www.w3.org/2000/10/swap/grammar/n3#pathlist'],
                                                         u'?': ['http://www.w3.org/2000/10/swap/grammar/n3#path',
                                                                'http://www.w3.org/2000/10/swap/grammar/n3#pathlist'],
                                                         u'@this': ['http://www.w3.org/2000/10/swap/grammar/n3#path',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#pathlist'],
                                                         u'[': ['http://www.w3.org/2000/10/swap/grammar/n3#path',
                                                                'http://www.w3.org/2000/10/swap/grammar/n3#pathlist'],
                                                         u'_': ['http://www.w3.org/2000/10/swap/grammar/n3#path',
                                                                'http://www.w3.org/2000/10/swap/grammar/n3#pathlist'],
                                                         u'a': ['http://www.w3.org/2000/10/swap/grammar/n3#path',
                                                                'http://www.w3.org/2000/10/swap/grammar/n3#pathlist'],
                                                         u'{': ['http://www.w3.org/2000/10/swap/grammar/n3#path',
                                                                'http://www.w3.org/2000/10/swap/grammar/n3#pathlist']},
 u'http://www.w3.org/2000/10/swap/grammar/n3#pathtail': {u'!': [u'!',
                                                                'http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                         u'"': [],
                                                         u'(': [],
                                                         u')': [],
                                                         u'+': [],
                                                         u',': [],
                                                         u'-': [],
                                                         u'.': [],
                                                         u'0': [],
                                                         u':': [],
                                                         u';': [],
                                                         u'<': [],
                                                         u'<=': [],
                                                         u'=': [],
                                                         u'=>': [],
                                                         u'?': [],
                                                         u'@a': [],
                                                         u'@has': [],
                                                         u'@is': [],
                                                         u'@of': [],
                                                         u'@this': [],
                                                         u'[': [],
                                                         u']': [],
                                                         u'^': [u'^',
                                                                'http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                         u'_': [],
                                                         u'a': [],
                                                         u'{': [],
                                                         u'}': []},
 u'http://www.w3.org/2000/10/swap/grammar/n3#propertylist': {u'"': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u'(': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u'+': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u'-': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u'.': [],
                                                             u'0': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u':': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u'<=': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u'=': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u'=>': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u'?': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u'@a': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u'@has': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                       'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                       'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                       'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u'@is': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                      'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                      'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                      'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u'@this': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                        'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                        'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                        'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u'[': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u']': [],
                                                             u'_': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u'a': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u'{': ['http://www.w3.org/2000/10/swap/grammar/n3#verb',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#object',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#objecttail',
                                                                    'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail'],
                                                             u'}': []},
 u'http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail': {u'.': [],
                                                                 u';': [u';',
                                                                        'http://www.w3.org/2000/10/swap/grammar/n3#propertylist'],
                                                                 u']': [],
                                                                 u'}': []},
 u'http://www.w3.org/2000/10/swap/grammar/n3#simpleStatement': {u'"': ['http://www.w3.org/2000/10/swap/grammar/n3#subject',
                                                                       'http://www.w3.org/2000/10/swap/grammar/n3#propertylist'],
                                                                u'(': ['http://www.w3.org/2000/10/swap/grammar/n3#subject',
                                                                       'http://www.w3.org/2000/10/swap/grammar/n3#propertylist'],
                                                                u'+': ['http://www.w3.org/2000/10/swap/grammar/n3#subject',
                                                                       'http://www.w3.org/2000/10/swap/grammar/n3#propertylist'],
                                                                u'-': ['http://www.w3.org/2000/10/swap/grammar/n3#subject',
                                                                       'http://www.w3.org/2000/10/swap/grammar/n3#propertylist'],
                                                                u'0': ['http://www.w3.org/2000/10/swap/grammar/n3#subject',
                                                                       'http://www.w3.org/2000/10/swap/grammar/n3#propertylist'],
                                                                u':': ['http://www.w3.org/2000/10/swap/grammar/n3#subject',
                                                                       'http://www.w3.org/2000/10/swap/grammar/n3#propertylist'],
                                                                u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#subject',
                                                                       'http://www.w3.org/2000/10/swap/grammar/n3#propertylist'],
                                                                u'?': ['http://www.w3.org/2000/10/swap/grammar/n3#subject',
                                                                       'http://www.w3.org/2000/10/swap/grammar/n3#propertylist'],
                                                                u'@this': ['http://www.w3.org/2000/10/swap/grammar/n3#subject',
                                                                           'http://www.w3.org/2000/10/swap/grammar/n3#propertylist'],
                                                                u'[': ['http://www.w3.org/2000/10/swap/grammar/n3#subject',
                                                                       'http://www.w3.org/2000/10/swap/grammar/n3#propertylist'],
                                                                u'_': ['http://www.w3.org/2000/10/swap/grammar/n3#subject',
                                                                       'http://www.w3.org/2000/10/swap/grammar/n3#propertylist'],
                                                                u'a': ['http://www.w3.org/2000/10/swap/grammar/n3#subject',
                                                                       'http://www.w3.org/2000/10/swap/grammar/n3#propertylist'],
                                                                u'{': ['http://www.w3.org/2000/10/swap/grammar/n3#subject',
                                                                       'http://www.w3.org/2000/10/swap/grammar/n3#propertylist']},
 u'http://www.w3.org/2000/10/swap/grammar/n3#statement': {u'"': ['http://www.w3.org/2000/10/swap/grammar/n3#simpleStatement'],
                                                          u'(': ['http://www.w3.org/2000/10/swap/grammar/n3#simpleStatement'],
                                                          u'+': ['http://www.w3.org/2000/10/swap/grammar/n3#simpleStatement'],
                                                          u'-': ['http://www.w3.org/2000/10/swap/grammar/n3#simpleStatement'],
                                                          u'0': ['http://www.w3.org/2000/10/swap/grammar/n3#simpleStatement'],
                                                          u':': ['http://www.w3.org/2000/10/swap/grammar/n3#simpleStatement'],
                                                          u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#simpleStatement'],
                                                          u'?': ['http://www.w3.org/2000/10/swap/grammar/n3#simpleStatement'],
                                                          u'@forAll': ['http://www.w3.org/2000/10/swap/grammar/n3#universal'],
                                                          u'@forSome': ['http://www.w3.org/2000/10/swap/grammar/n3#existential'],
                                                          u'@keywords': ['http://www.w3.org/2000/10/swap/grammar/n3#declaration'],
                                                          u'@prefix': ['http://www.w3.org/2000/10/swap/grammar/n3#declaration'],
                                                          u'@this': ['http://www.w3.org/2000/10/swap/grammar/n3#simpleStatement'],
                                                          u'[': ['http://www.w3.org/2000/10/swap/grammar/n3#simpleStatement'],
                                                          u'_': ['http://www.w3.org/2000/10/swap/grammar/n3#simpleStatement'],
                                                          u'a': ['http://www.w3.org/2000/10/swap/grammar/n3#simpleStatement'],
                                                          u'{': ['http://www.w3.org/2000/10/swap/grammar/n3#simpleStatement']},
 u'http://www.w3.org/2000/10/swap/grammar/n3#statementlist': {u'"': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#statementtail'],
                                                              u'(': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#statementtail'],
                                                              u'+': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#statementtail'],
                                                              u'-': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#statementtail'],
                                                              u'0': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#statementtail'],
                                                              u':': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#statementtail'],
                                                              u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#statementtail'],
                                                              u'?': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#statementtail'],
                                                              u'@forAll': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                           'http://www.w3.org/2000/10/swap/grammar/n3#statementtail'],
                                                              u'@forSome': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                            'http://www.w3.org/2000/10/swap/grammar/n3#statementtail'],
                                                              u'@keywords': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                             'http://www.w3.org/2000/10/swap/grammar/n3#statementtail'],
                                                              u'@prefix': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                           'http://www.w3.org/2000/10/swap/grammar/n3#statementtail'],
                                                              u'@this': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                         'http://www.w3.org/2000/10/swap/grammar/n3#statementtail'],
                                                              u'[': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#statementtail'],
                                                              u'_': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#statementtail'],
                                                              u'a': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#statementtail'],
                                                              u'{': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#statementtail'],
                                                              u'}': []},
 u'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional': {u'"': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                           u'.',
                                                                           'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional'],
                                                                    u'(': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                           u'.',
                                                                           'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional'],
                                                                    u'+': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                           u'.',
                                                                           'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional'],
                                                                    u'-': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                           u'.',
                                                                           'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional'],
                                                                    u'0': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                           u'.',
                                                                           'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional'],
                                                                    u':': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                           u'.',
                                                                           'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional'],
                                                                    u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                           u'.',
                                                                           'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional'],
                                                                    u'?': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                           u'.',
                                                                           'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional'],
                                                                    u'@EOFDUMMY': [],
                                                                    u'@forAll': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                                 u'.',
                                                                                 'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional'],
                                                                    u'@forSome': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                                  u'.',
                                                                                  'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional'],
                                                                    u'@keywords': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                                   u'.',
                                                                                   'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional'],
                                                                    u'@prefix': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                                 u'.',
                                                                                 'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional'],
                                                                    u'@this': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                               u'.',
                                                                               'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional'],
                                                                    u'[': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                           u'.',
                                                                           'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional'],
                                                                    u'_': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                           u'.',
                                                                           'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional'],
                                                                    u'a': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                           u'.',
                                                                           'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional'],
                                                                    u'{': ['http://www.w3.org/2000/10/swap/grammar/n3#statement',
                                                                           u'.',
                                                                           'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional']},
 u'http://www.w3.org/2000/10/swap/grammar/n3#statementtail': {u'.': [u'.',
                                                                     'http://www.w3.org/2000/10/swap/grammar/n3#statementlist'],
                                                              u'}': []},
 u'http://www.w3.org/2000/10/swap/grammar/n3#subject': {u'"': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                        u'(': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                        u'+': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                        u'-': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                        u'0': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                        u':': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                        u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                        u'?': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                        u'@this': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                        u'[': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                        u'_': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                        u'a': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                        u'{': ['http://www.w3.org/2000/10/swap/grammar/n3#path']},
 u'http://www.w3.org/2000/10/swap/grammar/n3#symbol': {u':': ['http://www.w3.org/2000/10/swap/grammar/n3#qname'],
                                                       u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#explicituri'],
                                                       u'_': ['http://www.w3.org/2000/10/swap/grammar/n3#qname'],
                                                       u'a': ['http://www.w3.org/2000/10/swap/grammar/n3#qname']},
 u'http://www.w3.org/2000/10/swap/grammar/n3#universal': {u'@forAll': [u'@forAll',
                                                                       '_:jcOJHCYs33']},
 u'http://www.w3.org/2000/10/swap/grammar/n3#verb': {u'"': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                     u'(': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                     u'+': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                     u'-': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                     u'0': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                     u':': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                     u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                     u'<=': [u'<='],
                                                     u'=': [u'='],
                                                     u'=>': [u'=>'],
                                                     u'?': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                     u'@a': [u'@a'],
                                                     u'@has': [u'@has',
                                                               'http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                     u'@is': [u'@is',
                                                              'http://www.w3.org/2000/10/swap/grammar/n3#path',
                                                              u'@of'],
                                                     u'@this': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                     u'[': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                     u'_': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                     u'a': ['http://www.w3.org/2000/10/swap/grammar/n3#path'],
                                                     u'{': ['http://www.w3.org/2000/10/swap/grammar/n3#path']}}
regexps = {
   u'http://www.w3.org/2000/10/swap/grammar/n3#barename': re.compile(u'[a-zA-Z_][a-zA-Z0-9_]*'),
   u'http://www.w3.org/2000/10/swap/grammar/n3#variable': re.compile(u'\\?[a-zA-Z_][a-zA-Z0-9_]*'),
   u'http://www.w3.org/2000/10/swap/grammar/n3#qname': re.compile(u'(([a-zA-Z_][a-zA-Z0-9_]*)?:)?([a-zA-Z_][a-zA-Z0-9_-]*)?'),
   u'http://www.w3.org/2000/10/swap/grammar/n3#string': re.compile(u'("""[^"\\\\]*(?:(?:\\\\.|"(?!""))[^"\\\\]*)*""")|("[^"\\\\]*(?:\\\\.[^"\\\\]*)*")'),
   u'http://www.w3.org/2000/10/swap/grammar/n3#explicituri': re.compile(u'<[^>]*>'),
   u'http://www.w3.org/2000/10/swap/grammar/n3#langcode': re.compile(u'[a-z]+(-[a-z0-9]+)*'),
   u'http://www.w3.org/2000/10/swap/grammar/n3#numericliteral': re.compile(u'[-+]?[0-9]+(\\.[0-9]+)?(e[-+]?[0-9]+)?'),
}

if __name__=="__main__":
   print __doc__
