Skip to content

lszeremeta/n3

Repository files navigation

Notation 3 (N3) grammar

Build Status

The Notation 3 (N3) grammar written in ANTLR4. If you prefer Extended Backus-Naur Form (EBNF) notation, you can also see N3 grammar in EBNF.

Notation 3 (also known as N3) is an assertion and logic language which is a superset of RDF. N3 extends the RDF datamodel by adding formulae (literals which are graphs themselves), variables, logical implication, and functional predicates, as well as providing an textual syntax alternative to RDF/XML.

This project based on ANTLR grammars-v4 project.

Testing grammar

Run tests on files in n3/examples:

mvn clean test

Contribution

Would you like to improve this project? Great! We are waiting for your help and suggestions. If you are new in open source contributions, read How to Contribute to Open Source.

License

Distributed under BSD license.