You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Community contributions are essential for keeping Ruby RDF great. We want to kee
6
6
7
7
This repository uses [Git Flow](https://github.com/nvie/gitflow) to manage development and release activity. All submissions _must_ be on a feature branch based on the _develop_ branch to ease staging and integration.
8
8
9
-
* create or respond to an issue on the [Github Repository](http://github.com/ruby-rdf/rdf-trix/issues)
9
+
* create or respond to an issue on the [Github Repository](https://github.com/ruby-rdf/rdf-trix/issues)
This is a [Ruby][] implementation of a [TriX][] reader and writer for [RDF.rb][]. TriX is an XML-based RDF serialization format developed by HP Labs and Nokia.
13
12
14
-
Documentation
15
-
-------------
13
+
## Features
14
+
RDF::TriX parses [TriX][] into statements or quads. It also serializes to TriX.
15
+
16
+
Install with `gem install rdf-trix`
17
+
18
+
* 100% free and unencumbered [public domain](https://unlicense.org/) software.
19
+
* Implements a complete parser and serializer for [TriX][].
20
+
* Compatible with Ruby >= 2.4, and JRuby 1.7+.
21
+
22
+
### Support for xml:base
23
+
24
+
The TriX reader natively supports `xml:base` in the top-level element without the need for an XSLT. This allows values of a `uri` element to be relative URIs and resolved against that base. The base can also be specified as an option to the reader.
Both reader and writer include provisional support for [RDF-star][].
53
+
54
+
Internally, an `RDF::Statement` is treated as another resource, along with `RDF::URI` and `RDF::Node`, which allows an `RDF::Statement` to have a `#subject` or `#object` which is also an `RDF::Statement`.
55
+
56
+
RDF-star is supported by allowing a `triple` element to contain another `triple` as either or both the _subject_ or _object_.
57
+
58
+
Note that this requires the `rdfstar` option to be se.
59
+
60
+
**Note: This feature is subject to change or elimination as the standards process progresses.**
0 commit comments