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,103 @@
|
|
1
|
+
|
2
|
+
_:g39 <http://www.w3.org/2002/07/owl#oneOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
3
|
+
|
4
|
+
_:g40 <http://www.w3.org/2002/07/owl#oneOf> _:li2 .
|
5
|
+
|
6
|
+
_:li2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars2.n3#b" .
|
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> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars2.n3#c" .
|
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
|
+
_:g41 <http://www.w3.org/2002/07/owl#oneOf> _:li3 .
|
15
|
+
|
16
|
+
_:li3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars2.n3#_g_L16C3" .
|
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
|
+
_:g42 <http://www.w3.org/2002/07/owl#oneOf> _:li5 .
|
21
|
+
|
22
|
+
_:li5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:g15 .
|
23
|
+
|
24
|
+
_:li5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:li4 .
|
25
|
+
|
26
|
+
_:li4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:g19 .
|
27
|
+
|
28
|
+
_:li4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
29
|
+
|
30
|
+
_:g43 <http://www.w3.org/2002/07/owl#oneOf> _:li6 .
|
31
|
+
|
32
|
+
_:li6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:g27 .
|
33
|
+
|
34
|
+
_:li6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
35
|
+
|
36
|
+
_:g44 <http://www.w3.org/2002/07/owl#oneOf> _:li7 .
|
37
|
+
|
38
|
+
_:li7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:g11 .
|
39
|
+
|
40
|
+
_:li7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
41
|
+
|
42
|
+
_:g8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/10/swap/log#Truth> .
|
43
|
+
|
44
|
+
_:g8 <http://www.w3.org/2004/06/rei#existentials> _:g39 .
|
45
|
+
|
46
|
+
_:g8 <http://www.w3.org/2004/06/rei#statements> _:g44 .
|
47
|
+
|
48
|
+
_:g8 <http://www.w3.org/2004/06/rei#universals> _:g40 .
|
49
|
+
|
50
|
+
_:g11 <http://www.w3.org/2004/06/rei#object> _:g24 .
|
51
|
+
|
52
|
+
_:g11 <http://www.w3.org/2004/06/rei#predicate> _:g23 .
|
53
|
+
|
54
|
+
_:g11 <http://www.w3.org/2004/06/rei#subject> _:g12 .
|
55
|
+
|
56
|
+
_:g12 <http://www.w3.org/2004/06/rei#existentials> _:g41 .
|
57
|
+
|
58
|
+
_:g12 <http://www.w3.org/2004/06/rei#statements> _:g42 .
|
59
|
+
|
60
|
+
_:g12 <http://www.w3.org/2004/06/rei#universals> _:g39 .
|
61
|
+
|
62
|
+
_:g15 <http://www.w3.org/2004/06/rei#object> _:g18 .
|
63
|
+
|
64
|
+
_:g15 <http://www.w3.org/2004/06/rei#predicate> _:g17 .
|
65
|
+
|
66
|
+
_:g15 <http://www.w3.org/2004/06/rei#subject> _:g16 .
|
67
|
+
|
68
|
+
_:g16 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/06/rei#BlankNode> .
|
69
|
+
|
70
|
+
_:g17 <http://www.w3.org/2004/06/rei#uri> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars2.n3#parent" .
|
71
|
+
|
72
|
+
_:g18 <http://www.w3.org/2004/06/rei#uri> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars2.n3#b" .
|
73
|
+
|
74
|
+
_:g19 <http://www.w3.org/2004/06/rei#object> _:g21 .
|
75
|
+
|
76
|
+
_:g19 <http://www.w3.org/2004/06/rei#predicate> _:g20 .
|
77
|
+
|
78
|
+
_:g19 <http://www.w3.org/2004/06/rei#subject> _:g16 .
|
79
|
+
|
80
|
+
_:g20 <http://www.w3.org/2004/06/rei#uri> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars2.n3#sister" .
|
81
|
+
|
82
|
+
_:g21 <http://www.w3.org/2004/06/rei#uri> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars2.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> _:g39 .
|
87
|
+
|
88
|
+
_:g24 <http://www.w3.org/2004/06/rei#statements> _:g43 .
|
89
|
+
|
90
|
+
_:g24 <http://www.w3.org/2004/06/rei#universals> _:g39 .
|
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/qvars2.n3#b" .
|
99
|
+
|
100
|
+
_:g29 <http://www.w3.org/2004/06/rei#uri> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars2.n3#aunt" .
|
101
|
+
|
102
|
+
_:g30 <http://www.w3.org/2004/06/rei#uri> "file:/home/syosi/CVS-local/WWW/2000/10/swap/test/syntax/qvars2.n3#c" .
|
103
|
+
|
@@ -0,0 +1,3 @@
|
|
1
|
+
|
2
|
+
" @prefix : <http://www.w3.org/2000/10/swap/test/crypto/acc.n3#> .\n @prefix crypto: <http://www.w3.org/2000/10/swap/crypto#> .\n @prefix log: <http://www.w3.org/2000/10/swap/log#> .\n @prefix os: <http://www.w3.org/2000/10/swap/os#> .\n @prefix string: <http://www.w3.org/2000/10/swap/string#> .\n \n \"\"\"\nMzE5MDcKCjM2ODkyMzAyMDE1MzgwMjY2NTU5MzgzNjMyMDQyOTM1Mjc4MDk3MzAwNzE4ODMzOTY3\nNTY3NTk1Njg5MjE2Mjk0NzkyMzUyNTQ3OTQzMjI4MjM2MDEwNjQwMTAyMjcxODk0OTY2MzgzNjQ1\nNDQyODQ5Njg3MzUzOTM2NzAyMTI5NDgxNDg4MzIxMzUyODEyMTc1NjIxNjE0NjE5Mzk2MDY4MjE2\nNzk1MzY0NjAxNjE0MzM5NDYzOTIyMDMwMDE4NTEyODMyMTg0NDIyMzI3MzcxNzE5MjcxMzY0ODY1\nMjEzMzU1OTc4Nzk0OTIyMzQ4NDU5NTUxMTQ2MTcyNjE0MTk3ODI2NTg0NDA2Mzg2OTQwMTcwNTE4\nOTY0MDQzNzMxNzEyODc1OTk3NjAyNjE4ODUzNDQ1Mw=3D=3D\n\"\"\" a :RequestKey;\n :authorityName <Tiina>;\n :junk \"327462sjsdfjsakdhfkjsafd32164321\" .\n" <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/10/swap/test/syntax/lstring.n3#test_string> .
|
3
|
+
|
@@ -0,0 +1,151 @@
|
|
1
|
+
|
2
|
+
_:li3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/2000/10/swap/test/test#b> .
|
3
|
+
|
4
|
+
_:li3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:li2 .
|
5
|
+
|
6
|
+
_:li2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/2000/10/swap/test/test#c> .
|
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> <http://www.w3.org/2000/10/swap/test/test#d> .
|
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
|
+
_:li9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/2000/10/swap/test/test#first> .
|
15
|
+
|
16
|
+
_:li9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:li8 .
|
17
|
+
|
18
|
+
_:li8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/2000/10/swap/test/test#second> .
|
19
|
+
|
20
|
+
_:li8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:li7 .
|
21
|
+
|
22
|
+
_:li7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:li5 .
|
23
|
+
|
24
|
+
_:li7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:li6 .
|
25
|
+
|
26
|
+
_:li6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/2000/10/swap/test/test#fourth> .
|
27
|
+
|
28
|
+
_:li6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
29
|
+
|
30
|
+
_:li5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/2000/10/swap/test/test#left3> .
|
31
|
+
|
32
|
+
_:li5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:li4 .
|
33
|
+
|
34
|
+
_:li4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/2000/10/swap/test/test#right3> .
|
35
|
+
|
36
|
+
_:li4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
37
|
+
|
38
|
+
_:li11 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
39
|
+
|
40
|
+
_:li11 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:li10 .
|
41
|
+
|
42
|
+
_:li10 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
43
|
+
|
44
|
+
_:li10 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
45
|
+
|
46
|
+
_:li13 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:L17C14 .
|
47
|
+
|
48
|
+
_:li13 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:li12 .
|
49
|
+
|
50
|
+
_:li12 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:L17C25 .
|
51
|
+
|
52
|
+
_:li12 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
53
|
+
|
54
|
+
_:li14 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "subj1" .
|
55
|
+
|
56
|
+
_:li14 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
57
|
+
|
58
|
+
_:li16 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "subj2a" .
|
59
|
+
|
60
|
+
_:li16 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:li15 .
|
61
|
+
|
62
|
+
_:li15 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "subj2b" .
|
63
|
+
|
64
|
+
_:li15 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
65
|
+
|
66
|
+
_:li17 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
|
67
|
+
|
68
|
+
_:li17 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
69
|
+
|
70
|
+
_:g28 <http://www.w3.org/2002/07/owl#oneOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
71
|
+
|
72
|
+
_:g29 <http://www.w3.org/2002/07/owl#oneOf> _:li20 .
|
73
|
+
|
74
|
+
_:li20 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:g12 .
|
75
|
+
|
76
|
+
_:li20 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
77
|
+
|
78
|
+
_:g30 <http://www.w3.org/2002/07/owl#oneOf> _:li21 .
|
79
|
+
|
80
|
+
_:li21 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:g20 .
|
81
|
+
|
82
|
+
_:li21 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
83
|
+
|
84
|
+
_:li23 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:g9 .
|
85
|
+
|
86
|
+
_:li23 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:li22 .
|
87
|
+
|
88
|
+
_:li22 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:g17 .
|
89
|
+
|
90
|
+
_:li22 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
91
|
+
|
92
|
+
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://www.w3.org/2000/10/swap/test/test#verb0> <http://www.w3.org/2000/10/swap/test/test#object0> .
|
93
|
+
|
94
|
+
_:li14 <http://www.w3.org/2000/10/swap/test/test#verb1> <http://www.w3.org/2000/10/swap/test/test#object1> .
|
95
|
+
|
96
|
+
_:li16 <http://www.w3.org/2000/10/swap/test/test#verb2> <http://www.w3.org/2000/10/swap/test/test#object2> .
|
97
|
+
|
98
|
+
_:li17 <http://www.w3.org/2000/10/swap/test/lists.n3#linksEqualLists> _:li17 .
|
99
|
+
|
100
|
+
<http://www.w3.org/2000/10/swap/test/test#emptyList> <http://www.w3.org/2002/07/owl#sameAs> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
|
101
|
+
|
102
|
+
<http://www.w3.org/2000/10/swap/test/test#listOf2Empties> <http://www.w3.org/2002/07/owl#sameAs> _:li11 .
|
103
|
+
|
104
|
+
<http://www.w3.org/2000/10/swap/test/test#nested> <http://www.w3.org/2002/07/owl#sameAs> _:li9 .
|
105
|
+
|
106
|
+
<http://www.w3.org/2000/10/swap/test/test#threeItems> <http://www.w3.org/2002/07/owl#sameAs> _:li3 .
|
107
|
+
|
108
|
+
<http://www.w3.org/2000/10/swap/test/test#twoAnons> <http://www.w3.org/2002/07/owl#sameAs> _:li13 .
|
109
|
+
|
110
|
+
<http://www.w3.org/2000/10/swap/test/test#twoFormulae> <http://www.w3.org/2002/07/owl#sameAs> _:li23 .
|
111
|
+
|
112
|
+
_:L17C14 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/10/swap/test/test#mother> .
|
113
|
+
|
114
|
+
_:L17C25 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/10/swap/test/test#father> .
|
115
|
+
|
116
|
+
_:g9 <http://www.w3.org/2004/06/rei#existentials> _:g28 .
|
117
|
+
|
118
|
+
_:g9 <http://www.w3.org/2004/06/rei#statements> _:g29 .
|
119
|
+
|
120
|
+
_:g9 <http://www.w3.org/2004/06/rei#universals> _:g28 .
|
121
|
+
|
122
|
+
_:g12 <http://www.w3.org/2004/06/rei#object> _:g15 .
|
123
|
+
|
124
|
+
_:g12 <http://www.w3.org/2004/06/rei#predicate> _:g14 .
|
125
|
+
|
126
|
+
_:g12 <http://www.w3.org/2004/06/rei#subject> _:g13 .
|
127
|
+
|
128
|
+
_:g13 <http://www.w3.org/2004/06/rei#uri> "http://www.w3.org/2000/10/swap/test/test#a" .
|
129
|
+
|
130
|
+
_:g14 <http://www.w3.org/2004/06/rei#uri> "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" .
|
131
|
+
|
132
|
+
_:g15 <http://www.w3.org/2004/06/rei#uri> "http://www.w3.org/2000/10/swap/test/test#mother" .
|
133
|
+
|
134
|
+
_:g17 <http://www.w3.org/2004/06/rei#existentials> _:g28 .
|
135
|
+
|
136
|
+
_:g17 <http://www.w3.org/2004/06/rei#statements> _:g30 .
|
137
|
+
|
138
|
+
_:g17 <http://www.w3.org/2004/06/rei#universals> _:g28 .
|
139
|
+
|
140
|
+
_:g20 <http://www.w3.org/2004/06/rei#object> _:g23 .
|
141
|
+
|
142
|
+
_:g20 <http://www.w3.org/2004/06/rei#predicate> _:g22 .
|
143
|
+
|
144
|
+
_:g20 <http://www.w3.org/2004/06/rei#subject> _:g21 .
|
145
|
+
|
146
|
+
_:g21 <http://www.w3.org/2004/06/rei#uri> "http://www.w3.org/2000/10/swap/test/test#b" .
|
147
|
+
|
148
|
+
_:g22 <http://www.w3.org/2004/06/rei#uri> "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" .
|
149
|
+
|
150
|
+
_:g23 <http://www.w3.org/2004/06/rei#uri> "http://www.w3.org/2000/10/swap/test/test#father" .
|
151
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
|
2
|
+
<http://www.w3.org/2000/10/swap/test/syntax/trailing-semicolon.n3#b> <http://www.w3.org/2000/10/swap/test/syntax/trailing-semicolon.n3#c> <http://www.w3.org/2000/10/swap/test/syntax/trailing-semicolon.n3#d> .
|
3
|
+
|
4
|
+
<http://www.w3.org/2000/10/swap/test/syntax/trailing-semicolon.n3#e> <http://www.w3.org/2000/10/swap/test/syntax/trailing-semicolon.n3#f> _:L9C5 .
|
5
|
+
|
6
|
+
_:L9C5 <http://www.w3.org/2000/10/swap/test/syntax/trailing-semicolon.n3#g> <http://www.w3.org/2000/10/swap/test/syntax/trailing-semicolon.n3#h> .
|
7
|
+
|
8
|
+
_:L9C5 <http://www.w3.org/2000/10/swap/test/syntax/trailing-semicolon.n3#i> <http://www.w3.org/2000/10/swap/test/syntax/trailing-semicolon.n3#j> .
|
9
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
|
2
|
+
<http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3#_work> <http://www.w3.org/2000/10/swap/log#forAll> <http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3#a> .
|
3
|
+
|
4
|
+
<http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3#_work> <http://www.w3.org/2000/10/swap/log#forAll> <http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3#b> .
|
5
|
+
|
6
|
+
<http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3#_work> <http://www.w3.org/2000/10/swap/log#forAll> <http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3#p> .
|
7
|
+
|
8
|
+
<http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3#ancestor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#TransitiveProperty> .
|
9
|
+
|
10
|
+
<http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3#bill> <http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3#ancestor> <http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3#pa> .
|
11
|
+
|
12
|
+
<http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3#pa> <http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3#ancestor> <http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3#granpa> .
|
13
|
+
|
@@ -0,0 +1,160 @@
|
|
1
|
+
@prefix : <#>.
|
2
|
+
@prefix x: <#>.
|
3
|
+
@prefix test: <http://www.w3.org/2000/10/swap/test.n3#>.
|
4
|
+
@prefix dc: <http://purl.org/dc/elements/1.1/>. # yuk - under protest - no hash
|
5
|
+
@prefix n3test: <http://www.w3.org/2004/11/n3test#> .
|
6
|
+
@prefix grammar: <http://www.w3.org/2000/10/swap/grammar/> .
|
7
|
+
|
8
|
+
:n3_10001 a n3test:PositiveParserTest;
|
9
|
+
n3test:inputDocument <syntax/no-last-nl.n3> ;
|
10
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10001.nt> ;
|
11
|
+
n3test:description "An N3 file with no final newline character" .
|
12
|
+
|
13
|
+
:n3_10002 a n3test:PositiveParserTest;
|
14
|
+
n3test:description "combinations of - and _ in identifiers";
|
15
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10002.nt> ;
|
16
|
+
n3test:inputDocument <syntax/dot-dash.n3> .
|
17
|
+
|
18
|
+
:n3_10003 a n3test:PositiveParserTest;
|
19
|
+
n3test:description "@keywords in n3";
|
20
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10003.nt> ;
|
21
|
+
n3test:inputDocument <syntax/keywords1.n3> .
|
22
|
+
|
23
|
+
:n3_10004 a n3test:PositiveParserTest;
|
24
|
+
n3test:description "using no keywords in n3";
|
25
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10004.nt> ;
|
26
|
+
n3test:inputDocument <syntax/keywords2.n3>.
|
27
|
+
|
28
|
+
:n3_10005 a n3test:PositiveParserTest;
|
29
|
+
n3test:description "djb noticed a:b was parsed as rdf:type token";
|
30
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10005.nt> ;
|
31
|
+
n3test:inputDocument <syntax/djb1a.n3>.
|
32
|
+
|
33
|
+
#:n3_10006 a n3test:PositiveParserTest;
|
34
|
+
# n3test:description "we might as well be nice and self-referential";
|
35
|
+
# n3test:outputDocument <n3/n3parser.tests_n3_10006.nt> ;
|
36
|
+
# n3test:inputDocument <>.
|
37
|
+
|
38
|
+
:n3_10007 a n3test:PositiveParserTest;
|
39
|
+
n3test:description "Parse and generate simple contexts";
|
40
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10007.nt> ;
|
41
|
+
n3test:inputDocument <contexts.n3>.
|
42
|
+
|
43
|
+
:n3_10008 a n3test:PositiveParserTest;
|
44
|
+
n3test:description "Parse and regen anonymous property";
|
45
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10008.nt> ;
|
46
|
+
n3test:inputDocument <anon-prop.n3> .
|
47
|
+
|
48
|
+
:n3_10009 a n3test:PositiveParserTest;
|
49
|
+
n3test:description "N3 string quoting with escaping";
|
50
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10009.nt> ;
|
51
|
+
n3test:inputDocument <strquot.n3> .
|
52
|
+
|
53
|
+
:n3_10010 a n3test:PositiveParserTest;
|
54
|
+
n3test:description "N3 string, qname and IRI with utf-8 non-ascii characters";
|
55
|
+
n3test:inputDocument <i18n/hiragana.n3> .
|
56
|
+
|
57
|
+
:n3_10011 a n3test:PositiveParserTest;
|
58
|
+
n3test:description "Path syntax, simple";
|
59
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10011.nt> ;
|
60
|
+
n3test:inputDocument <syntax/path1.n3> .
|
61
|
+
|
62
|
+
|
63
|
+
:n3_10012 a n3test:PositiveParserTest;
|
64
|
+
n3test:description "Path syntax, more";
|
65
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10012.nt> ;
|
66
|
+
n3test:inputDocument <syntax/path2.n3> .
|
67
|
+
|
68
|
+
:n3_10013 a n3test:PositiveParserTest;
|
69
|
+
n3test:description "Number syntax";
|
70
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10013.nt> ;
|
71
|
+
n3test:inputDocument <syntax/numbers.n3> .
|
72
|
+
|
73
|
+
:n3_10014 a n3test:PositiveParserTest;
|
74
|
+
n3test:description "Quick variable syntax, simple";
|
75
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10014.nt> ;
|
76
|
+
n3test:inputDocument <syntax/qvars1.n3> .
|
77
|
+
|
78
|
+
:n3_10015 a n3test:PositiveParserTest;
|
79
|
+
n3test:description "Quick variable syntax, more";
|
80
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10015.nt> ;
|
81
|
+
n3test:inputDocument <syntax/qvars2.n3> .
|
82
|
+
|
83
|
+
:n3_10016 a n3test:PositiveParserTest;
|
84
|
+
n3test:description "N3 string nested triple quoting";
|
85
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10016.nt> ;
|
86
|
+
n3test:inputDocument <syntax/lstring.n3> .
|
87
|
+
|
88
|
+
:n3_10017 a n3test:PositiveParserTest;
|
89
|
+
n3test:description "parsing and generation of N3 list syntax";
|
90
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10017.nt> ;
|
91
|
+
n3test:inputDocument <lists.n3> .
|
92
|
+
|
93
|
+
:n3_10018 a n3test:PositiveParserTest;
|
94
|
+
n3test:description "Propertylists can end in trailing semicolon.";
|
95
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10018.nt> ;
|
96
|
+
n3test:inputDocument <syntax/trailing-semicolon.n3> .
|
97
|
+
|
98
|
+
#:n3_10021 a n3test:PositiveParserTest;
|
99
|
+
# n3test:description "Are we exceeding a maximum recursion limit or two?";
|
100
|
+
# n3test:inputDocument <syntax/too-nested.n3> .
|
101
|
+
|
102
|
+
:n3_10025 a n3test:PositiveParserTest;
|
103
|
+
n3test:description "The = keyword";
|
104
|
+
# n3test:outputDocument <n3/n3parser.tests_n3_10020.nt> ;
|
105
|
+
n3test:inputDocument <syntax/equals1.n3> .
|
106
|
+
|
107
|
+
:n3_10026 a n3test:PositiveParserTest;
|
108
|
+
n3test:description "The = keyword";
|
109
|
+
# n3test:outputDocument <n3/n3parser.tests_n3_10020.nt> ;
|
110
|
+
n3test:inputDocument <syntax/equals2.n3> .
|
111
|
+
|
112
|
+
:n3_10027 a n3test:PositiveParserTest;
|
113
|
+
n3test:description "A statement that says nothing at all";
|
114
|
+
# n3test:outputDocument <n3/n3parser.tests_n3_10020.nt> ;
|
115
|
+
n3test:inputDocument <syntax/zero-predicates.n3> .
|
116
|
+
|
117
|
+
:n3_20028 a n3test:NegativeParserTest;
|
118
|
+
n3test:description "A statement that says nothing at all";
|
119
|
+
# n3test:outputDocument <n3/n3parser.tests_n3_10020.nt> ;
|
120
|
+
n3test:inputDocument <syntax/zero-objects.n3> .
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
:n3_20000 a n3test:NegativeParserTest;
|
125
|
+
n3test:description "something that isn't n3";
|
126
|
+
n3test:inputDocument <tests-work.txt> .
|
127
|
+
|
128
|
+
|
129
|
+
:n3_20001 a n3test:NegativeParserTest;
|
130
|
+
n3test:description "@keywords is not a valid predicate";
|
131
|
+
n3test:inputDocument <syntax/neg-keywords3.n3> .
|
132
|
+
|
133
|
+
|
134
|
+
:n3_20002 a n3test:NegativeParserTest;
|
135
|
+
n3test:description "single quoted strings are illegal";
|
136
|
+
n3test:inputDocument <syntax/neg-single-quote.n3> .
|
137
|
+
|
138
|
+
:n3_20003 a n3test:NegativeParserTest;
|
139
|
+
n3test:description "The `this' keyword is no longer legal ";
|
140
|
+
n3test:inputDocument <syntax/neg-thisadoc.n3> .
|
141
|
+
|
142
|
+
:n3_20004 a n3test:NegativeParserTest;
|
143
|
+
n3test:description "A predicate cannot be a literal, I hope";
|
144
|
+
n3test:inputDocument <syntax/neg-literal-predicate.n3> .
|
145
|
+
|
146
|
+
:n3_20005 a n3test:NegativeParserTest;
|
147
|
+
n3test:description "A predicate cannot be a formula, I hope";
|
148
|
+
n3test:inputDocument <syntax/neg-formula-predicate.n3> .
|
149
|
+
|
150
|
+
:n3_10019 a n3test:NegativeParserTest;
|
151
|
+
n3test:description "Can still read the old 'this log:forSome' syntax?";
|
152
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10019.nt> ;
|
153
|
+
n3test:inputDocument <syntax/this-quantifiers.n3> .
|
154
|
+
|
155
|
+
:n3_10020 a n3test:NegativeParserTest;
|
156
|
+
n3test:description "Can still read the old 'this log:forAll' syntax";
|
157
|
+
n3test:outputDocument <n3/n3parser.tests_n3_10020.nt> ;
|
158
|
+
n3test:inputDocument <syntax/this-rules.n3> .
|
159
|
+
|
160
|
+
|