Exemplo n.º 1
0
class _Anon3(jsg.JSGString):
    pattern = jsg.JSGPattern(r'(iri)|(bnode)|(nonliteral)|(literal)')
Exemplo n.º 2
0
class BNODE(jsg.JSGString):
    pattern = jsg.JSGPattern(r'_\:[A-Z]+')
Exemplo n.º 3
0
class TEMPLATE(jsg.JSGString):
    pattern = jsg.JSGPattern(r'\{.*\}')
Exemplo n.º 4
0
class SHAPEEXPR(jsg.JSGString):
    pattern = jsg.JSGPattern(r'[a-z]')
Exemplo n.º 5
0
class IRI(jsg.String):
    pattern = jsg.JSGPattern(r'')
Exemplo n.º 6
0
class EXPONENT(jsg.JSGString):
    pattern = jsg.JSGPattern(r'[eE][+-]?[0-9]+')
Exemplo n.º 7
0
class HEX(jsg.JSGString):
    pattern = jsg.JSGPattern(r'[0-9]|[A-F]|[a-f]')
Exemplo n.º 8
0
class DECIMAL(jsg.JSGString):
    pattern = jsg.JSGPattern(r'[+-]?[0-9]*\.[0-9]+')
Exemplo n.º 9
0
class STRING(jsg.JSGString):
    pattern = jsg.JSGPattern(r'.*')
Exemplo n.º 10
0
class INTEGER(jsg.String):
    pattern = jsg.JSGPattern(r'')
Exemplo n.º 11
0
class INTEGER(jsg.JSGString):
    pattern = jsg.JSGPattern(r'[+-]?[0-9]+')
Exemplo n.º 12
0
class BNODE(jsg.String):
    pattern = jsg.JSGPattern(r'')
Exemplo n.º 13
0
class _Anon1(jsg.JSGString):
    pattern = jsg.JSGPattern(r'unbounded')
Exemplo n.º 14
0
class LANGTAG(jsg.JSGString):
    pattern = jsg.JSGPattern(r'[a-zA-Z]+(\-([a-zA-Z0-9])+)*')
Exemplo n.º 15
0
class PN_PREFIX(jsg.JSGString):
    pattern = jsg.JSGPattern(r'({PN_CHARS_BASE})((({PN_CHARS})|\.)*({PN_CHARS}))?'.format(PN_CHARS=PN_CHARS.pattern, PN_CHARS_BASE=PN_CHARS_BASE.pattern))
Exemplo n.º 16
0
class PN_CHARS_BASE(jsg.JSGString):
    pattern = jsg.JSGPattern(r'[A-Z]|[a-z]|[\u00C0-\u00D6]|[\u00D8-\u00F6]|[\u00F8-\u02FF]|[\u0370-\u037D]|[\u037F-\u1FFF]|[\u200C-\u200D]|[\u2070-\u218F]|[\u2C00-\u2FEF]|[\u3001-\uD7FF]|[\uF900-\uFDCF]|[\uFDF0-\uFFFD]|[\u10000-\uEFFFF]')
Exemplo n.º 17
0
class BOOL(jsg.JSGString):
    pattern = jsg.JSGPattern(r'true|false')
Exemplo n.º 18
0
class DOUBLE(jsg.JSGString):
    pattern = jsg.JSGPattern(r'[+-]?([0-9]+\.[0-9]*({EXPONENT})|\.[0-9]+({EXPONENT})|[0-9]+({EXPONENT}))'.format(EXPONENT=EXPONENT.pattern))
Exemplo n.º 19
0
class LANGTAG(jsg.JSGString):
    pattern = jsg.JSGPattern(r'@[a-zA-Z]+(\-[a-zA-Z0-9]+)*')
Exemplo n.º 20
0
class PN_CHARS_U(jsg.JSGString):
    pattern = jsg.JSGPattern(r'({PN_CHARS_BASE})|_'.format(PN_CHARS_BASE=PN_CHARS_BASE.pattern))
Exemplo n.º 21
0
class YY(jsg.JSGString):
    pattern = jsg.JSGPattern(r'[0-9]')
Exemplo n.º 22
0
class UCHAR(jsg.JSGString):
    pattern = jsg.JSGPattern(r'\\\\u({HEX})({HEX})({HEX})({HEX})|\\\\U({HEX})({HEX})({HEX})({HEX})({HEX})({HEX})({HEX})({HEX})'.format(HEX=HEX.pattern))
Exemplo n.º 23
0
class _Anon1(jsg.JSGString):
    pattern = jsg.JSGPattern(r'ShapeOr')
Exemplo n.º 24
0
class IRI(jsg.JSGString):
    pattern = jsg.JSGPattern(r'([~\u0000-\u0020\u005C\u007B\u007D<>"|^`]|({UCHAR}))*'.format(UCHAR=UCHAR.pattern))
Exemplo n.º 25
0
class IRIREF(jsg.JSGString):
    pattern = jsg.JSGPattern(r'[A-Z]+')
Exemplo n.º 26
0
class PN_CHARS(jsg.JSGString):
    pattern = jsg.JSGPattern(r'({PN_CHARS_U})|\-|[0-9]|\\u00B7|[\u0300-\u036F]|[\u203F-\u2040]'.format(PN_CHARS_U=PN_CHARS_U.pattern))
Exemplo n.º 27
0
class NAME(jsg.JSGString):
    pattern = jsg.JSGPattern(r'.*')
Exemplo n.º 28
0
class BNODE(jsg.JSGString):
    pattern = jsg.JSGPattern(r'_:(({PN_CHARS_U})|[0-9])((({PN_CHARS})|\.)*({PN_CHARS}))?'.format(PN_CHARS=PN_CHARS.pattern, PN_CHARS_U=PN_CHARS_U.pattern))
Exemplo n.º 29
0
class _Anon1(jsg.JSGString):
    pattern = jsg.JSGPattern(r'\*')
Exemplo n.º 30
0
class _Anon2(jsg.JSGString):
    pattern = jsg.JSGPattern(r'http://www\.w3\.org/ns/shex\.jsonld')