Project

rdf-edtf

0.0
No commit activity in last 3 years
No release in over 3 years
Supports serializing and parsing EDTF (all levels) as typed literals in RDF.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

< 4.0, >= 2.2.0
< 3.0, >= 1.1
 Project Readme

RDF::EDTF

This is an RDF::Literal implementation around Extended Date Time Format.

The underlying EDTF parser and implementation is provided by edtf-ruby. The parser supports all EDTF features, with caveats noted below.

Usage

require 'rdf/edtf'

RDF::EDTF::Literal.new('1076?')
# or
RDF::Literal('1076?', datatype: RDF::EDTF::Literal::DATATYPE)

Contribution Guidelines

Please observe the following guidelines:

  • Write tests for your contributions.
  • Document methods you add using YARD annotations.
  • Follow the included style guidelines (i.e. run rubocop before committing).
  • Use well formed commit messages.

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.

License

This is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying {file:UNLICENSE} file.