Home | Download | ANTLRWorks | Wiki | About ANTLR | Feedback | Support | Bugs | v2


Latest version is 3.0.1
Download now! »

Download
» Home
» Download
» ANTLRWorks
» News
»Using ANTLR
» Documentation
» FAQ
» Articles
» Grammars
» File Sharing
» Runtime API
» Tech Support
» Bug Tracking
»About ANTLR
» What is ANTLR
» Why use ANTLR
» Showcase
» Testimonials
» Getting Started
» Software License
» ANTLR WebLogs
» ANTLR Workshops
»StringTemplate
»ANTLR v2
»Feedback
»Credits
»Contact


Support StringTemplate, ANTLR Project by making a donation! Terence often pays for things like the antlr.org server, conference travel, and this site design (that alone cost US$1000). Buy him a beer and pizza remotely ;)

Search



the SPARQL query language Grammar for ANTLR v3

Main

Overview

The SPARQL query language for RDF is designed to meet the use cases and requirements identified by the RDF Data Access Working Group in RDF Data Access Use Cases and Requirements; detailed explanations can be found on the official W3C's SPARQL's specifications.
Purpose of this project is provide a cross-compiler ANTRL v3's grammar which is an implementation of the SPARQL grammar's specifications.

Download

SPARQL grammar is available for download here.
Take a look also at passed test and dawg cases!

Release Notes

  • 2007-10-30: First release (Michele Mostarda, Simone Tripodi)
  • 2007-11-19: Juergen Pfundt joined the team
  • 2008-01-21: Bugfix release
    • Created project space on Google Code (Simone Tripodi)
    • Created html-doc's project (Simone Tripodi)
    • Fixed antlr3 warnings emitted when compiling the Sparql.g file (Juergen Pfundt)
    • Added lexical rule "ANY" as fallback, in case no lexical rule matches (Juergen Pfundt)
    • Recognition of keywords (including "true" and "false") is case insensitive now (Juergen Pfundt)
    • Implemented lexical rule for comments (Juergen Pfundt)
    • Solved problem with graphterm and blankNode which implicitely referenced WS via lexical rules NIL and ANON. As WS sends its content to channel hidden this resulted in problems with WS before and after braces. (Juergen Pfundt)
    • Added a few test cases to the test suite referenced in W3C's SPARQL's specifications. Modified one test case to test "comments". Test cases still have to be enhanced! (Juergen Pfundt)
    • Replaced parser literals by lexer tokens as preparation for AST generation (Juergen Pfundt)
    • Added sparqlT.g as starting point for a tree grammar (Juergen Pfundt)
    • Adapted the build file to compile both grammars and to generate javadoc (Juergen Pfundt)
    • Modified build system in a smart way using Apache Ivy, svn Ant and ANTLR3 Ant Task (Simone Tripodi)
    • Replaced parser literal IRI_REF by lexer tokens as preparation for AST generation (Simone Tripodi)
    • The A token is case insensitive now as requested by the w3.org rdf-sparql-query document (Juergen Pfundt)
    • Added DAWG Testcases (Juergen Pfundt)

Bugs

Our workflow works using the provided Google Code's Issue Tracking, you can find it following this link.
Did you find a bug? Please report it!!!

Source Repository

Follow the Google-Code page

Get Involved

Comments? Suggestions? Any idea? Don't hesitate, write to us! This small team was born with the Open Source philosophy, so we need also your collaboration!

About

License

the SPARQL grammar is licensed under the ANTLR3 License [the BSD License]

Who we are

The folks, in alphabetical order:

  • Juergen Pfundt (juergen.pfundt)

    Juergen is working for a System Integrator which has a large emphasis in ICT.
    He wrote the ANTLR V3 task for Apache Ant

  • Michele Mostarda (michele.mostarda)

    Michele is working as Software Engineer at @semantics, the semantic web company.
    He worked on the first grammar's implementation.

  • Simone Tripodi (simone.tripodi)

    Simone is working as Software Engineer at @semantics, the semantic web company.
    He worked on the first grammar's implementation and is the project's maintainer.