rdf-n3 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +0 -1
- data/History.md +6 -1
- data/README.md +15 -1
- data/Rakefile +1 -28
- data/VERSION +1 -1
- data/lib/rdf/n3/format.rb +6 -2
- data/lib/rdf/n3/reader/bnf-rules.n3 +134 -0
- data/lib/rdf/n3/reader/n3-selectors.n3 +0 -0
- data/lib/rdf/n3/reader/n3.n3 +261 -0
- data/lib/rdf/n3/reader/parser.rb +1 -1
- data/rdf-n3.gemspec +411 -603
- data/script/build_meta +20 -13
- data/script/parse +2 -2
- data/script/yard-to-rubyforge +2 -0
- data/spec/.gitignore +1 -0
- data/spec/cwm_spec.rb +8 -13
- data/spec/cwm_test.rb +76 -0
- data/spec/format_spec.rb +4 -0
- data/spec/spec_helper.rb +6 -0
- data/spec/swap_spec.rb +35 -31
- data/spec/swap_test.rb +79 -0
- data/spec/turtle_spec.rb +13 -19
- data/spec/turtle_test.rb +98 -0
- data/spec/writer_spec.rb +7 -10
- metadata +38 -228
- data/.gitignore +0 -5
- data/spec/rdf_helper.rb +0 -226
- data/spec/swap_test/animal.rdf +0 -17
- data/spec/swap_test/anon-prop.n3 +0 -14
- data/spec/swap_test/anonymous_loop.n3 +0 -2
- data/spec/swap_test/contexts.n3 +0 -16
- data/spec/swap_test/daml-pref.n3 +0 -10
- data/spec/swap_test/i18n/hiragana.n3 +0 -22
- data/spec/swap_test/i18n/n3string.n3 +0 -4
- data/spec/swap_test/list/itemType.rdf +0 -12
- data/spec/swap_test/lists-simple.n3 +0 -40
- data/spec/swap_test/lists.n3 +0 -35
- data/spec/swap_test/n3/n3parser.tests_n3_10001.nt +0 -3
- data/spec/swap_test/n3/n3parser.tests_n3_10002.nt +0 -7
- data/spec/swap_test/n3/n3parser.tests_n3_10003.nt +0 -3
- data/spec/swap_test/n3/n3parser.tests_n3_10004.nt +0 -119
- data/spec/swap_test/n3/n3parser.tests_n3_10005.nt +0 -3
- data/spec/swap_test/n3/n3parser.tests_n3_10006.nt +0 -225
- data/spec/swap_test/n3/n3parser.tests_n3_10007.nt +0 -79
- data/spec/swap_test/n3/n3parser.tests_n3_10008.nt +0 -5
- data/spec/swap_test/n3/n3parser.tests_n3_10009.nt +0 -13
- data/spec/swap_test/n3/n3parser.tests_n3_10010.nt +0 -21
- data/spec/swap_test/n3/n3parser.tests_n3_10011.nt +0 -9
- data/spec/swap_test/n3/n3parser.tests_n3_10012.nt +0 -53
- data/spec/swap_test/n3/n3parser.tests_n3_10013.nt +0 -19
- data/spec/swap_test/n3/n3parser.tests_n3_10014.nt +0 -103
- data/spec/swap_test/n3/n3parser.tests_n3_10015.nt +0 -103
- data/spec/swap_test/n3/n3parser.tests_n3_10016.nt +0 -3
- data/spec/swap_test/n3/n3parser.tests_n3_10017.nt +0 -151
- data/spec/swap_test/n3/n3parser.tests_n3_10018.nt +0 -9
- data/spec/swap_test/n3/n3parser.tests_n3_10019.nt +0 -3
- data/spec/swap_test/n3/n3parser.tests_n3_10020.nt +0 -13
- data/spec/swap_test/n3parser.tests +0 -160
- data/spec/swap_test/n3parser.yml +0 -174
- data/spec/swap_test/nodeID/classes.n3 +0 -9
- data/spec/swap_test/nodeID/classes.ref.rdf +0 -15
- data/spec/swap_test/nodeID/ex1.rdf +0 -15
- data/spec/swap_test/norm/fix.rdf +0 -33
- data/spec/swap_test/owl-ex.rdf +0 -150
- data/spec/swap_test/ref/animal.n3 +0 -11
- data/spec/swap_test/ref/anon-prop-1.n3 +0 -8
- data/spec/swap_test/ref/anonymous_loop.ref +0 -7
- data/spec/swap_test/ref/bnode.n3 +0 -6
- data/spec/swap_test/ref/bnode.rdf +0 -16
- data/spec/swap_test/ref/colon-in-uri.n3 +0 -15
- data/spec/swap_test/ref/contexts-1.n3 +0 -12
- data/spec/swap_test/ref/daml-ex.n3 +0 -103
- data/spec/swap_test/ref/daml-ont.n3 +0 -289
- data/spec/swap_test/ref/djb1a-out.n3 +0 -4
- data/spec/swap_test/ref/dot-dash.n3 +0 -8
- data/spec/swap_test/ref/in-xml-t.n3 +0 -4
- data/spec/swap_test/ref/itemType.n3 +0 -9
- data/spec/swap_test/ref/keywords1.n3 +0 -11
- data/spec/swap_test/ref/keywords2.n3 +0 -11
- data/spec/swap_test/ref/lists-simple-1.rdf +0 -108
- data/spec/swap_test/ref/lists.n3 +0 -43
- data/spec/swap_test/ref/lstring-out.n3 +0 -20
- data/spec/swap_test/ref/n3string.n3 +0 -13
- data/spec/swap_test/ref/no-last-nl.n3 +0 -3
- data/spec/swap_test/ref/numbers.n3 +0 -18
- data/spec/swap_test/ref/path1.n3 +0 -8
- data/spec/swap_test/ref/path2.n3 +0 -39
- data/spec/swap_test/ref/prefix1.rdf +0 -31
- data/spec/swap_test/ref/prefix2.rdf +0 -33
- data/spec/swap_test/ref/prefix3.rdf +0 -31
- data/spec/swap_test/ref/rdf-redefine.rdf +0 -11
- data/spec/swap_test/ref/reluri-1.rdf +0 -18
- data/spec/swap_test/ref/strquot.n3 +0 -22
- data/spec/swap_test/ref/strquot_a.n3 +0 -23
- data/spec/swap_test/ref/xml-base3.n3 +0 -5
- data/spec/swap_test/ref/xml-redefine.rdf +0 -20
- data/spec/swap_test/ref/xml-redefine2.rdf +0 -23
- data/spec/swap_test/ref/xml-syntax-basic-serialization.rdf +0 -10
- data/spec/swap_test/ref/xmllit.nt +0 -3
- data/spec/swap_test/regression.n3 +0 -231
- data/spec/swap_test/regression.yml +0 -256
- data/spec/swap_test/reluri-1.n3 +0 -10
- data/spec/swap_test/strquot.n3 +0 -23
- data/spec/swap_test/syntax/colon-in-uri.rdf +0 -27
- data/spec/swap_test/syntax/djb1a.n3 +0 -3
- data/spec/swap_test/syntax/dot-dash.n3 +0 -15
- data/spec/swap_test/syntax/equals1.n3 +0 -1
- data/spec/swap_test/syntax/equals2.n3 +0 -1
- data/spec/swap_test/syntax/keywords1.n3 +0 -17
- data/spec/swap_test/syntax/keywords2.n3 +0 -18
- data/spec/swap_test/syntax/lstring.n3 +0 -26
- data/spec/swap_test/syntax/neg-formula-predicate.n3 +0 -1
- data/spec/swap_test/syntax/neg-keywords3.n3 +0 -1
- data/spec/swap_test/syntax/neg-literal-predicate.n3 +0 -1
- data/spec/swap_test/syntax/neg-single-quote.n3 +0 -1
- data/spec/swap_test/syntax/neg-thisadoc.n3 +0 -1
- data/spec/swap_test/syntax/no-last-nl.n3 +0 -2
- data/spec/swap_test/syntax/numbers.n3 +0 -26
- data/spec/swap_test/syntax/path1.n3 +0 -23
- data/spec/swap_test/syntax/path2.n3 +0 -31
- data/spec/swap_test/syntax/qvars1.n3 +0 -19
- data/spec/swap_test/syntax/qvars2.n3 +0 -19
- data/spec/swap_test/syntax/this-quantifiers.n3 +0 -164
- data/spec/swap_test/syntax/this-rules.n3 +0 -43
- data/spec/swap_test/syntax/too-nested.n3 +0 -25
- data/spec/swap_test/syntax/trailing-semicolon.n3 +0 -12
- data/spec/swap_test/syntax/zero-objects.n3 +0 -1
- data/spec/swap_test/syntax/zero-predicates.n3 +0 -3
- data/spec/swap_test/tests-work.txt +0 -25
- data/spec/swap_test/xml-syntax/basic-serialization.n3 +0 -8
- data/spec/swap_test/xml-syntax/in-xml.xml +0 -13
- data/spec/swap_test/xml-syntax/non-ascii-pred.rdf +0 -14
- data/spec/swap_test/xml-syntax/rdf_prefix.n3 +0 -2
- data/spec/swap_test/xml-syntax/xml_prefix.n3 +0 -7
- data/spec/swap_test/xml-syntax/xml_prefix2.n3 +0 -9
- data/spec/swap_test/xml-syntax/xmlbase3.rdf +0 -10
- data/spec/swap_test/xml-syntax/xmllit.rdf +0 -33
- data/spec/turtle/README.txt +0 -20
- data/spec/turtle/bad-00.ttl +0 -2
- data/spec/turtle/bad-01.ttl +0 -3
- data/spec/turtle/bad-02.ttl +0 -3
- data/spec/turtle/bad-03.ttl +0 -3
- data/spec/turtle/bad-04.ttl +0 -3
- data/spec/turtle/bad-05.ttl +0 -4
- data/spec/turtle/bad-06.ttl +0 -3
- data/spec/turtle/bad-07.ttl +0 -4
- data/spec/turtle/bad-08.ttl +0 -2
- data/spec/turtle/bad-09.ttl +0 -3
- data/spec/turtle/bad-10.ttl +0 -3
- data/spec/turtle/bad-11.ttl +0 -3
- data/spec/turtle/bad-12.ttl +0 -3
- data/spec/turtle/bad-13.ttl +0 -3
- data/spec/turtle/bad-14.ttl +0 -6
- data/spec/turtle/manifest-bad.ttl +0 -88
- data/spec/turtle/manifest-bad.yml +0 -91
- data/spec/turtle/manifest.ttl +0 -215
- data/spec/turtle/manifest.yml +0 -187
- data/spec/turtle/rdf-schema.out +0 -126
- data/spec/turtle/rdf-schema.ttl +0 -156
- data/spec/turtle/rdfq-results.out +0 -36
- data/spec/turtle/rdfq-results.ttl +0 -39
- data/spec/turtle/rdfs-namespace.out +0 -131
- data/spec/turtle/rdfs-namespace.ttl +0 -160
- data/spec/turtle/test-00.out +0 -1
- data/spec/turtle/test-00.ttl +0 -2
- data/spec/turtle/test-01.out +0 -3
- data/spec/turtle/test-01.ttl +0 -7
- data/spec/turtle/test-02.out +0 -3
- data/spec/turtle/test-02.ttl +0 -5
- data/spec/turtle/test-03.out +0 -3
- data/spec/turtle/test-03.ttl +0 -5
- data/spec/turtle/test-04.out +0 -2
- data/spec/turtle/test-04.ttl +0 -4
- data/spec/turtle/test-05.out +0 -4
- data/spec/turtle/test-05.ttl +0 -4
- data/spec/turtle/test-06.out +0 -1
- data/spec/turtle/test-06.ttl +0 -3
- data/spec/turtle/test-07.out +0 -5
- data/spec/turtle/test-07.ttl +0 -3
- data/spec/turtle/test-08.out +0 -1
- data/spec/turtle/test-08.ttl +0 -3
- data/spec/turtle/test-09.out +0 -4
- data/spec/turtle/test-09.ttl +0 -10
- data/spec/turtle/test-10.out +0 -5
- data/spec/turtle/test-10.ttl +0 -5
- data/spec/turtle/test-11.out +0 -4
- data/spec/turtle/test-11.ttl +0 -10
- data/spec/turtle/test-12.out +0 -4
- data/spec/turtle/test-12.ttl +0 -9
- data/spec/turtle/test-13.out +0 -2
- data/spec/turtle/test-13.ttl +0 -7
- data/spec/turtle/test-14.out +0 -10000
- data/spec/turtle/test-14.ttl +0 -10002
- data/spec/turtle/test-15.out +0 -10000
- data/spec/turtle/test-15.ttl +0 -3
- data/spec/turtle/test-16.out +0 -10000
- data/spec/turtle/test-16.ttl +0 -10002
- data/spec/turtle/test-17.out +0 -1
- data/spec/turtle/test-17.ttl +0 -6
- data/spec/turtle/test-18.out +0 -2
- data/spec/turtle/test-18.ttl +0 -9
- data/spec/turtle/test-19.out +0 -1
- data/spec/turtle/test-19.ttl +0 -4
- data/spec/turtle/test-20.out +0 -2
- data/spec/turtle/test-20.ttl +0 -6
- data/spec/turtle/test-21.out +0 -3
- data/spec/turtle/test-21.ttl +0 -4
- data/spec/turtle/test-22.out +0 -3
- data/spec/turtle/test-22.ttl +0 -4
- data/spec/turtle/test-23.out +0 -1
- data/spec/turtle/test-23.ttl +0 -3
- data/spec/turtle/test-24.out +0 -2
- data/spec/turtle/test-24.ttl +0 -3
- data/spec/turtle/test-25.out +0 -7
- data/spec/turtle/test-25.ttl +0 -14
- data/spec/turtle/test-26.out +0 -1
- data/spec/turtle/test-26.ttl +0 -4
- data/spec/turtle/test-27.out +0 -1
- data/spec/turtle/test-27.ttl +0 -5
- data/spec/turtle/test-28-out.ttl +0 -6
- data/spec/turtle/test-28.out +0 -22
- data/spec/turtle/test-28.ttl +0 -22
- data/spec/turtle/test-29.out +0 -1
- data/spec/turtle/test-29.ttl +0 -1
- data/spec/turtle/test-30.out +0 -5
- data/spec/turtle/test-30.ttl +0 -12
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.