rdf_context 0.4.8 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +27 -0
- data/README.rdoc +22 -9
- data/Rakefile +11 -6
- data/VERSION +1 -1
- data/bin/rdf_context +12 -4
- data/lib/rdf_context.rb +3 -1
- data/lib/rdf_context/aggregate_graph.rb +86 -0
- data/lib/rdf_context/array_hacks.rb +53 -0
- data/lib/rdf_context/conjunctive_graph.rb +1 -1
- data/lib/rdf_context/exceptions.rb +9 -7
- data/lib/rdf_context/graph.rb +174 -15
- data/lib/rdf_context/literal.rb +34 -2
- data/lib/rdf_context/n3_grammar.treetop +213 -129
- data/lib/rdf_context/n3parser.rb +281 -57
- data/lib/rdf_context/namespace.rb +23 -12
- data/lib/rdf_context/parser.rb +4 -3
- data/lib/rdf_context/quoted_graph.rb +38 -0
- data/lib/rdf_context/rdfaparser.rb +2 -1
- data/lib/rdf_context/rdfxmlparser.rb +4 -3
- data/lib/rdf_context/store/abstract_sql_store.rb +4 -4
- data/lib/rdf_context/store/abstract_store.rb +5 -1
- data/lib/rdf_context/store/sqlite3_store.rb +10 -8
- data/lib/rdf_context/string_hacks.rb +44 -21
- data/lib/rdf_context/term_utils.rb +73 -4
- data/lib/rdf_context/triple.rb +32 -47
- data/lib/rdf_context/uriref.rb +33 -26
- data/spec/aggregate_graph_spec.rb +59 -0
- data/spec/conjunctive_graph_spec.rb +1 -1
- data/spec/cwm_spec.rb +32 -0
- data/spec/graph_spec.rb +114 -3
- data/spec/literal_spec.rb +107 -5
- data/spec/matchers.rb +104 -51
- data/spec/n3parser_spec.rb +798 -99
- data/spec/namespaces_spec.rb +26 -0
- data/spec/quoted_graph_spec.rb +0 -0
- data/spec/rdf_helper.rb +197 -0
- data/spec/rdfa_helper.rb +15 -11
- data/spec/rdfa_parser_spec.rb +6 -8
- data/spec/rdfxml_spec.rb +21 -28
- data/spec/spec_helper.rb +20 -0
- data/spec/sqlite3_store_spec.rb +6 -5
- data/spec/store_helper.rb +9 -1
- data/spec/string_hacks_spec.rb +14 -0
- data/spec/{rdfxml_helper.rb → swap_helper.rb} +8 -9
- data/spec/swap_spec.rb +77 -0
- data/spec/swap_test/animal.rdf +17 -0
- data/spec/swap_test/anon-prop.n3 +14 -0
- data/spec/swap_test/anonymous_loop.n3 +2 -0
- data/spec/swap_test/contexts.n3 +16 -0
- data/spec/swap_test/daml-pref.n3 +10 -0
- data/spec/swap_test/i18n/hiragana.n3 +22 -0
- data/spec/swap_test/i18n/n3string.n3 +4 -0
- data/spec/swap_test/list/itemType.rdf +12 -0
- data/spec/swap_test/lists-simple.n3 +40 -0
- data/spec/swap_test/lists.n3 +35 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10001.nt +3 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10002.nt +7 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10003.nt +3 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10004.nt +119 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10005.nt +3 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10006.nt +225 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10007.nt +79 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10008.nt +5 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10009.nt +13 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10010.nt +21 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10011.nt +9 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10012.nt +53 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10013.nt +19 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10014.nt +103 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10015.nt +103 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10016.nt +3 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10017.nt +151 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10018.nt +9 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10019.nt +3 -0
- data/spec/swap_test/n3/n3parser.tests_n3_10020.nt +13 -0
- data/spec/swap_test/n3parser.tests +160 -0
- data/spec/swap_test/nodeID/classes.n3 +9 -0
- data/spec/swap_test/nodeID/classes.ref.rdf +15 -0
- data/spec/swap_test/nodeID/ex1.rdf +15 -0
- data/spec/swap_test/norm/fix.rdf +33 -0
- data/spec/swap_test/owl-ex.rdf +150 -0
- data/spec/swap_test/ref/animal.n3 +11 -0
- data/spec/swap_test/ref/anon-prop-1.n3 +8 -0
- data/spec/swap_test/ref/anonymous_loop.ref +7 -0
- data/spec/swap_test/ref/bnode.n3 +6 -0
- data/spec/swap_test/ref/bnode.rdf +16 -0
- data/spec/swap_test/ref/colon-in-uri.n3 +15 -0
- data/spec/swap_test/ref/daml-ex.n3 +103 -0
- data/spec/swap_test/ref/daml-ont.n3 +289 -0
- data/spec/swap_test/ref/djb1a-out.n3 +4 -0
- data/spec/swap_test/ref/dot-dash.n3 +8 -0
- data/spec/swap_test/ref/in-xml-t.n3 +4 -0
- data/spec/swap_test/ref/itemType.n3 +9 -0
- data/spec/swap_test/ref/keywords1.n3 +11 -0
- data/spec/swap_test/ref/keywords2.n3 +11 -0
- data/spec/swap_test/ref/lists-simple-1.rdf +108 -0
- data/spec/swap_test/ref/lists.n3 +43 -0
- data/spec/swap_test/ref/lstring-out.n3 +20 -0
- data/spec/swap_test/ref/n3string.n3 +13 -0
- data/spec/swap_test/ref/no-last-nl.n3 +3 -0
- data/spec/swap_test/ref/numbers.n3 +18 -0
- data/spec/swap_test/ref/path1.n3 +8 -0
- data/spec/swap_test/ref/path2.n3 +39 -0
- data/spec/swap_test/ref/prefix1.rdf +31 -0
- data/spec/swap_test/ref/prefix3.rdf +31 -0
- data/spec/swap_test/ref/rdf-redefine.rdf +11 -0
- data/spec/swap_test/ref/reluri-1.rdf +18 -0
- data/spec/swap_test/ref/strquot.n3 +23 -0
- data/spec/swap_test/ref/strquot_a.n3 +23 -0
- data/spec/swap_test/ref/xml-base3.n3 +5 -0
- data/spec/swap_test/ref/xml-redefine.rdf +20 -0
- data/spec/swap_test/ref/xml-redefine2.rdf +23 -0
- data/spec/swap_test/ref/xml-syntax-basic-serialization.rdf +10 -0
- data/spec/swap_test/ref/xmllit.nt +3 -0
- data/spec/swap_test/regression.n3 +231 -0
- data/spec/swap_test/reluri-1.n3 +10 -0
- data/spec/swap_test/strquot.n3 +23 -0
- data/spec/swap_test/syntax/colon-in-uri.rdf +27 -0
- data/spec/swap_test/syntax/djb1a.n3 +3 -0
- data/spec/swap_test/syntax/dot-dash.n3 +15 -0
- data/spec/swap_test/syntax/equals1.n3 +1 -0
- data/spec/swap_test/syntax/equals2.n3 +1 -0
- data/spec/swap_test/syntax/keywords1.n3 +17 -0
- data/spec/swap_test/syntax/keywords2.n3 +18 -0
- data/spec/swap_test/syntax/lstring.n3 +26 -0
- data/spec/swap_test/syntax/neg-formula-predicate.n3 +1 -0
- data/spec/swap_test/syntax/neg-keywords3.n3 +1 -0
- data/spec/swap_test/syntax/neg-literal-predicate.n3 +1 -0
- data/spec/swap_test/syntax/neg-single-quote.n3 +1 -0
- data/spec/swap_test/syntax/neg-thisadoc.n3 +1 -0
- data/spec/swap_test/syntax/no-last-nl.n3 +2 -0
- data/spec/swap_test/syntax/numbers.n3 +26 -0
- data/spec/swap_test/syntax/path1.n3 +23 -0
- data/spec/swap_test/syntax/path2.n3 +31 -0
- data/spec/swap_test/syntax/qvars1.n3 +19 -0
- data/spec/swap_test/syntax/qvars2.n3 +19 -0
- data/spec/swap_test/syntax/this-quantifiers.n3 +164 -0
- data/spec/swap_test/syntax/this-rules.n3 +43 -0
- data/spec/swap_test/syntax/too-nested.n3 +25 -0
- data/spec/swap_test/syntax/trailing-semicolon.n3 +12 -0
- data/spec/swap_test/syntax/zero-objects.n3 +1 -0
- data/spec/swap_test/syntax/zero-predicates.n3 +3 -0
- data/spec/swap_test/tests-work.txt +25 -0
- data/spec/swap_test/xml-syntax/basic-serialization.n3 +8 -0
- data/spec/swap_test/xml-syntax/in-xml.xml +13 -0
- data/spec/swap_test/xml-syntax/non-ascii-pred.rdf +14 -0
- data/spec/swap_test/xml-syntax/rdf_prefix.n3 +2 -0
- data/spec/swap_test/xml-syntax/xml_prefix.n3 +7 -0
- data/spec/swap_test/xml-syntax/xml_prefix2.n3 +9 -0
- data/spec/swap_test/xml-syntax/xmlbase3.rdf +10 -0
- data/spec/swap_test/xml-syntax/xmllit.rdf +33 -0
- data/spec/triple_spec.rb +90 -46
- data/spec/turtle/README.txt +20 -0
- data/spec/turtle/bad-00.ttl +2 -0
- data/spec/turtle/bad-01.ttl +3 -0
- data/spec/turtle/bad-02.ttl +3 -0
- data/spec/turtle/bad-03.ttl +3 -0
- data/spec/turtle/bad-04.ttl +3 -0
- data/spec/turtle/bad-05.ttl +4 -0
- data/spec/turtle/bad-06.ttl +3 -0
- data/spec/turtle/bad-07.ttl +4 -0
- data/spec/turtle/bad-08.ttl +2 -0
- data/spec/turtle/bad-09.ttl +3 -0
- data/spec/turtle/bad-10.ttl +3 -0
- data/spec/turtle/bad-11.ttl +3 -0
- data/spec/turtle/bad-12.ttl +3 -0
- data/spec/turtle/bad-13.ttl +3 -0
- data/spec/turtle/bad-14.ttl +6 -0
- data/spec/turtle/manifest-bad.ttl +88 -0
- data/spec/turtle/manifest.ttl +215 -0
- data/spec/turtle/rdf-schema.out +126 -0
- data/spec/turtle/rdf-schema.ttl +156 -0
- data/spec/turtle/rdfq-results.out +36 -0
- data/spec/turtle/rdfq-results.ttl +39 -0
- data/spec/turtle/rdfs-namespace.out +131 -0
- data/spec/turtle/rdfs-namespace.ttl +160 -0
- data/spec/turtle/test-00.out +1 -0
- data/spec/turtle/test-00.ttl +2 -0
- data/spec/turtle/test-01.out +3 -0
- data/spec/turtle/test-01.ttl +7 -0
- data/spec/turtle/test-02.out +3 -0
- data/spec/turtle/test-02.ttl +5 -0
- data/spec/turtle/test-03.out +3 -0
- data/spec/turtle/test-03.ttl +5 -0
- data/spec/turtle/test-04.out +2 -0
- data/spec/turtle/test-04.ttl +4 -0
- data/spec/turtle/test-05.out +4 -0
- data/spec/turtle/test-05.ttl +4 -0
- data/spec/turtle/test-06.out +1 -0
- data/spec/turtle/test-06.ttl +3 -0
- data/spec/turtle/test-07.out +5 -0
- data/spec/turtle/test-07.ttl +3 -0
- data/spec/turtle/test-08.out +1 -0
- data/spec/turtle/test-08.ttl +3 -0
- data/spec/turtle/test-09.out +4 -0
- data/spec/turtle/test-09.ttl +10 -0
- data/spec/turtle/test-10.out +5 -0
- data/spec/turtle/test-10.ttl +5 -0
- data/spec/turtle/test-11.out +4 -0
- data/spec/turtle/test-11.ttl +10 -0
- data/spec/turtle/test-12.out +4 -0
- data/spec/turtle/test-12.ttl +9 -0
- data/spec/turtle/test-13.out +2 -0
- data/spec/turtle/test-13.ttl +7 -0
- data/spec/turtle/test-14.out +10000 -0
- data/spec/turtle/test-14.ttl +10002 -0
- data/spec/turtle/test-15.out +10000 -0
- data/spec/turtle/test-15.ttl +3 -0
- data/spec/turtle/test-16.out +10000 -0
- data/spec/turtle/test-16.ttl +10002 -0
- data/spec/turtle/test-17.out +1 -0
- data/spec/turtle/test-17.ttl +6 -0
- data/spec/turtle/test-18.out +2 -0
- data/spec/turtle/test-18.ttl +9 -0
- data/spec/turtle/test-19.out +1 -0
- data/spec/turtle/test-19.ttl +4 -0
- data/spec/turtle/test-20.out +2 -0
- data/spec/turtle/test-20.ttl +6 -0
- data/spec/turtle/test-21.out +3 -0
- data/spec/turtle/test-21.ttl +4 -0
- data/spec/turtle/test-22.out +3 -0
- data/spec/turtle/test-22.ttl +4 -0
- data/spec/turtle/test-23.out +1 -0
- data/spec/turtle/test-23.ttl +3 -0
- data/spec/turtle/test-24.out +2 -0
- data/spec/turtle/test-24.ttl +3 -0
- data/spec/turtle/test-25.out +7 -0
- data/spec/turtle/test-25.ttl +14 -0
- data/spec/turtle/test-26.out +1 -0
- data/spec/turtle/test-26.ttl +4 -0
- data/spec/turtle/test-27.out +1 -0
- data/spec/turtle/test-27.ttl +5 -0
- data/spec/turtle/test-28-out.ttl +6 -0
- data/spec/turtle/test-28.out +22 -0
- data/spec/turtle/test-28.ttl +22 -0
- data/spec/turtle/test-29.out +1 -0
- data/spec/turtle/test-29.ttl +1 -0
- data/spec/turtle/test-30.out +5 -0
- data/spec/turtle/test-30.ttl +12 -0
- data/spec/turtle_spec.rb +64 -0
- data/spec/uriref_spec.rb +74 -34
- data/test/n3_tests/rdflib/n3-writer-teset-26.n3 +31 -0
- data/test/n3_tests/rdflib/n3-writer-teset-26.nt +14 -0
- data/test/rdf_tests/xml-literal-mixed.nt +1 -2
- metadata +278 -39
- data/lib/rdf_context/n3_grammar.rb +0 -2171
- data/test/perf_test/test.rb +0 -11
- data/test/perf_test/tommorris.rdf +0 -2267
@@ -0,0 +1,225 @@
|
|
1
|
+
|
2
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10001> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
3
|
+
|
4
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10001> <http://www.w3.org/2004/11/n3test#description> "An N3 file with no final newline character" .
|
5
|
+
|
6
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10001> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/no-last-nl.n3> .
|
7
|
+
|
8
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10001> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10001.nt> .
|
9
|
+
|
10
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10002> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
11
|
+
|
12
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10002> <http://www.w3.org/2004/11/n3test#description> "combinations of - and _ in identifiers" .
|
13
|
+
|
14
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10002> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/dot-dash.n3> .
|
15
|
+
|
16
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10002> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10002.nt> .
|
17
|
+
|
18
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10003> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
19
|
+
|
20
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10003> <http://www.w3.org/2004/11/n3test#description> "@keywords in n3" .
|
21
|
+
|
22
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10003> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/keywords1.n3> .
|
23
|
+
|
24
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10003> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10003.nt> .
|
25
|
+
|
26
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10004> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
27
|
+
|
28
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10004> <http://www.w3.org/2004/11/n3test#description> "using no keywords in n3" .
|
29
|
+
|
30
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10004> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/keywords2.n3> .
|
31
|
+
|
32
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10004> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10004.nt> .
|
33
|
+
|
34
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10005> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
35
|
+
|
36
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10005> <http://www.w3.org/2004/11/n3test#description> "djb noticed a:b was parsed as rdf:type token" .
|
37
|
+
|
38
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10005> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/djb1a.n3> .
|
39
|
+
|
40
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10005> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10005.nt> .
|
41
|
+
|
42
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10006> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
43
|
+
|
44
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10006> <http://www.w3.org/2004/11/n3test#description> "we might as well be nice and self-referential" .
|
45
|
+
|
46
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10006> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/n3parser.tests> .
|
47
|
+
|
48
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10006> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10006.nt> .
|
49
|
+
|
50
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10007> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
51
|
+
|
52
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10007> <http://www.w3.org/2004/11/n3test#description> "Parse and generate simple contexts" .
|
53
|
+
|
54
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10007> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/contexts.n3> .
|
55
|
+
|
56
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10007> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10007.nt> .
|
57
|
+
|
58
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10008> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
59
|
+
|
60
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10008> <http://www.w3.org/2004/11/n3test#description> "Parse and regen anonymous property" .
|
61
|
+
|
62
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10008> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/anon-prop.n3> .
|
63
|
+
|
64
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10008> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10008.nt> .
|
65
|
+
|
66
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10009> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
67
|
+
|
68
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10009> <http://www.w3.org/2004/11/n3test#description> "N3 string quoting with escaping" .
|
69
|
+
|
70
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10009> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/strquot.n3> .
|
71
|
+
|
72
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10009> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10009.nt> .
|
73
|
+
|
74
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10010> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
75
|
+
|
76
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10010> <http://www.w3.org/2004/11/n3test#description> "N3 string, qname and IRI with utf-8 non-ascii characters" .
|
77
|
+
|
78
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10010> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/i18n/hiragana.n3> .
|
79
|
+
|
80
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10011> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
81
|
+
|
82
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10011> <http://www.w3.org/2004/11/n3test#description> "Path syntax, simple" .
|
83
|
+
|
84
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10011> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/path1.n3> .
|
85
|
+
|
86
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10011> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10011.nt> .
|
87
|
+
|
88
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10012> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
89
|
+
|
90
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10012> <http://www.w3.org/2004/11/n3test#description> "Path syntax, more" .
|
91
|
+
|
92
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10012> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/path2.n3> .
|
93
|
+
|
94
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10012> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10012.nt> .
|
95
|
+
|
96
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10013> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
97
|
+
|
98
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10013> <http://www.w3.org/2004/11/n3test#description> "Number syntax" .
|
99
|
+
|
100
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10013> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/numbers.n3> .
|
101
|
+
|
102
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10013> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10013.nt> .
|
103
|
+
|
104
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10014> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
105
|
+
|
106
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10014> <http://www.w3.org/2004/11/n3test#description> "Quick variable syntax, simple" .
|
107
|
+
|
108
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10014> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/qvars1.n3> .
|
109
|
+
|
110
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10014> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10014.nt> .
|
111
|
+
|
112
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10015> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
113
|
+
|
114
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10015> <http://www.w3.org/2004/11/n3test#description> "Quick variable syntax, more" .
|
115
|
+
|
116
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10015> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/qvars2.n3> .
|
117
|
+
|
118
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10015> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10015.nt> .
|
119
|
+
|
120
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10016> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
121
|
+
|
122
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10016> <http://www.w3.org/2004/11/n3test#description> "N3 string nested triple quoting" .
|
123
|
+
|
124
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10016> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/lstring.n3> .
|
125
|
+
|
126
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10016> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10016.nt> .
|
127
|
+
|
128
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10017> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
129
|
+
|
130
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10017> <http://www.w3.org/2004/11/n3test#description> "parsing and generation of N3 list syntax" .
|
131
|
+
|
132
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10017> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/lists.n3> .
|
133
|
+
|
134
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10017> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10017.nt> .
|
135
|
+
|
136
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10018> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
137
|
+
|
138
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10018> <http://www.w3.org/2004/11/n3test#description> "Propertylists can end in trailing semicolon." .
|
139
|
+
|
140
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10018> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/trailing-semicolon.n3> .
|
141
|
+
|
142
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10018> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10018.nt> .
|
143
|
+
|
144
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10019> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
145
|
+
|
146
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10019> <http://www.w3.org/2004/11/n3test#description> "Can still read the old 'this log:forSome' syntax" .
|
147
|
+
|
148
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10019> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/this-quantifiers.n3> .
|
149
|
+
|
150
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10019> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10019.nt> .
|
151
|
+
|
152
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10020> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
153
|
+
|
154
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10020> <http://www.w3.org/2004/11/n3test#description> "Can still read the old 'this log:forAll' syntax" .
|
155
|
+
|
156
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10020> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3> .
|
157
|
+
|
158
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10020> <http://www.w3.org/2004/11/n3test#outputDocument> <http://www.w3.org/2000/10/swap/test/n3/n3parser.tests_n3_10020.nt> .
|
159
|
+
|
160
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10021> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
161
|
+
|
162
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10021> <http://www.w3.org/2004/11/n3test#description> "Are we exceeding a maximum recursion limit or two?" .
|
163
|
+
|
164
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10021> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/too-nested.n3> .
|
165
|
+
|
166
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10025> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
167
|
+
|
168
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10025> <http://www.w3.org/2004/11/n3test#description> "The = keyword" .
|
169
|
+
|
170
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10025> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/equals1.n3> .
|
171
|
+
|
172
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10026> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
173
|
+
|
174
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10026> <http://www.w3.org/2004/11/n3test#description> "The = keyword" .
|
175
|
+
|
176
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10026> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/equals2.n3> .
|
177
|
+
|
178
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10027> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#PositiveParserTest> .
|
179
|
+
|
180
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10027> <http://www.w3.org/2004/11/n3test#description> "A statement that says nothing at all" .
|
181
|
+
|
182
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_10027> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/zero-predicates.n3> .
|
183
|
+
|
184
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20000> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#NegativeParserTest> .
|
185
|
+
|
186
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20000> <http://www.w3.org/2004/11/n3test#description> "something that isn't n3" .
|
187
|
+
|
188
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20000> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/tests-work.txt> .
|
189
|
+
|
190
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20001> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#NegativeParserTest> .
|
191
|
+
|
192
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20001> <http://www.w3.org/2004/11/n3test#description> "@keywords is not a valid predicate" .
|
193
|
+
|
194
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20001> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/neg-keywords3.n3> .
|
195
|
+
|
196
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20002> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#NegativeParserTest> .
|
197
|
+
|
198
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20002> <http://www.w3.org/2004/11/n3test#description> "single quoted strings are illegal" .
|
199
|
+
|
200
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20002> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/neg-single-quote.n3> .
|
201
|
+
|
202
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20003> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#NegativeParserTest> .
|
203
|
+
|
204
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20003> <http://www.w3.org/2004/11/n3test#description> "The `this' keyword is no longer legal " .
|
205
|
+
|
206
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20003> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/neg-thisadoc.n3> .
|
207
|
+
|
208
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20004> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#NegativeParserTest> .
|
209
|
+
|
210
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20004> <http://www.w3.org/2004/11/n3test#description> "A predicate cannot be a literal, I hope" .
|
211
|
+
|
212
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20004> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/neg-literal-predicate.n3> .
|
213
|
+
|
214
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20005> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#NegativeParserTest> .
|
215
|
+
|
216
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20005> <http://www.w3.org/2004/11/n3test#description> "A predicate cannot be a formula, I hope" .
|
217
|
+
|
218
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20005> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/neg-formula-predicate.n3> .
|
219
|
+
|
220
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20028> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/11/n3test#NegativeParserTest> .
|
221
|
+
|
222
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20028> <http://www.w3.org/2004/11/n3test#description> "A statement that says nothing at all" .
|
223
|
+
|
224
|
+
<http://www.w3.org/2000/10/swap/test/n3parser.tests#n3_20028> <http://www.w3.org/2004/11/n3test#inputDocument> <http://www.w3.org/2000/10/swap/test/syntax/zero-objects.n3> .
|
225
|
+
|
@@ -0,0 +1,79 @@
|
|
1
|
+
|
2
|
+
_:g35 <http://www.w3.org/2002/07/owl#oneOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
3
|
+
|
4
|
+
_:g36 <http://www.w3.org/2002/07/owl#oneOf> _:li2 .
|
5
|
+
|
6
|
+
_:li2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:g11 .
|
7
|
+
|
8
|
+
_:li2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:li1 .
|
9
|
+
|
10
|
+
_:li1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:g15 .
|
11
|
+
|
12
|
+
_:li1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
13
|
+
|
14
|
+
_:g37 <http://www.w3.org/2002/07/owl#oneOf> _:li3 .
|
15
|
+
|
16
|
+
_:li3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:g23 .
|
17
|
+
|
18
|
+
_:li3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
19
|
+
|
20
|
+
<http://www.w3.org/2000/10/swap/test/contexts.n3#assumption> <http://www.w3.org/2002/07/owl#sameAs> _:g8 .
|
21
|
+
|
22
|
+
<http://www.w3.org/2000/10/swap/test/contexts.n3#conclusion> <http://www.w3.org/2002/07/owl#sameAs> _:g20 .
|
23
|
+
|
24
|
+
<http://www.w3.org/2000/10/swap/test/contexts.n3#trivialTruth> <http://www.w3.org/2002/07/owl#sameAs> _:g28 .
|
25
|
+
|
26
|
+
_:g8 <http://www.w3.org/2004/06/rei#existentials> _:g35 .
|
27
|
+
|
28
|
+
_:g8 <http://www.w3.org/2004/06/rei#statements> _:g36 .
|
29
|
+
|
30
|
+
_:g8 <http://www.w3.org/2004/06/rei#universals> _:g35 .
|
31
|
+
|
32
|
+
_:g11 <http://www.w3.org/2004/06/rei#object> _:g14 .
|
33
|
+
|
34
|
+
_:g11 <http://www.w3.org/2004/06/rei#predicate> _:g13 .
|
35
|
+
|
36
|
+
_:g11 <http://www.w3.org/2004/06/rei#subject> _:g12 .
|
37
|
+
|
38
|
+
_:g12 <http://www.w3.org/2004/06/rei#uri> "http://www.w3.org/2000/10/swap/test/contexts.n3#fred" .
|
39
|
+
|
40
|
+
_:g13 <http://www.w3.org/2004/06/rei#uri> "http://www.example.org/utilities#knows" .
|
41
|
+
|
42
|
+
_:g14 <http://www.w3.org/2004/06/rei#uri> "http://www.w3.org/2000/10/swap/test/contexts.n3#john" .
|
43
|
+
|
44
|
+
_:g15 <http://www.w3.org/2004/06/rei#object> _:g18 .
|
45
|
+
|
46
|
+
_:g15 <http://www.w3.org/2004/06/rei#predicate> _:g17 .
|
47
|
+
|
48
|
+
_:g15 <http://www.w3.org/2004/06/rei#subject> _:g16 .
|
49
|
+
|
50
|
+
_:g16 <http://www.w3.org/2004/06/rei#uri> "http://www.w3.org/2000/10/swap/test/contexts.n3#john" .
|
51
|
+
|
52
|
+
_:g17 <http://www.w3.org/2004/06/rei#uri> "http://www.example.org/utilities#knows" .
|
53
|
+
|
54
|
+
_:g18 <http://www.w3.org/2004/06/rei#uri> "http://www.w3.org/2000/10/swap/test/contexts.n3#mary" .
|
55
|
+
|
56
|
+
_:g20 <http://www.w3.org/2004/06/rei#existentials> _:g35 .
|
57
|
+
|
58
|
+
_:g20 <http://www.w3.org/2004/06/rei#statements> _:g37 .
|
59
|
+
|
60
|
+
_:g20 <http://www.w3.org/2004/06/rei#universals> _:g35 .
|
61
|
+
|
62
|
+
_:g23 <http://www.w3.org/2004/06/rei#object> _:g26 .
|
63
|
+
|
64
|
+
_:g23 <http://www.w3.org/2004/06/rei#predicate> _:g25 .
|
65
|
+
|
66
|
+
_:g23 <http://www.w3.org/2004/06/rei#subject> _:g24 .
|
67
|
+
|
68
|
+
_:g24 <http://www.w3.org/2004/06/rei#uri> "http://www.w3.org/2000/10/swap/test/contexts.n3#fred" .
|
69
|
+
|
70
|
+
_:g25 <http://www.w3.org/2004/06/rei#uri> "http://www.example.org/utilities#knows" .
|
71
|
+
|
72
|
+
_:g26 <http://www.w3.org/2004/06/rei#uri> "http://www.w3.org/2000/10/swap/test/contexts.n3#mary" .
|
73
|
+
|
74
|
+
_:g28 <http://www.w3.org/2004/06/rei#existentials> _:g35 .
|
75
|
+
|
76
|
+
_:g28 <http://www.w3.org/2004/06/rei#statements> _:g35 .
|
77
|
+
|
78
|
+
_:g28 <http://www.w3.org/2004/06/rei#universals> _:g35 .
|
79
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
|
2
|
+
<http://www.w3.org/2000/10/swap/test/strquot.n3> <http://purl.org/dc/elements/1.1/description> "testing string parsing in N3.\nHmm... how much of this is in the primer?\nHow much should be there?\n@@ Holding off on unicode until support\nin python is sufficiently deployed\n(e.g. python on tux doesn't grok,\nnor does pythonwin on TimBL's laptop).\n" .
|
3
|
+
|
4
|
+
<http://www.w3.org/2000/10/swap/test/strquot.n3#martin> <http://www.w3.org/2000/10/swap/test/strquot.n3#surname> "D\u00FCrst" .
|
5
|
+
|
6
|
+
<http://www.w3.org/2000/10/swap/test/strquot.n3#x> <http://www.w3.org/2000/10/swap/test/strquot.n3#prop> "simple string" .
|
7
|
+
|
8
|
+
<http://www.w3.org/2000/10/swap/test/strquot.n3#y> <http://www.w3.org/2000/10/swap/test/strquot.n3#prop> "triple quoted\nstring with newlines in it." .
|
9
|
+
|
10
|
+
<http://www.w3.org/2000/10/swap/test/strquot.n3#z> <http://www.w3.org/2000/10/swap/test/strquot.n3#prop> "string with \" escaped quote marks" .
|
11
|
+
|
12
|
+
<http://www.w3.org/2000/10/swap/test/strquot.n3#zz> <http://www.w3.org/2000/10/swap/test/strquot.n3#escapes> "\\\"\a\b\f\r\t\v" .
|
13
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
|
2
|
+
<http://www.w3.org/2000/10/swap/test/i18n/hiragana.n3#D%C3%BCrst> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> "URI percent ^encoded as C3, BC" .
|
3
|
+
|
4
|
+
<http://www.w3.org/2000/10/swap/test/i18n/hiragana.n3#D\u00FCrst> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> "URI straight in UTF8" .
|
5
|
+
|
6
|
+
_:L9C7 <http://www.w3.org/2000/10/swap/test/i18n/hiragana.n3#script> "\u3072\u3089\u304C\u306A" .
|
7
|
+
|
8
|
+
_:L9C7 <http://www.w3.org/2000/01/rdf-schema#label> "Martin J D\u00FCrst" .
|
9
|
+
|
10
|
+
_:L11C2 <http://www.w3.org/2000/10/swap/test/i18n/hiragana.n3#related> <http://www.w3.org/2000/10/swap/test/i18n/hiragana.n3#\u3072\u3089\u304C\u306A> .
|
11
|
+
|
12
|
+
_:L11C2 <http://www.w3.org/2000/01/rdf-schema#label> "A test with a non-ascii qname" .
|
13
|
+
|
14
|
+
_:L12C2 <http://www.w3.org/2000/10/swap/test/i18n/hiragana.n3#related> <http://www.w3.org/2000/10/swap/test/i18n/hiragana.n3#D\u00FCrst> .
|
15
|
+
|
16
|
+
_:L12C2 <http://www.w3.org/2000/01/rdf-schema#label> "A test with a non-ascii fragid" .
|
17
|
+
|
18
|
+
_:L15C2 <http://www.w3.org/2000/10/swap/test/i18n/hiragana.n3#related> <http://www.w3.org/2000/10/swap/test/i18n/hiragana.n3#D%C3%BCrst> .
|
19
|
+
|
20
|
+
_:L15C2 <http://www.w3.org/2000/01/rdf-schema#label> "A test with a percent-encoded unicode char in an IRI" .
|
21
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
|
2
|
+
<http://www.w3.org/2000/10/swap/test/syntax/foo.n3#albert> <http://www.daml.example.org/2001/03/fam#mother> _:L18C10 .
|
3
|
+
|
4
|
+
_:L18C10 <http://www.daml.example.org/2001/03/fam#sister> <http://www.w3.org/2000/10/swap/test/syntax/foo.n3#auntieAnne> .
|
5
|
+
|
6
|
+
_:L20C10 <http://www.daml.example.org/2001/03/fam#father> <http://www.w3.org/2000/10/swap/test/syntax/foo.n3#albert> .
|
7
|
+
|
8
|
+
_:L20C10 <http://www.daml.example.org/2001/03/fam#sister> <http://www.w3.org/2000/10/swap/test/syntax/foo.n3#nieceBertha> .
|
9
|
+
|
@@ -0,0 +1,53 @@
|
|
1
|
+
|
2
|
+
_:li2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1" .
|
3
|
+
|
4
|
+
_:li2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:li1 .
|
5
|
+
|
6
|
+
_:li1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "2" .
|
7
|
+
|
8
|
+
_:li1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
9
|
+
|
10
|
+
_:li4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:L27C7 .
|
11
|
+
|
12
|
+
_:li4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:li3 .
|
13
|
+
|
14
|
+
_:li3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:L27C16 .
|
15
|
+
|
16
|
+
_:li3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
17
|
+
|
18
|
+
_:li5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:L27C45 .
|
19
|
+
|
20
|
+
_:li5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
21
|
+
|
22
|
+
_:li2 <http://www.w3.org/2000/10/swap/math#sum> _:L20C12 .
|
23
|
+
|
24
|
+
_:li4 <http://www.w3.org/2000/10/swap/test/syntax/path2.n3#relatedTo> _:li5 .
|
25
|
+
|
26
|
+
<http://www.w3.org/2000/10/swap/test/syntax/a> <http://www.w3.org/2000/10/swap/test/syntax/b> _:L27C7 .
|
27
|
+
|
28
|
+
<http://www.w3.org/2000/10/swap/test/syntax/e> <http://www.w3.org/2000/10/swap/test/syntax/f> _:L27C41 .
|
29
|
+
|
30
|
+
<http://www.w3.org/2000/10/swap/test/syntax/foo.n3#admires> <http://www.w3.org/2000/10/swap/test/syntax/foo.n3#converse> _:L18C21 .
|
31
|
+
|
32
|
+
<http://www.w3.org/2000/10/swap/test/syntax/foo.n3#albert> <http://www.daml.example.org/2001/03/fam#mother> _:L16C10 .
|
33
|
+
|
34
|
+
<http://www.w3.org/2000/10/swap/test/syntax/foo.n3#albert> _:L18C21 <http://www.w3.org/2000/10/swap/test/syntax/foo.n3#grumpy> .
|
35
|
+
|
36
|
+
<http://www.w3.org/2000/10/swap/test/syntax/foo.n3#mentor> <http://www.w3.org/2000/10/swap/test/syntax/foo.n3#inverse> _:L16C29 .
|
37
|
+
|
38
|
+
<http://www.w3.org/2000/10/swap/test/syntax/foo.n3#x> <http://www.w3.org/2000/01/rdf-schema#label> _:L22C22 .
|
39
|
+
|
40
|
+
<http://www.w3.org/2000/10/swap/test/syntax/foo.n3#x> <http://www.w3.org/2000/01/rdf-schema#label> _:L22C38 .
|
41
|
+
|
42
|
+
_:L16C10 _:L16C29 <http://www.w3.org/2000/10/swap/test/syntax/foo.n3#auntieAnne> .
|
43
|
+
|
44
|
+
_:L20C12 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/10/swap/test/syntax/foo.n3#THREE> .
|
45
|
+
|
46
|
+
_:L22C22 <http://www.daml.example.org/2000/10/lang#eng> "Help!" .
|
47
|
+
|
48
|
+
_:L22C38 <http://www.daml.example.org/2000/10/lang#fr> "foo" .
|
49
|
+
|
50
|
+
_:L27C16 <http://www.w3.org/2000/10/swap/test/syntax/d> <http://www.w3.org/2000/10/swap/test/syntax/c> .
|
51
|
+
|
52
|
+
_:L27C41 <http://www.w3.org/2000/10/swap/test/syntax/g> _:L27C45 .
|
53
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
|
2
|
+
"Le chat"@fr <http://www.w3.org/2000/10/swap/test/syntax/numbers.n3#is> "The french phrase 'Le chat'" .
|
3
|
+
|
4
|
+
"800/600"^^<http://example.com/types#rational> <http://www.w3.org/2000/10/swap/test/syntax/numbers.n3#is> "800/600 with datatype http://example.com/types#rational" .
|
5
|
+
|
6
|
+
"2"^^<http://www.w3.org/2001/XMLSchema#decimal> <http://www.w3.org/2000/10/swap/test/syntax/numbers.n3#is> "The number 2.0" .
|
7
|
+
|
8
|
+
"2"^^<http://www.w3.org/2001/XMLSchema#decimal> <http://www.w3.org/2000/10/swap/test/syntax/numbers.n3#is> "The number 2.0 expressed with extra trailing zeroes" .
|
9
|
+
|
10
|
+
"2000.0"^^<http://www.w3.org/2001/XMLSchema#double> <http://www.w3.org/2000/10/swap/test/syntax/numbers.n3#is> "The double precision floating point 2.0e3" .
|
11
|
+
|
12
|
+
"-2"^^<http://www.w3.org/2001/XMLSchema#integer> <http://www.w3.org/2000/10/swap/test/syntax/numbers.n3#is> "The integer -2" .
|
13
|
+
|
14
|
+
"0"^^<http://www.w3.org/2001/XMLSchema#integer> <http://www.w3.org/2000/10/swap/test/syntax/numbers.n3#is> "Zero" .
|
15
|
+
|
16
|
+
"2"^^<http://www.w3.org/2001/XMLSchema#integer> <http://www.w3.org/2000/10/swap/test/syntax/numbers.n3#is> "The integer 2" .
|
17
|
+
|
18
|
+
"2"^^<http://www.w3.org/2001/XMLSchema#integer> <http://www.w3.org/2000/10/swap/test/syntax/numbers.n3#is> "The integer 2 expressed with leading zeroes" .
|
19
|
+
|
@@ -0,0 +1,103 @@
|
|
1
|
+
|
2
|
+
_:g38 <http://www.w3.org/2002/07/owl#oneOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
3
|
+
|
4
|
+
_:g39 <http://www.w3.org/2002/07/owl#oneOf> _:li3 .
|
5
|
+
|
6
|
+
_:li3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars1.n3#a" .
|
7
|
+
|
8
|
+
_:li3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:li2 .
|
9
|
+
|
10
|
+
_:li2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars1.n3#b" .
|
11
|
+
|
12
|
+
_:li2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:li1 .
|
13
|
+
|
14
|
+
_:li1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars1.n3#c" .
|
15
|
+
|
16
|
+
_:li1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
17
|
+
|
18
|
+
_:g40 <http://www.w3.org/2002/07/owl#oneOf> _:li5 .
|
19
|
+
|
20
|
+
_:li5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:g14 .
|
21
|
+
|
22
|
+
_:li5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:li4 .
|
23
|
+
|
24
|
+
_:li4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:g18 .
|
25
|
+
|
26
|
+
_:li4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
27
|
+
|
28
|
+
_:g41 <http://www.w3.org/2002/07/owl#oneOf> _:li6 .
|
29
|
+
|
30
|
+
_:li6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:g27 .
|
31
|
+
|
32
|
+
_:li6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
33
|
+
|
34
|
+
_:g42 <http://www.w3.org/2002/07/owl#oneOf> _:li7 .
|
35
|
+
|
36
|
+
_:li7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:g10 .
|
37
|
+
|
38
|
+
_:li7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
39
|
+
|
40
|
+
_:g7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/10/swap/log#Truth> .
|
41
|
+
|
42
|
+
_:g7 <http://www.w3.org/2004/06/rei#existentials> _:g38 .
|
43
|
+
|
44
|
+
_:g7 <http://www.w3.org/2004/06/rei#statements> _:g42 .
|
45
|
+
|
46
|
+
_:g7 <http://www.w3.org/2004/06/rei#universals> _:g39 .
|
47
|
+
|
48
|
+
_:g10 <http://www.w3.org/2004/06/rei#object> _:g24 .
|
49
|
+
|
50
|
+
_:g10 <http://www.w3.org/2004/06/rei#predicate> _:g23 .
|
51
|
+
|
52
|
+
_:g10 <http://www.w3.org/2004/06/rei#subject> _:g11 .
|
53
|
+
|
54
|
+
_:g11 <http://www.w3.org/2004/06/rei#existentials> _:g38 .
|
55
|
+
|
56
|
+
_:g11 <http://www.w3.org/2004/06/rei#statements> _:g40 .
|
57
|
+
|
58
|
+
_:g11 <http://www.w3.org/2004/06/rei#universals> _:g38 .
|
59
|
+
|
60
|
+
_:g14 <http://www.w3.org/2004/06/rei#object> _:g17 .
|
61
|
+
|
62
|
+
_:g14 <http://www.w3.org/2004/06/rei#predicate> _:g16 .
|
63
|
+
|
64
|
+
_:g14 <http://www.w3.org/2004/06/rei#subject> _:g15 .
|
65
|
+
|
66
|
+
_:g15 <http://www.w3.org/2004/06/rei#uri> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars1.n3#a" .
|
67
|
+
|
68
|
+
_:g16 <http://www.w3.org/2004/06/rei#uri> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars1.n3#mother" .
|
69
|
+
|
70
|
+
_:g17 <http://www.w3.org/2004/06/rei#uri> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars1.n3#b" .
|
71
|
+
|
72
|
+
_:g18 <http://www.w3.org/2004/06/rei#object> _:g21 .
|
73
|
+
|
74
|
+
_:g18 <http://www.w3.org/2004/06/rei#predicate> _:g20 .
|
75
|
+
|
76
|
+
_:g18 <http://www.w3.org/2004/06/rei#subject> _:g19 .
|
77
|
+
|
78
|
+
_:g19 <http://www.w3.org/2004/06/rei#uri> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars1.n3#a" .
|
79
|
+
|
80
|
+
_:g20 <http://www.w3.org/2004/06/rei#uri> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars1.n3#sister" .
|
81
|
+
|
82
|
+
_:g21 <http://www.w3.org/2004/06/rei#uri> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars1.n3#c" .
|
83
|
+
|
84
|
+
_:g23 <http://www.w3.org/2004/06/rei#uri> "http://www.w3.org/2000/10/swap/log#implies" .
|
85
|
+
|
86
|
+
_:g24 <http://www.w3.org/2004/06/rei#existentials> _:g38 .
|
87
|
+
|
88
|
+
_:g24 <http://www.w3.org/2004/06/rei#statements> _:g41 .
|
89
|
+
|
90
|
+
_:g24 <http://www.w3.org/2004/06/rei#universals> _:g38 .
|
91
|
+
|
92
|
+
_:g27 <http://www.w3.org/2004/06/rei#object> _:g30 .
|
93
|
+
|
94
|
+
_:g27 <http://www.w3.org/2004/06/rei#predicate> _:g29 .
|
95
|
+
|
96
|
+
_:g27 <http://www.w3.org/2004/06/rei#subject> _:g28 .
|
97
|
+
|
98
|
+
_:g28 <http://www.w3.org/2004/06/rei#uri> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars1.n3#b" .
|
99
|
+
|
100
|
+
_:g29 <http://www.w3.org/2004/06/rei#uri> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars1.n3#aunt" .
|
101
|
+
|
102
|
+
_:g30 <http://www.w3.org/2004/06/rei#uri> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars1.n3#c" .
|
103
|
+
|