LD Patch for RDF.rb
This gem implements the LD Patch specification with a couple of changes and/or limitations:
INDEXterminal was replaced by
INTEGER. Having two terminals matching the same token strings causes a conflict. As a result, a slice may contain positive integers, as well as unsigned and negative-integers.
The graph rule is changed to the following:
 graph ::= triples ('.' triples?)*
This is necessary as the specified production is not context-free. As a result, it is possible for a graph to contain multiple trailing "
LD Patch is useful inside a Rack container where it can respond to
POST messages to affect the modification of a target graph identified using the URL of the
- 100% free and unencumbered public domain software.
- Complete Linked Data Patch Format parsing and execution
- Implementation Report: EARL
- Compatible with Ruby >= 2.0.0.
Full documentation available on Rubydoc.info
The reader uses the EBNF gem to generate first, follow and branch tables, and uses the
Lexer modules to implement the LD Patch parser.
- Ruby (>= 2.0.0)
- RDF.rb (>= 1.1.15)
- EBNF (>= 0.3.0)
- SPARQL (>= 1.1.7)
- SXP (>= 0.1.5)
- RDF::XSD (>= 1.1.4)
This repository uses Git Flow to mange development and release activity. All submissions must be on a feature branch based on the develop branch to ease staging and integration.
- Do your best to adhere to the existing coding conventions and idioms.
- Don't use hard tabs, and don't leave trailing whitespace on any line.
- Do document every method you add using YARD annotations. Read the tutorial or just look at the existing code for examples.
- Don't touch the
AUTHORSfiles. If you need to change them, do so on your private branch only.
- Do feel free to add yourself to the
CREDITSfile and the corresponding list in the the
README. Alphabetical order applies.
- Do note that in order for us to merge any non-trivial changes (as a rule of thumb, additions larger than about 15 lines of code), we need an explicit public domain dedication on record from you.