rdf-n3 0.3.1.3 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +2 -2
- data/History.md +12 -0
- data/README +153 -0
- data/README.md +26 -3
- data/Rakefile +6 -8
- data/VERSION +1 -1
- data/example-files/arnau-stack-overflow.ttl +12 -0
- data/example-files/dwbutler-mj.n3 +10 -0
- data/example-files/dwbutler-mj.ttl +8 -0
- data/example-files/lee-reilly-list.rb +40 -0
- data/lib/rdf/n3/reader.rb +8 -2
- data/lib/rdf/n3/reader/meta.rb +1 -1
- data/lib/rdf/n3/reader/parser.rb +18 -11
- data/lib/rdf/n3/writer.rb +54 -30
- data/rdf-n3.gemspec +18 -365
- data/script/parse +18 -12
- data/spec/reader_spec.rb +30 -29
- data/spec/spec_helper.rb +1 -1
- data/spec/writer_spec.rb +16 -0
- metadata +12 -359
- data/spec/rdfcore/Manifest.rdf +0 -5395
- data/spec/rdfcore/amp-in-url/test001.nt +0 -16
- data/spec/rdfcore/amp-in-url/test001.rdf +0 -40
- data/spec/rdfcore/datatypes-intensional/test001.nt +0 -18
- data/spec/rdfcore/datatypes-intensional/test002.nt +0 -18
- data/spec/rdfcore/datatypes/test001.nt +0 -15
- data/spec/rdfcore/datatypes/test001.rdf +0 -29
- data/spec/rdfcore/datatypes/test002.nt +0 -14
- data/spec/rdfcore/datatypes/test002.rdf +0 -27
- data/spec/rdfcore/datatypes/test002b.nt +0 -17
- data/spec/rdfcore/datatypes/test003a.nt +0 -16
- data/spec/rdfcore/datatypes/test003b.nt +0 -16
- data/spec/rdfcore/datatypes/test005a.nt +0 -16
- data/spec/rdfcore/datatypes/test005b.nt +0 -16
- data/spec/rdfcore/datatypes/test006.nt +0 -17
- data/spec/rdfcore/datatypes/test008a.nt +0 -15
- data/spec/rdfcore/datatypes/test008b.nt +0 -15
- data/spec/rdfcore/datatypes/test009a.nt +0 -15
- data/spec/rdfcore/datatypes/test009b.nt +0 -15
- data/spec/rdfcore/datatypes/test010.nt +0 -17
- data/spec/rdfcore/datatypes/test011a.nt +0 -17
- data/spec/rdfcore/datatypes/test011b.nt +0 -17
- data/spec/rdfcore/horst-01/test001.rdf +0 -38
- data/spec/rdfcore/horst-01/test002.rdf +0 -39
- data/spec/rdfcore/horst-01/test003.rdf +0 -40
- data/spec/rdfcore/horst-01/test004.rdf +0 -42
- data/spec/rdfcore/pfps-10/test001a.nt +0 -14
- data/spec/rdfcore/pfps-10/test001b.nt +0 -15
- data/spec/rdfcore/rdf-charmod-literals/test001.nt +0 -15
- data/spec/rdfcore/rdf-charmod-literals/test001.rdf +0 -34
- data/spec/rdfcore/rdf-charmod-uris/test001.nt +0 -14
- data/spec/rdfcore/rdf-charmod-uris/test001.rdf +0 -34
- data/spec/rdfcore/rdf-charmod-uris/test002.nt +0 -15
- data/spec/rdfcore/rdf-charmod-uris/test002.rdf +0 -33
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/error001.rdf +0 -27
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/error002.rdf +0 -34
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test001.nt +0 -17
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test001.rdf +0 -27
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test002.nt +0 -19
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test002.rdf +0 -37
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test003.nt +0 -18
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test003.rdf +0 -29
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test004.nt +0 -29
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf +0 -33
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test006.nt +0 -40
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test006.rdf +0 -28
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test007.nt +0 -20
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test007.rdf +0 -32
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test008.nt +0 -15
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test008.rdf +0 -28
- data/spec/rdfcore/rdf-element-not-mandatory/test001.nt +0 -10
- data/spec/rdfcore/rdf-element-not-mandatory/test001.rdf +0 -14
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0001.nt +0 -14
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0001.rdf +0 -35
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0003.nt +0 -14
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0003.rdf +0 -35
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0004.nt +0 -14
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0004.rdf +0 -34
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0005.nt +0 -15
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0005.rdf +0 -40
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0006.nt +0 -14
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0006.rdf +0 -32
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0009.nt +0 -14
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0009.rdf +0 -32
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0010.nt +0 -14
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0010.rdf +0 -38
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0011.nt +0 -15
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0011.rdf +0 -40
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0012.nt +0 -15
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0012.rdf +0 -40
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0013.nt +0 -15
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0013.rdf +0 -40
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0014.nt +0 -15
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0014.rdf +0 -42
- data/spec/rdfcore/rdfms-abouteach/error001.rdf +0 -35
- data/spec/rdfcore/rdfms-abouteach/error002.rdf +0 -35
- data/spec/rdfcore/rdfms-difference-between-ID-and-about/error1.rdf +0 -25
- data/spec/rdfcore/rdfms-difference-between-ID-and-about/test1.nt +0 -14
- data/spec/rdfcore/rdfms-difference-between-ID-and-about/test1.rdf +0 -22
- data/spec/rdfcore/rdfms-difference-between-ID-and-about/test2.nt +0 -14
- data/spec/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf +0 -22
- data/spec/rdfcore/rdfms-difference-between-ID-and-about/test3.nt +0 -14
- data/spec/rdfcore/rdfms-difference-between-ID-and-about/test3.rdf +0 -22
- data/spec/rdfcore/rdfms-duplicate-member-props/test001.nt +0 -17
- data/spec/rdfcore/rdfms-duplicate-member-props/test001.rdf +0 -30
- data/spec/rdfcore/rdfms-empty-property-elements/error001.rdf +0 -33
- data/spec/rdfcore/rdfms-empty-property-elements/error002.rdf +0 -33
- data/spec/rdfcore/rdfms-empty-property-elements/error003.rdf +0 -39
- data/spec/rdfcore/rdfms-empty-property-elements/test001.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test001.rdf +0 -33
- data/spec/rdfcore/rdfms-empty-property-elements/test002.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test002.rdf +0 -31
- data/spec/rdfcore/rdfms-empty-property-elements/test003.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test003.rdf +0 -32
- data/spec/rdfcore/rdfms-empty-property-elements/test004.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test004.rdf +0 -32
- data/spec/rdfcore/rdfms-empty-property-elements/test005.nt +0 -18
- data/spec/rdfcore/rdfms-empty-property-elements/test005.rdf +0 -32
- data/spec/rdfcore/rdfms-empty-property-elements/test006.nt +0 -18
- data/spec/rdfcore/rdfms-empty-property-elements/test006.rdf +0 -32
- data/spec/rdfcore/rdfms-empty-property-elements/test007.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test007.rdf +0 -32
- data/spec/rdfcore/rdfms-empty-property-elements/test008.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test008.rdf +0 -31
- data/spec/rdfcore/rdfms-empty-property-elements/test009.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test009.rdf +0 -32
- data/spec/rdfcore/rdfms-empty-property-elements/test010.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test010.rdf +0 -31
- data/spec/rdfcore/rdfms-empty-property-elements/test011.nt +0 -18
- data/spec/rdfcore/rdfms-empty-property-elements/test011.rdf +0 -30
- data/spec/rdfcore/rdfms-empty-property-elements/test012.nt +0 -18
- data/spec/rdfcore/rdfms-empty-property-elements/test012.rdf +0 -30
- data/spec/rdfcore/rdfms-empty-property-elements/test013.nt +0 -15
- data/spec/rdfcore/rdfms-empty-property-elements/test013.rdf +0 -35
- data/spec/rdfcore/rdfms-empty-property-elements/test014.nt +0 -15
- data/spec/rdfcore/rdfms-empty-property-elements/test014.rdf +0 -34
- data/spec/rdfcore/rdfms-empty-property-elements/test015.nt +0 -15
- data/spec/rdfcore/rdfms-empty-property-elements/test015.rdf +0 -38
- data/spec/rdfcore/rdfms-empty-property-elements/test016.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test016.rdf +0 -31
- data/spec/rdfcore/rdfms-empty-property-elements/test017.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test017.rdf +0 -38
- data/spec/rdfcore/rdfms-identity-anon-resources/test001.nt +0 -14
- data/spec/rdfcore/rdfms-identity-anon-resources/test001.rdf +0 -33
- data/spec/rdfcore/rdfms-identity-anon-resources/test002.nt +0 -15
- data/spec/rdfcore/rdfms-identity-anon-resources/test002.rdf +0 -33
- data/spec/rdfcore/rdfms-identity-anon-resources/test003.nt +0 -14
- data/spec/rdfcore/rdfms-identity-anon-resources/test003.rdf +0 -31
- data/spec/rdfcore/rdfms-identity-anon-resources/test004.nt +0 -15
- data/spec/rdfcore/rdfms-identity-anon-resources/test004.rdf +0 -33
- data/spec/rdfcore/rdfms-identity-anon-resources/test005.nt +0 -14
- data/spec/rdfcore/rdfms-identity-anon-resources/test005.rdf +0 -31
- data/spec/rdfcore/rdfms-not-id-and-resource-attr/test001.nt +0 -19
- data/spec/rdfcore/rdfms-not-id-and-resource-attr/test001.rdf +0 -29
- data/spec/rdfcore/rdfms-not-id-and-resource-attr/test002.nt +0 -15
- data/spec/rdfcore/rdfms-not-id-and-resource-attr/test002.rdf +0 -29
- data/spec/rdfcore/rdfms-not-id-and-resource-attr/test004.nt +0 -18
- data/spec/rdfcore/rdfms-not-id-and-resource-attr/test004.rdf +0 -29
- data/spec/rdfcore/rdfms-not-id-and-resource-attr/test005.nt +0 -19
- data/spec/rdfcore/rdfms-not-id-and-resource-attr/test005.rdf +0 -29
- data/spec/rdfcore/rdfms-para196/test001.nt +0 -17
- data/spec/rdfcore/rdfms-para196/test001.rdf +0 -35
- data/spec/rdfcore/rdfms-rdf-id/error001.rdf +0 -26
- data/spec/rdfcore/rdfms-rdf-id/error002.rdf +0 -26
- data/spec/rdfcore/rdfms-rdf-id/error003.rdf +0 -29
- data/spec/rdfcore/rdfms-rdf-id/error004.rdf +0 -27
- data/spec/rdfcore/rdfms-rdf-id/error005.rdf +0 -31
- data/spec/rdfcore/rdfms-rdf-id/error006.rdf +0 -26
- data/spec/rdfcore/rdfms-rdf-id/error007.rdf +0 -29
- data/spec/rdfcore/rdfms-rdf-names-use/error-001.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-002.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-003.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-004.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-005.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-006.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-007.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-008.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-009.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-010.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-011.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-012.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-013.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-014.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-015.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-016.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-017.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-018.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-019.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-020.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-001.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-001.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-002.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-002.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-003.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-003.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-004.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-004.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-005.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-005.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-006.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-006.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-007.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-007.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-008.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-008.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-009.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-009.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-010.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-010.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-011.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-011.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-012.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-012.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-013.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-013.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-014.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-014.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-015.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-015.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-016.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-016.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-017.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-017.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-018.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-018.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-019.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-019.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-020.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-020.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-021.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-021.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-022.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-022.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-023.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-023.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-024.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-024.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-025.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-025.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-026.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-026.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-027.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-027.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-028.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-028.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-029.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-029.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-030.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-030.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-031.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-031.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-032.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-032.rdf +0 -24
- data/spec/rdfcore/rdfms-rdf-names-use/test-033.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-033.rdf +0 -24
- data/spec/rdfcore/rdfms-rdf-names-use/test-034.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-034.rdf +0 -24
- data/spec/rdfcore/rdfms-rdf-names-use/test-035.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-035.rdf +0 -24
- data/spec/rdfcore/rdfms-rdf-names-use/test-036.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-036.rdf +0 -24
- data/spec/rdfcore/rdfms-rdf-names-use/test-037.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-037.rdf +0 -24
- data/spec/rdfcore/rdfms-rdf-names-use/warn-001.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/warn-001.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/warn-002.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/warn-002.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/warn-003.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/warn-003.rdf +0 -24
- data/spec/rdfcore/rdfms-reification-required/test001.nt +0 -15
- data/spec/rdfcore/rdfms-reification-required/test001.rdf +0 -29
- data/spec/rdfcore/rdfms-seq-representation/empty.nt +0 -13
- data/spec/rdfcore/rdfms-seq-representation/test001.nt +0 -19
- data/spec/rdfcore/rdfms-seq-representation/test001.rdf +0 -33
- data/spec/rdfcore/rdfms-seq-representation/test002.nt +0 -14
- data/spec/rdfcore/rdfms-seq-representation/test003a.nt +0 -14
- data/spec/rdfcore/rdfms-seq-representation/test003b.nt +0 -14
- data/spec/rdfcore/rdfms-seq-representation/test004.nt +0 -14
- data/spec/rdfcore/rdfms-syntax-incomplete/error001.rdf +0 -26
- data/spec/rdfcore/rdfms-syntax-incomplete/error002.rdf +0 -26
- data/spec/rdfcore/rdfms-syntax-incomplete/error003.rdf +0 -29
- data/spec/rdfcore/rdfms-syntax-incomplete/error004.rdf +0 -25
- data/spec/rdfcore/rdfms-syntax-incomplete/error005.rdf +0 -25
- data/spec/rdfcore/rdfms-syntax-incomplete/error006.rdf +0 -28
- data/spec/rdfcore/rdfms-syntax-incomplete/test001.nt +0 -14
- data/spec/rdfcore/rdfms-syntax-incomplete/test001.rdf +0 -28
- data/spec/rdfcore/rdfms-syntax-incomplete/test002.nt +0 -19
- data/spec/rdfcore/rdfms-syntax-incomplete/test002.rdf +0 -38
- data/spec/rdfcore/rdfms-syntax-incomplete/test003.nt +0 -17
- data/spec/rdfcore/rdfms-syntax-incomplete/test003.rdf +0 -28
- data/spec/rdfcore/rdfms-syntax-incomplete/test004.nt +0 -21
- data/spec/rdfcore/rdfms-syntax-incomplete/test004.rdf +0 -36
- data/spec/rdfcore/rdfms-uri-substructure/error001.nt +0 -18
- data/spec/rdfcore/rdfms-uri-substructure/test001.nt +0 -17
- data/spec/rdfcore/rdfms-uri-substructure/test001.rdf +0 -29
- data/spec/rdfcore/rdfms-xml-literal-namespaces/test001.nt +0 -13
- data/spec/rdfcore/rdfms-xml-literal-namespaces/test001.rdf +0 -33
- data/spec/rdfcore/rdfms-xml-literal-namespaces/test002.nt +0 -14
- data/spec/rdfcore/rdfms-xml-literal-namespaces/test002.rdf +0 -47
- data/spec/rdfcore/rdfms-xmllang/test001.nt +0 -14
- data/spec/rdfcore/rdfms-xmllang/test001.rdf +0 -30
- data/spec/rdfcore/rdfms-xmllang/test002.nt +0 -14
- data/spec/rdfcore/rdfms-xmllang/test002.rdf +0 -29
- data/spec/rdfcore/rdfms-xmllang/test003.nt +0 -14
- data/spec/rdfcore/rdfms-xmllang/test003.rdf +0 -28
- data/spec/rdfcore/rdfms-xmllang/test004.nt +0 -14
- data/spec/rdfcore/rdfms-xmllang/test004.rdf +0 -28
- data/spec/rdfcore/rdfms-xmllang/test005.nt +0 -14
- data/spec/rdfcore/rdfms-xmllang/test005.rdf +0 -28
- data/spec/rdfcore/rdfms-xmllang/test006.nt +0 -14
- data/spec/rdfcore/rdfms-xmllang/test006.rdf +0 -29
- data/spec/rdfcore/rdfms-xmllang/test007a.nt +0 -14
- data/spec/rdfcore/rdfms-xmllang/test007b.nt +0 -14
- data/spec/rdfcore/rdfms-xmllang/test007c.nt +0 -14
- data/spec/rdfcore/rdfs-container-membership-superProperty/not1C.rdf +0 -13
- data/spec/rdfcore/rdfs-container-membership-superProperty/not1P.rdf +0 -14
- data/spec/rdfcore/rdfs-domain-and-range/nonconclusions005.rdf +0 -28
- data/spec/rdfcore/rdfs-domain-and-range/nonconclusions006.rdf +0 -28
- data/spec/rdfcore/rdfs-domain-and-range/premises005.rdf +0 -32
- data/spec/rdfcore/rdfs-domain-and-range/premises006.rdf +0 -32
- data/spec/rdfcore/rdfs-domain-and-range/test001.nt +0 -16
- data/spec/rdfcore/rdfs-domain-and-range/test001.rdf +0 -29
- data/spec/rdfcore/rdfs-domain-and-range/test002.nt +0 -16
- data/spec/rdfcore/rdfs-domain-and-range/test002.rdf +0 -29
- data/spec/rdfcore/rdfs-entailment/test001.nt +0 -16
- data/spec/rdfcore/rdfs-entailment/test002.nt +0 -15
- data/spec/rdfcore/rdfs-no-cycles-in-subClassOf/test001.nt +0 -18
- data/spec/rdfcore/rdfs-no-cycles-in-subClassOf/test001.rdf +0 -37
- data/spec/rdfcore/rdfs-no-cycles-in-subPropertyOf/test001.nt +0 -18
- data/spec/rdfcore/rdfs-no-cycles-in-subPropertyOf/test001.rdf +0 -40
- data/spec/rdfcore/rdfs-subClassOf-a-Property/test001.nt +0 -15
- data/spec/rdfcore/rdfs-subPropertyOf-semantics/test001.nt +0 -24
- data/spec/rdfcore/rdfs-subPropertyOf-semantics/test002.nt +0 -21
- data/spec/rdfcore/statement-entailment/test001a.nt +0 -12
- data/spec/rdfcore/statement-entailment/test001b.nt +0 -2
- data/spec/rdfcore/statement-entailment/test002a.nt +0 -2
- data/spec/rdfcore/statement-entailment/test002b.nt +0 -5
- data/spec/rdfcore/tex-01/test001.rdf +0 -34
- data/spec/rdfcore/tex-01/test002.rdf +0 -33
- data/spec/rdfcore/unrecognised-xml-attributes/test001.nt +0 -15
- data/spec/rdfcore/unrecognised-xml-attributes/test001.rdf +0 -31
- data/spec/rdfcore/unrecognised-xml-attributes/test002.nt +0 -14
- data/spec/rdfcore/unrecognised-xml-attributes/test002.rdf +0 -32
- data/spec/rdfcore/xml-canon/test001.nt +0 -16
- data/spec/rdfcore/xml-canon/test001.rdf +0 -28
- data/spec/rdfcore/xmlbase/test001.nt +0 -14
- data/spec/rdfcore/xmlbase/test001.rdf +0 -27
- data/spec/rdfcore/xmlbase/test002.nt +0 -14
- data/spec/rdfcore/xmlbase/test002.rdf +0 -28
- data/spec/rdfcore/xmlbase/test003.nt +0 -14
- data/spec/rdfcore/xmlbase/test003.rdf +0 -25
- data/spec/rdfcore/xmlbase/test004.nt +0 -18
- data/spec/rdfcore/xmlbase/test004.rdf +0 -27
- data/spec/rdfcore/xmlbase/test006.nt +0 -15
- data/spec/rdfcore/xmlbase/test006.rdf +0 -26
- data/spec/rdfcore/xmlbase/test007.nt +0 -14
- data/spec/rdfcore/xmlbase/test007.rdf +0 -25
- data/spec/rdfcore/xmlbase/test008.nt +0 -14
- data/spec/rdfcore/xmlbase/test008.rdf +0 -25
- data/spec/rdfcore/xmlbase/test009.nt +0 -14
- data/spec/rdfcore/xmlbase/test009.rdf +0 -26
- data/spec/rdfcore/xmlbase/test010.nt +0 -14
- data/spec/rdfcore/xmlbase/test010.rdf +0 -26
- data/spec/rdfcore/xmlbase/test011.nt +0 -14
- data/spec/rdfcore/xmlbase/test011.rdf +0 -27
- data/spec/rdfcore/xmlbase/test013.nt +0 -15
- data/spec/rdfcore/xmlbase/test013.rdf +0 -28
- data/spec/rdfcore/xmlbase/test014.nt +0 -15
- data/spec/rdfcore/xmlbase/test014.rdf +0 -28
- data/spec/rdfcore/xmlsch-02/test001.rdf +0 -34
- data/spec/rdfcore/xmlsch-02/test002.rdf +0 -34
- data/spec/rdfcore/xmlsch-02/test003.rdf +0 -37
data/rdf-n3.gemspec
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rdf-n3}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Gregg Kellogg"]
|
12
|
-
s.date = %q{2011-04-
|
13
|
-
s.description = %q{RDF::N3 is an Notation-3
|
12
|
+
s.date = %q{2011-04-25}
|
13
|
+
s.description = %q{RDF::N3 is an Notation-3 and Turtle reader/writer for the RDF.rb library suite.}
|
14
14
|
s.email = %q{gregg@kellogg-assoc.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"AUTHORS",
|
@@ -23,11 +23,16 @@ Gem::Specification.new do |s|
|
|
23
23
|
".yardopts",
|
24
24
|
"AUTHORS",
|
25
25
|
"History.md",
|
26
|
+
"README",
|
26
27
|
"README.md",
|
27
28
|
"Rakefile",
|
28
29
|
"UNLICENSE",
|
29
30
|
"VERSION",
|
30
31
|
"example-files/arnau-registered-vocab.rb",
|
32
|
+
"example-files/arnau-stack-overflow.ttl",
|
33
|
+
"example-files/dwbutler-mj.n3",
|
34
|
+
"example-files/dwbutler-mj.ttl",
|
35
|
+
"example-files/lee-reilly-list.rb",
|
31
36
|
"example-files/sp2b.n3",
|
32
37
|
"example.rb",
|
33
38
|
"lib/rdf/n3.rb",
|
@@ -54,358 +59,6 @@ Gem::Specification.new do |s|
|
|
54
59
|
"spec/cwm_test.rb",
|
55
60
|
"spec/format_spec.rb",
|
56
61
|
"spec/matchers.rb",
|
57
|
-
"spec/rdfcore/Manifest.rdf",
|
58
|
-
"spec/rdfcore/amp-in-url/test001.nt",
|
59
|
-
"spec/rdfcore/amp-in-url/test001.rdf",
|
60
|
-
"spec/rdfcore/datatypes-intensional/test001.nt",
|
61
|
-
"spec/rdfcore/datatypes-intensional/test002.nt",
|
62
|
-
"spec/rdfcore/datatypes/test001.nt",
|
63
|
-
"spec/rdfcore/datatypes/test001.rdf",
|
64
|
-
"spec/rdfcore/datatypes/test002.nt",
|
65
|
-
"spec/rdfcore/datatypes/test002.rdf",
|
66
|
-
"spec/rdfcore/datatypes/test002b.nt",
|
67
|
-
"spec/rdfcore/datatypes/test003a.nt",
|
68
|
-
"spec/rdfcore/datatypes/test003b.nt",
|
69
|
-
"spec/rdfcore/datatypes/test005a.nt",
|
70
|
-
"spec/rdfcore/datatypes/test005b.nt",
|
71
|
-
"spec/rdfcore/datatypes/test006.nt",
|
72
|
-
"spec/rdfcore/datatypes/test008a.nt",
|
73
|
-
"spec/rdfcore/datatypes/test008b.nt",
|
74
|
-
"spec/rdfcore/datatypes/test009a.nt",
|
75
|
-
"spec/rdfcore/datatypes/test009b.nt",
|
76
|
-
"spec/rdfcore/datatypes/test010.nt",
|
77
|
-
"spec/rdfcore/datatypes/test011a.nt",
|
78
|
-
"spec/rdfcore/datatypes/test011b.nt",
|
79
|
-
"spec/rdfcore/horst-01/test001.rdf",
|
80
|
-
"spec/rdfcore/horst-01/test002.rdf",
|
81
|
-
"spec/rdfcore/horst-01/test003.rdf",
|
82
|
-
"spec/rdfcore/horst-01/test004.rdf",
|
83
|
-
"spec/rdfcore/pfps-10/test001a.nt",
|
84
|
-
"spec/rdfcore/pfps-10/test001b.nt",
|
85
|
-
"spec/rdfcore/rdf-charmod-literals/test001.nt",
|
86
|
-
"spec/rdfcore/rdf-charmod-literals/test001.rdf",
|
87
|
-
"spec/rdfcore/rdf-charmod-uris/test001.nt",
|
88
|
-
"spec/rdfcore/rdf-charmod-uris/test001.rdf",
|
89
|
-
"spec/rdfcore/rdf-charmod-uris/test002.nt",
|
90
|
-
"spec/rdfcore/rdf-charmod-uris/test002.rdf",
|
91
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/error001.rdf",
|
92
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/error002.rdf",
|
93
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test001.nt",
|
94
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test001.rdf",
|
95
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test002.nt",
|
96
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test002.rdf",
|
97
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test003.nt",
|
98
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test003.rdf",
|
99
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test004.nt",
|
100
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf",
|
101
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test006.nt",
|
102
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test006.rdf",
|
103
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test007.nt",
|
104
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test007.rdf",
|
105
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test008.nt",
|
106
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test008.rdf",
|
107
|
-
"spec/rdfcore/rdf-element-not-mandatory/test001.nt",
|
108
|
-
"spec/rdfcore/rdf-element-not-mandatory/test001.rdf",
|
109
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0001.nt",
|
110
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0001.rdf",
|
111
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0003.nt",
|
112
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0003.rdf",
|
113
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0004.nt",
|
114
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0004.rdf",
|
115
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0005.nt",
|
116
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0005.rdf",
|
117
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0006.nt",
|
118
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0006.rdf",
|
119
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0009.nt",
|
120
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0009.rdf",
|
121
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0010.nt",
|
122
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0010.rdf",
|
123
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0011.nt",
|
124
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0011.rdf",
|
125
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0012.nt",
|
126
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0012.rdf",
|
127
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0013.nt",
|
128
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0013.rdf",
|
129
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0014.nt",
|
130
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0014.rdf",
|
131
|
-
"spec/rdfcore/rdfms-abouteach/error001.rdf",
|
132
|
-
"spec/rdfcore/rdfms-abouteach/error002.rdf",
|
133
|
-
"spec/rdfcore/rdfms-difference-between-ID-and-about/error1.rdf",
|
134
|
-
"spec/rdfcore/rdfms-difference-between-ID-and-about/test1.nt",
|
135
|
-
"spec/rdfcore/rdfms-difference-between-ID-and-about/test1.rdf",
|
136
|
-
"spec/rdfcore/rdfms-difference-between-ID-and-about/test2.nt",
|
137
|
-
"spec/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf",
|
138
|
-
"spec/rdfcore/rdfms-difference-between-ID-and-about/test3.nt",
|
139
|
-
"spec/rdfcore/rdfms-difference-between-ID-and-about/test3.rdf",
|
140
|
-
"spec/rdfcore/rdfms-duplicate-member-props/test001.nt",
|
141
|
-
"spec/rdfcore/rdfms-duplicate-member-props/test001.rdf",
|
142
|
-
"spec/rdfcore/rdfms-empty-property-elements/error001.rdf",
|
143
|
-
"spec/rdfcore/rdfms-empty-property-elements/error002.rdf",
|
144
|
-
"spec/rdfcore/rdfms-empty-property-elements/error003.rdf",
|
145
|
-
"spec/rdfcore/rdfms-empty-property-elements/test001.nt",
|
146
|
-
"spec/rdfcore/rdfms-empty-property-elements/test001.rdf",
|
147
|
-
"spec/rdfcore/rdfms-empty-property-elements/test002.nt",
|
148
|
-
"spec/rdfcore/rdfms-empty-property-elements/test002.rdf",
|
149
|
-
"spec/rdfcore/rdfms-empty-property-elements/test003.nt",
|
150
|
-
"spec/rdfcore/rdfms-empty-property-elements/test003.rdf",
|
151
|
-
"spec/rdfcore/rdfms-empty-property-elements/test004.nt",
|
152
|
-
"spec/rdfcore/rdfms-empty-property-elements/test004.rdf",
|
153
|
-
"spec/rdfcore/rdfms-empty-property-elements/test005.nt",
|
154
|
-
"spec/rdfcore/rdfms-empty-property-elements/test005.rdf",
|
155
|
-
"spec/rdfcore/rdfms-empty-property-elements/test006.nt",
|
156
|
-
"spec/rdfcore/rdfms-empty-property-elements/test006.rdf",
|
157
|
-
"spec/rdfcore/rdfms-empty-property-elements/test007.nt",
|
158
|
-
"spec/rdfcore/rdfms-empty-property-elements/test007.rdf",
|
159
|
-
"spec/rdfcore/rdfms-empty-property-elements/test008.nt",
|
160
|
-
"spec/rdfcore/rdfms-empty-property-elements/test008.rdf",
|
161
|
-
"spec/rdfcore/rdfms-empty-property-elements/test009.nt",
|
162
|
-
"spec/rdfcore/rdfms-empty-property-elements/test009.rdf",
|
163
|
-
"spec/rdfcore/rdfms-empty-property-elements/test010.nt",
|
164
|
-
"spec/rdfcore/rdfms-empty-property-elements/test010.rdf",
|
165
|
-
"spec/rdfcore/rdfms-empty-property-elements/test011.nt",
|
166
|
-
"spec/rdfcore/rdfms-empty-property-elements/test011.rdf",
|
167
|
-
"spec/rdfcore/rdfms-empty-property-elements/test012.nt",
|
168
|
-
"spec/rdfcore/rdfms-empty-property-elements/test012.rdf",
|
169
|
-
"spec/rdfcore/rdfms-empty-property-elements/test013.nt",
|
170
|
-
"spec/rdfcore/rdfms-empty-property-elements/test013.rdf",
|
171
|
-
"spec/rdfcore/rdfms-empty-property-elements/test014.nt",
|
172
|
-
"spec/rdfcore/rdfms-empty-property-elements/test014.rdf",
|
173
|
-
"spec/rdfcore/rdfms-empty-property-elements/test015.nt",
|
174
|
-
"spec/rdfcore/rdfms-empty-property-elements/test015.rdf",
|
175
|
-
"spec/rdfcore/rdfms-empty-property-elements/test016.nt",
|
176
|
-
"spec/rdfcore/rdfms-empty-property-elements/test016.rdf",
|
177
|
-
"spec/rdfcore/rdfms-empty-property-elements/test017.nt",
|
178
|
-
"spec/rdfcore/rdfms-empty-property-elements/test017.rdf",
|
179
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test001.nt",
|
180
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test001.rdf",
|
181
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test002.nt",
|
182
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test002.rdf",
|
183
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test003.nt",
|
184
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test003.rdf",
|
185
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test004.nt",
|
186
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test004.rdf",
|
187
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test005.nt",
|
188
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test005.rdf",
|
189
|
-
"spec/rdfcore/rdfms-not-id-and-resource-attr/test001.nt",
|
190
|
-
"spec/rdfcore/rdfms-not-id-and-resource-attr/test001.rdf",
|
191
|
-
"spec/rdfcore/rdfms-not-id-and-resource-attr/test002.nt",
|
192
|
-
"spec/rdfcore/rdfms-not-id-and-resource-attr/test002.rdf",
|
193
|
-
"spec/rdfcore/rdfms-not-id-and-resource-attr/test004.nt",
|
194
|
-
"spec/rdfcore/rdfms-not-id-and-resource-attr/test004.rdf",
|
195
|
-
"spec/rdfcore/rdfms-not-id-and-resource-attr/test005.nt",
|
196
|
-
"spec/rdfcore/rdfms-not-id-and-resource-attr/test005.rdf",
|
197
|
-
"spec/rdfcore/rdfms-para196/test001.nt",
|
198
|
-
"spec/rdfcore/rdfms-para196/test001.rdf",
|
199
|
-
"spec/rdfcore/rdfms-rdf-id/error001.rdf",
|
200
|
-
"spec/rdfcore/rdfms-rdf-id/error002.rdf",
|
201
|
-
"spec/rdfcore/rdfms-rdf-id/error003.rdf",
|
202
|
-
"spec/rdfcore/rdfms-rdf-id/error004.rdf",
|
203
|
-
"spec/rdfcore/rdfms-rdf-id/error005.rdf",
|
204
|
-
"spec/rdfcore/rdfms-rdf-id/error006.rdf",
|
205
|
-
"spec/rdfcore/rdfms-rdf-id/error007.rdf",
|
206
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-001.rdf",
|
207
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-002.rdf",
|
208
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-003.rdf",
|
209
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-004.rdf",
|
210
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-005.rdf",
|
211
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-006.rdf",
|
212
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-007.rdf",
|
213
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-008.rdf",
|
214
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-009.rdf",
|
215
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-010.rdf",
|
216
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-011.rdf",
|
217
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-012.rdf",
|
218
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-013.rdf",
|
219
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-014.rdf",
|
220
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-015.rdf",
|
221
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-016.rdf",
|
222
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-017.rdf",
|
223
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-018.rdf",
|
224
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-019.rdf",
|
225
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-020.rdf",
|
226
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-001.nt",
|
227
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-001.rdf",
|
228
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-002.nt",
|
229
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-002.rdf",
|
230
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-003.nt",
|
231
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-003.rdf",
|
232
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-004.nt",
|
233
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-004.rdf",
|
234
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-005.nt",
|
235
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-005.rdf",
|
236
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-006.nt",
|
237
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-006.rdf",
|
238
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-007.nt",
|
239
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-007.rdf",
|
240
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-008.nt",
|
241
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-008.rdf",
|
242
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-009.nt",
|
243
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-009.rdf",
|
244
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-010.nt",
|
245
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-010.rdf",
|
246
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-011.nt",
|
247
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-011.rdf",
|
248
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-012.nt",
|
249
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-012.rdf",
|
250
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-013.nt",
|
251
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-013.rdf",
|
252
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-014.nt",
|
253
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-014.rdf",
|
254
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-015.nt",
|
255
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-015.rdf",
|
256
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-016.nt",
|
257
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-016.rdf",
|
258
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-017.nt",
|
259
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-017.rdf",
|
260
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-018.nt",
|
261
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-018.rdf",
|
262
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-019.nt",
|
263
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-019.rdf",
|
264
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-020.nt",
|
265
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-020.rdf",
|
266
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-021.nt",
|
267
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-021.rdf",
|
268
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-022.nt",
|
269
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-022.rdf",
|
270
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-023.nt",
|
271
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-023.rdf",
|
272
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-024.nt",
|
273
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-024.rdf",
|
274
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-025.nt",
|
275
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-025.rdf",
|
276
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-026.nt",
|
277
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-026.rdf",
|
278
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-027.nt",
|
279
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-027.rdf",
|
280
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-028.nt",
|
281
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-028.rdf",
|
282
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-029.nt",
|
283
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-029.rdf",
|
284
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-030.nt",
|
285
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-030.rdf",
|
286
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-031.nt",
|
287
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-031.rdf",
|
288
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-032.nt",
|
289
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-032.rdf",
|
290
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-033.nt",
|
291
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-033.rdf",
|
292
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-034.nt",
|
293
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-034.rdf",
|
294
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-035.nt",
|
295
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-035.rdf",
|
296
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-036.nt",
|
297
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-036.rdf",
|
298
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-037.nt",
|
299
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-037.rdf",
|
300
|
-
"spec/rdfcore/rdfms-rdf-names-use/warn-001.nt",
|
301
|
-
"spec/rdfcore/rdfms-rdf-names-use/warn-001.rdf",
|
302
|
-
"spec/rdfcore/rdfms-rdf-names-use/warn-002.nt",
|
303
|
-
"spec/rdfcore/rdfms-rdf-names-use/warn-002.rdf",
|
304
|
-
"spec/rdfcore/rdfms-rdf-names-use/warn-003.nt",
|
305
|
-
"spec/rdfcore/rdfms-rdf-names-use/warn-003.rdf",
|
306
|
-
"spec/rdfcore/rdfms-reification-required/test001.nt",
|
307
|
-
"spec/rdfcore/rdfms-reification-required/test001.rdf",
|
308
|
-
"spec/rdfcore/rdfms-seq-representation/empty.nt",
|
309
|
-
"spec/rdfcore/rdfms-seq-representation/test001.nt",
|
310
|
-
"spec/rdfcore/rdfms-seq-representation/test001.rdf",
|
311
|
-
"spec/rdfcore/rdfms-seq-representation/test002.nt",
|
312
|
-
"spec/rdfcore/rdfms-seq-representation/test003a.nt",
|
313
|
-
"spec/rdfcore/rdfms-seq-representation/test003b.nt",
|
314
|
-
"spec/rdfcore/rdfms-seq-representation/test004.nt",
|
315
|
-
"spec/rdfcore/rdfms-syntax-incomplete/error001.rdf",
|
316
|
-
"spec/rdfcore/rdfms-syntax-incomplete/error002.rdf",
|
317
|
-
"spec/rdfcore/rdfms-syntax-incomplete/error003.rdf",
|
318
|
-
"spec/rdfcore/rdfms-syntax-incomplete/error004.rdf",
|
319
|
-
"spec/rdfcore/rdfms-syntax-incomplete/error005.rdf",
|
320
|
-
"spec/rdfcore/rdfms-syntax-incomplete/error006.rdf",
|
321
|
-
"spec/rdfcore/rdfms-syntax-incomplete/test001.nt",
|
322
|
-
"spec/rdfcore/rdfms-syntax-incomplete/test001.rdf",
|
323
|
-
"spec/rdfcore/rdfms-syntax-incomplete/test002.nt",
|
324
|
-
"spec/rdfcore/rdfms-syntax-incomplete/test002.rdf",
|
325
|
-
"spec/rdfcore/rdfms-syntax-incomplete/test003.nt",
|
326
|
-
"spec/rdfcore/rdfms-syntax-incomplete/test003.rdf",
|
327
|
-
"spec/rdfcore/rdfms-syntax-incomplete/test004.nt",
|
328
|
-
"spec/rdfcore/rdfms-syntax-incomplete/test004.rdf",
|
329
|
-
"spec/rdfcore/rdfms-uri-substructure/error001.nt",
|
330
|
-
"spec/rdfcore/rdfms-uri-substructure/test001.nt",
|
331
|
-
"spec/rdfcore/rdfms-uri-substructure/test001.rdf",
|
332
|
-
"spec/rdfcore/rdfms-xml-literal-namespaces/test001.nt",
|
333
|
-
"spec/rdfcore/rdfms-xml-literal-namespaces/test001.rdf",
|
334
|
-
"spec/rdfcore/rdfms-xml-literal-namespaces/test002.nt",
|
335
|
-
"spec/rdfcore/rdfms-xml-literal-namespaces/test002.rdf",
|
336
|
-
"spec/rdfcore/rdfms-xmllang/test001.nt",
|
337
|
-
"spec/rdfcore/rdfms-xmllang/test001.rdf",
|
338
|
-
"spec/rdfcore/rdfms-xmllang/test002.nt",
|
339
|
-
"spec/rdfcore/rdfms-xmllang/test002.rdf",
|
340
|
-
"spec/rdfcore/rdfms-xmllang/test003.nt",
|
341
|
-
"spec/rdfcore/rdfms-xmllang/test003.rdf",
|
342
|
-
"spec/rdfcore/rdfms-xmllang/test004.nt",
|
343
|
-
"spec/rdfcore/rdfms-xmllang/test004.rdf",
|
344
|
-
"spec/rdfcore/rdfms-xmllang/test005.nt",
|
345
|
-
"spec/rdfcore/rdfms-xmllang/test005.rdf",
|
346
|
-
"spec/rdfcore/rdfms-xmllang/test006.nt",
|
347
|
-
"spec/rdfcore/rdfms-xmllang/test006.rdf",
|
348
|
-
"spec/rdfcore/rdfms-xmllang/test007a.nt",
|
349
|
-
"spec/rdfcore/rdfms-xmllang/test007b.nt",
|
350
|
-
"spec/rdfcore/rdfms-xmllang/test007c.nt",
|
351
|
-
"spec/rdfcore/rdfs-container-membership-superProperty/not1C.rdf",
|
352
|
-
"spec/rdfcore/rdfs-container-membership-superProperty/not1P.rdf",
|
353
|
-
"spec/rdfcore/rdfs-domain-and-range/nonconclusions005.rdf",
|
354
|
-
"spec/rdfcore/rdfs-domain-and-range/nonconclusions006.rdf",
|
355
|
-
"spec/rdfcore/rdfs-domain-and-range/premises005.rdf",
|
356
|
-
"spec/rdfcore/rdfs-domain-and-range/premises006.rdf",
|
357
|
-
"spec/rdfcore/rdfs-domain-and-range/test001.nt",
|
358
|
-
"spec/rdfcore/rdfs-domain-and-range/test001.rdf",
|
359
|
-
"spec/rdfcore/rdfs-domain-and-range/test002.nt",
|
360
|
-
"spec/rdfcore/rdfs-domain-and-range/test002.rdf",
|
361
|
-
"spec/rdfcore/rdfs-entailment/test001.nt",
|
362
|
-
"spec/rdfcore/rdfs-entailment/test002.nt",
|
363
|
-
"spec/rdfcore/rdfs-no-cycles-in-subClassOf/test001.nt",
|
364
|
-
"spec/rdfcore/rdfs-no-cycles-in-subClassOf/test001.rdf",
|
365
|
-
"spec/rdfcore/rdfs-no-cycles-in-subPropertyOf/test001.nt",
|
366
|
-
"spec/rdfcore/rdfs-no-cycles-in-subPropertyOf/test001.rdf",
|
367
|
-
"spec/rdfcore/rdfs-subClassOf-a-Property/test001.nt",
|
368
|
-
"spec/rdfcore/rdfs-subPropertyOf-semantics/test001.nt",
|
369
|
-
"spec/rdfcore/rdfs-subPropertyOf-semantics/test002.nt",
|
370
|
-
"spec/rdfcore/statement-entailment/test001a.nt",
|
371
|
-
"spec/rdfcore/statement-entailment/test001b.nt",
|
372
|
-
"spec/rdfcore/statement-entailment/test002a.nt",
|
373
|
-
"spec/rdfcore/statement-entailment/test002b.nt",
|
374
|
-
"spec/rdfcore/tex-01/test001.rdf",
|
375
|
-
"spec/rdfcore/tex-01/test002.rdf",
|
376
|
-
"spec/rdfcore/unrecognised-xml-attributes/test001.nt",
|
377
|
-
"spec/rdfcore/unrecognised-xml-attributes/test001.rdf",
|
378
|
-
"spec/rdfcore/unrecognised-xml-attributes/test002.nt",
|
379
|
-
"spec/rdfcore/unrecognised-xml-attributes/test002.rdf",
|
380
|
-
"spec/rdfcore/xml-canon/test001.nt",
|
381
|
-
"spec/rdfcore/xml-canon/test001.rdf",
|
382
|
-
"spec/rdfcore/xmlbase/test001.nt",
|
383
|
-
"spec/rdfcore/xmlbase/test001.rdf",
|
384
|
-
"spec/rdfcore/xmlbase/test002.nt",
|
385
|
-
"spec/rdfcore/xmlbase/test002.rdf",
|
386
|
-
"spec/rdfcore/xmlbase/test003.nt",
|
387
|
-
"spec/rdfcore/xmlbase/test003.rdf",
|
388
|
-
"spec/rdfcore/xmlbase/test004.nt",
|
389
|
-
"spec/rdfcore/xmlbase/test004.rdf",
|
390
|
-
"spec/rdfcore/xmlbase/test006.nt",
|
391
|
-
"spec/rdfcore/xmlbase/test006.rdf",
|
392
|
-
"spec/rdfcore/xmlbase/test007.nt",
|
393
|
-
"spec/rdfcore/xmlbase/test007.rdf",
|
394
|
-
"spec/rdfcore/xmlbase/test008.nt",
|
395
|
-
"spec/rdfcore/xmlbase/test008.rdf",
|
396
|
-
"spec/rdfcore/xmlbase/test009.nt",
|
397
|
-
"spec/rdfcore/xmlbase/test009.rdf",
|
398
|
-
"spec/rdfcore/xmlbase/test010.nt",
|
399
|
-
"spec/rdfcore/xmlbase/test010.rdf",
|
400
|
-
"spec/rdfcore/xmlbase/test011.nt",
|
401
|
-
"spec/rdfcore/xmlbase/test011.rdf",
|
402
|
-
"spec/rdfcore/xmlbase/test013.nt",
|
403
|
-
"spec/rdfcore/xmlbase/test013.rdf",
|
404
|
-
"spec/rdfcore/xmlbase/test014.nt",
|
405
|
-
"spec/rdfcore/xmlbase/test014.rdf",
|
406
|
-
"spec/rdfcore/xmlsch-02/test001.rdf",
|
407
|
-
"spec/rdfcore/xmlsch-02/test002.rdf",
|
408
|
-
"spec/rdfcore/xmlsch-02/test003.rdf",
|
409
62
|
"spec/reader_spec.rb",
|
410
63
|
"spec/spec.opts",
|
411
64
|
"spec/spec_helper.rb",
|
@@ -418,7 +71,7 @@ Gem::Specification.new do |s|
|
|
418
71
|
s.homepage = %q{http://github.com/gkellogg/rdf-n3}
|
419
72
|
s.require_paths = ["lib"]
|
420
73
|
s.rubygems_version = %q{1.6.2}
|
421
|
-
s.summary = %q{
|
74
|
+
s.summary = %q{N3/Turtle reader/writer for RDF.rb.}
|
422
75
|
s.test_files = [
|
423
76
|
"spec/cwm_spec.rb",
|
424
77
|
"spec/cwm_test.rb",
|
@@ -437,31 +90,31 @@ Gem::Specification.new do |s|
|
|
437
90
|
s.specification_version = 3
|
438
91
|
|
439
92
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
440
|
-
s.add_runtime_dependency(%q<rdf>, [">= 0.3.
|
93
|
+
s.add_runtime_dependency(%q<rdf>, [">= 0.3.3"])
|
441
94
|
s.add_development_dependency(%q<open-uri-cached>, [">= 0"])
|
442
95
|
s.add_development_dependency(%q<spira>, [">= 0.0.12"])
|
443
96
|
s.add_development_dependency(%q<rspec>, [">= 2.5.0"])
|
444
|
-
s.add_development_dependency(%q<rdf-spec>, [">= 0.3.
|
445
|
-
s.add_development_dependency(%q<rdf-rdfxml>, [">= 0.3.
|
97
|
+
s.add_development_dependency(%q<rdf-spec>, [">= 0.3.3"])
|
98
|
+
s.add_development_dependency(%q<rdf-rdfxml>, [">= 0.3.3"])
|
446
99
|
s.add_development_dependency(%q<rdf-isomorphic>, [">= 0.3.4"])
|
447
100
|
s.add_development_dependency(%q<yard>, [">= 0"])
|
448
101
|
else
|
449
|
-
s.add_dependency(%q<rdf>, [">= 0.3.
|
102
|
+
s.add_dependency(%q<rdf>, [">= 0.3.3"])
|
450
103
|
s.add_dependency(%q<open-uri-cached>, [">= 0"])
|
451
104
|
s.add_dependency(%q<spira>, [">= 0.0.12"])
|
452
105
|
s.add_dependency(%q<rspec>, [">= 2.5.0"])
|
453
|
-
s.add_dependency(%q<rdf-spec>, [">= 0.3.
|
454
|
-
s.add_dependency(%q<rdf-rdfxml>, [">= 0.3.
|
106
|
+
s.add_dependency(%q<rdf-spec>, [">= 0.3.3"])
|
107
|
+
s.add_dependency(%q<rdf-rdfxml>, [">= 0.3.3"])
|
455
108
|
s.add_dependency(%q<rdf-isomorphic>, [">= 0.3.4"])
|
456
109
|
s.add_dependency(%q<yard>, [">= 0"])
|
457
110
|
end
|
458
111
|
else
|
459
|
-
s.add_dependency(%q<rdf>, [">= 0.3.
|
112
|
+
s.add_dependency(%q<rdf>, [">= 0.3.3"])
|
460
113
|
s.add_dependency(%q<open-uri-cached>, [">= 0"])
|
461
114
|
s.add_dependency(%q<spira>, [">= 0.0.12"])
|
462
115
|
s.add_dependency(%q<rspec>, [">= 2.5.0"])
|
463
|
-
s.add_dependency(%q<rdf-spec>, [">= 0.3.
|
464
|
-
s.add_dependency(%q<rdf-rdfxml>, [">= 0.3.
|
116
|
+
s.add_dependency(%q<rdf-spec>, [">= 0.3.3"])
|
117
|
+
s.add_dependency(%q<rdf-rdfxml>, [">= 0.3.3"])
|
465
118
|
s.add_dependency(%q<rdf-isomorphic>, [">= 0.3.4"])
|
466
119
|
s.add_dependency(%q<yard>, [">= 0"])
|
467
120
|
end
|
data/script/parse
CHANGED
@@ -3,6 +3,8 @@ require 'rubygems'
|
|
3
3
|
$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", 'lib')))
|
4
4
|
require 'rdf/n3'
|
5
5
|
require 'rdf/ntriples'
|
6
|
+
require 'rdf/rdfxml' rescue nil
|
7
|
+
require 'rdf/rdfa' rescue nil
|
6
8
|
require 'getoptlong'
|
7
9
|
require 'open-uri'
|
8
10
|
|
@@ -10,6 +12,7 @@ def run(input, options)
|
|
10
12
|
reader_class = RDF::Reader.for(options[:input_format].to_sym)
|
11
13
|
raise "Reader not found for #{options[:input_format]}" unless reader_class
|
12
14
|
|
15
|
+
prefixes = {}
|
13
16
|
start = Time.new
|
14
17
|
num = 0
|
15
18
|
if options[:parse_only]
|
@@ -31,19 +34,19 @@ def run(input, options)
|
|
31
34
|
if options[:quiet]
|
32
35
|
#print "."
|
33
36
|
else
|
34
|
-
|
37
|
+
options[:output]. puts statement.to_ntriples
|
35
38
|
end
|
36
39
|
end
|
37
40
|
elsif options[:output_format] == :inspect
|
38
41
|
reader_class.new(input, :base_uri => options[:base_uri], :strict => true).each do |statement|
|
39
42
|
num += 1
|
40
|
-
puts statement.inspect
|
43
|
+
options[:output].puts statement.inspect
|
41
44
|
end
|
42
45
|
else
|
43
46
|
r = reader_class.new(input, :base_uri => options[:base_uri], :strict => true)
|
44
47
|
g = RDF::Graph.new << r
|
45
48
|
num = g.count
|
46
|
-
puts g.dump(options[:output_format], :base_uri => r.base_uri, :prefixes => r.prefixes)
|
49
|
+
options[:output].puts g.dump(options[:output_format], :base_uri => r.base_uri, :prefixes => r.prefixes)
|
47
50
|
end
|
48
51
|
puts
|
49
52
|
secs = Time.new - start
|
@@ -55,7 +58,9 @@ rescue
|
|
55
58
|
end
|
56
59
|
|
57
60
|
options = {
|
58
|
-
:
|
61
|
+
:validate => false,
|
62
|
+
:strict => true,
|
63
|
+
:output => STDOUT,
|
59
64
|
:output_format => :ntriples,
|
60
65
|
:input_format => :n3,
|
61
66
|
:base_uri => "http://example.com",
|
@@ -63,26 +68,27 @@ options = {
|
|
63
68
|
input = nil
|
64
69
|
|
65
70
|
opts = GetoptLong.new(
|
66
|
-
["--
|
67
|
-
["--
|
68
|
-
["--quiet", GetoptLong::NO_ARGUMENT],
|
71
|
+
["--dbg", GetoptLong::NO_ARGUMENT],
|
72
|
+
["--execute", "-e", GetoptLong::REQUIRED_ARGUMENT],
|
69
73
|
["--format", GetoptLong::REQUIRED_ARGUMENT],
|
70
74
|
["--input-format", GetoptLong::REQUIRED_ARGUMENT],
|
71
|
-
["--
|
75
|
+
["--output", "-o", GetoptLong::REQUIRED_ARGUMENT],
|
72
76
|
["--parse-only", GetoptLong::NO_ARGUMENT],
|
73
|
-
["--
|
77
|
+
["--quiet", GetoptLong::NO_ARGUMENT],
|
78
|
+
["--uri", GetoptLong::REQUIRED_ARGUMENT],
|
79
|
+
["--verbose", GetoptLong::NO_ARGUMENT]
|
74
80
|
)
|
75
81
|
opts.each do |opt, arg|
|
76
82
|
case opt
|
77
|
-
when '--
|
78
|
-
when '--debug' then ::RDF::N3::debug = true
|
83
|
+
when '--dbg' then ::RDF::N3::debug = true
|
79
84
|
when '--execute' then input = arg
|
80
85
|
when '--format' then options[:output_format] = arg.to_sym
|
81
86
|
when '--input-format' then options[:input_format] = arg.to_sym
|
87
|
+
when '--output' then options[:output] = File.open(arg, "w")
|
82
88
|
when '--parse-only' then options[:parse_only] = true
|
83
89
|
when '--quiet' then options[:quiet] = true
|
84
90
|
when '--uri' then options[:base_uri] = arg
|
85
|
-
when '--verbose' then
|
91
|
+
when '--verbose' then $verbose = true
|
86
92
|
end
|
87
93
|
end
|
88
94
|
|