| t_blank | = | blank | |
| t_comment | = | comment | |
| comma | = | ',' | |
| endpoint | = | '.' blank | |
| pathcon | = | '.' | |
| dblcaret | = | '^^' | |
| lpar | = | '(' | |
| rpar | = | ')' | |
| lbracket | = | '[' | |
| rbracket | = | ']' | |
| lbrace | = | '{' | |
| rbrace | = | '}' | |
| colon | = | ':' | |
| gt | = | '>' | |
| lt | = | '<' | |
| gte | = | '>=' | |
| lte | = | '=<' | |
| equals | = | '=' | |
| unequal | = | '!=' | |
| add_op | = | '+' | |
| sub_op | = | '-' | |
| star | = | '*' | |
| div_op | = | '/' | |
| t_mappingdocument | = | 'MappingDocument' | |
| source | = | 'source' | |
| target | = | 'target' | |
| t_annotation | = | 'annotation' | |
| unidirectional | = | 'unidirectional' | |
| bidirectional | = | 'bidirectional' | |
| classmapping | = | 'classMapping' | |
| attributemapping | = | 'attributeMapping' | |
| relationmapping | = | 'relationMapping' | |
| instancemapping | = | 'instanceMapping' | |
| classattributemapping | = | 'classAttributeMapping' | |
| classrelationmapping | = | 'classRelationMapping' | |
| classinstancemapping | = | 'classInstanceMapping' | |
| attributeclassmapping | = | 'attributeClassMapping' | |
| relationclassmapping | = | 'relationClassMapping' | |
| instanceclassmapping | = | 'instanceClassMapping' | |
| and | = | 'and' | |
| or | = | 'or' | |
| not | = | 'not' | |
| join | = | 'join' | |
| inverse | = | 'inverse' | |
| symetric | = | 'symetric' | |
| transitive | = | 'trans' | |
| reflexive | = | 'reflexive' | |
| univ_false | = | 'false' | |
| univ_true | = | 'true' | |
| attributevaluecondition | = | 'attributeValueCondition' | |
| attributeoccurencecondition | = | 'attributeOccurenceCondition' | |
| valuecondition | = | 'valueCondition' | |
| expressioncondition | = | 'expressionCondition' | |
| string | = | squote string_content* squote | |
| plainliteral | = | dquote literal_content* dquote language_tag? | |
| full_iri | = | luridel iri_reference ruridel | |
| ncname | = | ( letter | '_' ) ncnamechar* | |
| anonymous | = | '_#' digit* | |
| pos_int | = | digit+ | |
| pos_float | = | digit+ '.' digit+ |