diff --git a/app/specs/guests/senses/senses.json b/app/specs/guests/senses/senses.json index f3cd853d..000cc599 100644 --- a/app/specs/guests/senses/senses.json +++ b/app/specs/guests/senses/senses.json @@ -7,7 +7,7 @@ "PrismSenses" ], "dispatch": "PrismSenses::prismSensesDispatch", - "vectors": "spec:senses", + "vectors": "spec:senses+senses/observed", "limits": [ 3328, 12288, diff --git a/app/specs/guests/senses/senses.lock.json b/app/specs/guests/senses/senses.lock.json index 25c4ac3c..fc1f3fb8 100644 --- a/app/specs/guests/senses/senses.lock.json +++ b/app/specs/guests/senses/senses.lock.json @@ -1,4 +1,4 @@ { - "source": "a467567e91ed21b471cab44a836fd0f353cbd2259e55d57ff3493097e1879265", - "wasm": "e31ae067109de3f64f30c481aebdd384664f5e5ebffa460cdb4e1f93f5c3d035" + "source": "1f642a35584f545a18c158111723c82f9515e3fdc724c40bc0a73acbf6d457ff", + "wasm": "e0e72093bda87dfe768d8725463591fe9283a30d4f59b5c3ddd6e658797a455f" } diff --git a/app/specs/guests/turtle/turtle-eval-2.json b/app/specs/guests/turtle/turtle-eval-2.json new file mode 100644 index 00000000..c47ad1e3 --- /dev/null +++ b/app/specs/guests/turtle/turtle-eval-2.json @@ -0,0 +1,21 @@ +{ + "id": "turtle-eval-2", + "wasm": "site/turtle/guest/turtle.wasm", + "pin": "site/turtle/guest.mjs", + "modules": [ + "PrismSosaTable", + "PrismSenses" + ], + "dispatch": "PrismSenses::prismTurtleDispatch", + "vectors": "spec:turtle/eval2", + "limits": [ + 6144, + 16384, + 12288 + ], + "memory": [ + 2048, + 1048576 + ], + "as": "eval2" +} diff --git a/app/specs/guests/turtle/turtle-eval-2.lock.json b/app/specs/guests/turtle/turtle-eval-2.lock.json new file mode 100644 index 00000000..d4cbdf25 --- /dev/null +++ b/app/specs/guests/turtle/turtle-eval-2.lock.json @@ -0,0 +1,4 @@ +{ + "source": "75161b27e345ecc10eb4f00183dd014dc6023e6d7ff383089627cedf058b3136", + "wasm": "e97c6f77cd167b558984ed290bbae9054df06464f27bcb18bc9d631846c1265f" +} diff --git a/app/specs/guests/turtle/turtle-eval.json b/app/specs/guests/turtle/turtle-eval.json new file mode 100644 index 00000000..922541f6 --- /dev/null +++ b/app/specs/guests/turtle/turtle-eval.json @@ -0,0 +1,21 @@ +{ + "id": "turtle-eval", + "wasm": "site/turtle/guest/turtle.wasm", + "pin": "site/turtle/guest.mjs", + "modules": [ + "PrismSosaTable", + "PrismSenses" + ], + "dispatch": "PrismSenses::prismTurtleDispatch", + "vectors": "spec:turtle/eval", + "limits": [ + 6144, + 16384, + 12288 + ], + "memory": [ + 2048, + 1048576 + ], + "as": "eval" +} diff --git a/app/specs/guests/turtle/turtle-eval.lock.json b/app/specs/guests/turtle/turtle-eval.lock.json new file mode 100644 index 00000000..b9475b3a --- /dev/null +++ b/app/specs/guests/turtle/turtle-eval.lock.json @@ -0,0 +1,4 @@ +{ + "source": "1013e0c638227af89698dce5e3f5f012751dec86a9338856787cbf06d84561ef", + "wasm": "e97c6f77cd167b558984ed290bbae9054df06464f27bcb18bc9d631846c1265f" +} diff --git a/app/specs/guests/turtle/turtle.json b/app/specs/guests/turtle/turtle.json new file mode 100644 index 00000000..e3766b23 --- /dev/null +++ b/app/specs/guests/turtle/turtle.json @@ -0,0 +1,21 @@ +{ + "id": "turtle", + "wasm": "site/turtle/guest/turtle.wasm", + "pin": "site/turtle/guest.mjs", + "modules": [ + "PrismSosaTable", + "PrismSenses" + ], + "dispatch": "PrismSenses::prismTurtleDispatch", + "vectors": "spec:turtle", + "limits": [ + 6144, + 16384, + 12288 + ], + "memory": [ + 2048, + 1048576 + ], + "as": "turtle" +} diff --git a/app/specs/guests/turtle/turtle.lock.json b/app/specs/guests/turtle/turtle.lock.json new file mode 100644 index 00000000..4350c282 --- /dev/null +++ b/app/specs/guests/turtle/turtle.lock.json @@ -0,0 +1,4 @@ +{ + "source": "124dd539c813c7b80c49da45a16263ef2c7544104e2030b517ee37fa6c0315a1", + "wasm": "e97c6f77cd167b558984ed290bbae9054df06464f27bcb18bc9d631846c1265f" +} diff --git a/app/specs/oracle/spec.json b/app/specs/oracle/spec.json index 51e95ef5..b5b61122 100644 --- a/app/specs/oracle/spec.json +++ b/app/specs/oracle/spec.json @@ -156,7 +156,7 @@ }, { "kind": "the senses' observations", - "why": "The senses guest (app/src/PrismSenses.lex.tex) is held to W3C's SOSA ontology and the Recommendation's example graphs through its 'check' verb. Its 'observe' and 'flat' verbs, which answer the person's circumstances at a prompt, have no acceptance vector: no source gives the expected observations, and the model's own output is not an oracle. app/specs/senses/spec.json 'gaps' names the oracle each expected observation is to be derived from (IANA tz test data, RFC 3339, RFC 5545 at a pinned clock, RFC 6350, WHO ICF, Geolocation WPT)." + "why": "The senses guest (app/src/PrismSenses.lex.tex) is held to W3C's SOSA ontology and the Recommendation's example graphs through its 'check' verb, and its 'flat' verb to RFC 5545's own examples: given the RFC's events, it names the time zone and chooses the event under way and the next one at pinned clocks (app/specs/senses/observed/spec.json). No source verifies the rest yet: local time, identity, the functioning profile, place and location, and the N-Triples form of 'observe'. app/specs/senses/spec.json 'gaps' names the oracle each is to be derived from (IANA tz test data, RFC 3339, RFC 6350, WHO ICF, Geolocation)." }, { "kind": "a Web Annotation Set with no id", diff --git a/app/specs/parts/spec.json b/app/specs/parts/spec.json index e8304461..663e1e35 100644 --- a/app/specs/parts/spec.json +++ b/app/specs/parts/spec.json @@ -304,6 +304,9 @@ "site/senses/guest.mjs": [ "how" ], + "site/turtle/guest.mjs": [ + "how" + ], "app/src/PrismAnnotation.lex.tex": [ "why", "when", diff --git a/app/specs/senses/clocks.json b/app/specs/senses/clocks.json new file mode 100644 index 00000000..9df5e6cb --- /dev/null +++ b/app/specs/senses/clocks.json @@ -0,0 +1,8 @@ +{ + "comment": "The clocks at which the senses' schedule observations are derived from RFC 5545's own examples (generators/senses, sensescases, writes app/specs/senses/observed/spec.json). 'base' is the person's IRI in the requests. Each clock is an RFC 3339 instant in UTC: the first falls inside the conference of RFC 5545 section 4's second example, the second in the hour before the party of section 3.4's example.", + "base": "https://example.com/me/", + "clocks": [ + "1996-09-18T15:00:00Z", + "1997-07-14T16:00:00Z" + ] +} diff --git a/app/specs/senses/observed/spec.json b/app/specs/senses/observed/spec.json new file mode 100644 index 00000000..e33a2998 --- /dev/null +++ b/app/specs/senses/observed/spec.json @@ -0,0 +1,7 @@ +{ + "comment": "Written by generators/senses (sensescases) from RFC 5545 at its pinned bytes and app/specs/senses/clocks.json: do not edit. Each example is a 'flat' request of the senses guest and its answer at one pinned clock. The time zone is the TZID of the RFC's VTIMEZONE example. The request holds, as 'held' lines, every VEVENT of the RFC's iCalendar objects that gives DTSTART and DTEND in UTC, with its UID, start and end as the RFC prints them, written as RFC 3339; the answer names the one under way at the clock and the next to begin, chosen here apart from the guest.", + "examples": [ + ["flat\nbase https://example.com/me/\nnow 1996-09-18T15:00:00Z\nzone America/New_York\nheld 1997-07-14T17:00:00Z 1997-07-15T04:00:00Z 19970610T172345Z-AF23B2@example.com\nheld 1996-09-18T14:30:00Z 1996-09-20T22:00:00Z uid1@example.com\nheld 1997-03-24T12:30:00Z 1997-03-24T21:00:00Z uid3@example.com\n", "timeZone America/New_York\nscheduleNow 1996-09-18T14:30:00Z/1996-09-20T22:00:00Z uid1@example.com\nscheduleNext 1997-03-24T12:30:00Z/1997-03-24T21:00:00Z uid3@example.com\n"], + ["flat\nbase https://example.com/me/\nnow 1997-07-14T16:00:00Z\nzone America/New_York\nheld 1997-07-14T17:00:00Z 1997-07-15T04:00:00Z 19970610T172345Z-AF23B2@example.com\nheld 1996-09-18T14:30:00Z 1996-09-20T22:00:00Z uid1@example.com\nheld 1997-03-24T12:30:00Z 1997-03-24T21:00:00Z uid3@example.com\n", "timeZone America/New_York\nscheduleNext 1997-07-14T17:00:00Z/1997-07-15T04:00:00Z 19970610T172345Z-AF23B2@example.com\n"] + ] +} diff --git a/app/specs/senses/spec.json b/app/specs/senses/spec.json index b5bc02c0..86cac2bf 100644 --- a/app/specs/senses/spec.json +++ b/app/specs/senses/spec.json @@ -1,6 +1,6 @@ { "name": "senses", - "comment": "The Prism's senses (app/src/PrismSenses.lex.tex) held to the W3C Semantic Sensor Network Ontology (SOSA/SSN, Recommendation 19 October 2017). 'ontology' pins sosa.ttl as W3C serves it; PrismSosaTable and ST-01's requirements for w3c-sosa-ssn are written from it (generators/standards). 'tests' lists the Recommendation's own example graphs this slice reads, each pinned by SHA-256 as W3C serves it under 'base', with the answer of 'check': 'conforms' and the number of triples, or the first refusal. A graph is refused when it is not Turtle, when it uses a term in the SOSA namespace that SOSA does not define, or when it uses a SOSA term against its declared kind (a class as a property, a datatype property with a resource, an object property with a literal). Eight of the Recommendation's examples are refused on those grounds (unbound prefix, a stray statement, sosa:hasSimplResult, sosa:actuationMadeBy, sosa:hasProperty, sosa:resultTime given a time:Instant): the ontology is the normative text and the examples are informative, so the ontology wins. What is Turtle and how many triples a graph has were cross-checked with an independent reader (rdflib 7.6.0) when this file was written. 'examples' carries those exact bytes as the guest's acceptance vectors after the verb line 'check'; nothing else is an acceptance vector. 'observe' answers the person's circumstances at a prompt as sosa:Observation s in N-Triples and 'flat' the same rows one per line, and every 'observe' answer passes this same 'check' before it is given; 'gaps' says why no case of those two verbs is counted as passing yet and shows their grammar. Not read yet: Turtle collections and local-name escapes, IRI dot segments, the SSN terms beyond SOSA, and om-20.ttl and dht22.ttl, which are larger than a request.", + "comment": "The Prism's senses (app/src/PrismSenses.lex.tex) held to the W3C Semantic Sensor Network Ontology (SOSA/SSN, Recommendation 19 October 2017). 'ontology' pins sosa.ttl as W3C serves it; PrismSosaTable and ST-01's requirements for w3c-sosa-ssn are written from it (generators/standards). 'tests' lists the Recommendation's own example graphs this slice reads, each pinned by SHA-256 as W3C serves it under 'base', with the answer of 'check': 'conforms' and the number of triples, or the first refusal. A graph is refused when it is not Turtle, when it uses a term in the SOSA namespace that SOSA does not define, or when it uses a SOSA term against its declared kind (a class as a property, a datatype property with a resource, an object property with a literal). Eight of the Recommendation's examples are refused on those grounds (unbound prefix, a stray statement, sosa:hasSimplResult, sosa:actuationMadeBy, sosa:hasProperty, sosa:resultTime given a time:Instant): the ontology is the normative text and the examples are informative, so the ontology wins. What is Turtle and how many triples a graph has were cross-checked with an independent reader (rdflib 7.6.0) when this file was written. 'examples' carries those exact bytes as the guest's acceptance vectors after the verb line 'check'. The guest's other acceptance vectors are app/specs/senses/observed/spec.json, written by generators/senses from RFC 5545 at its pinned bytes: 'flat' requests at the clocks of app/specs/senses/clocks.json that hold every event of the RFC's own examples as 'held' lines, answered by the time zone and by the event under way and the next to begin. A request may give its schedule as 'event' and 'next' lines or as any number of 'held' lines (start, end and id, the times in UTC to the second); from held lines the guest itself chooses the one under way at 'now', the earliest begun when several are, and the next to begin. 'observe' answers the person's circumstances at a prompt as sosa:Observation s in N-Triples and 'flat' the same rows one per line, and every 'observe' answer passes this same 'check' before it is given; 'gaps' says which of their rows no source verifies yet and shows their grammar. The Turtle reader itself is held to the W3C Turtle test suite (app/specs/turtle/spec.json). Not read yet: the SSN terms beyond SOSA, and om-20.ttl and dht22.ttl, which are larger than a request.", "ontology": { "url": "https://www.w3.org/ns/sosa/sosa.ttl", "sha256": "c70b0d1c843c0047e4c98e0a89392e46a05752ff6365bda7f7f55303905a0392" @@ -137,7 +137,7 @@ ] ], "gaps": { - "why": "No authoritative source gives the expected answer of 'observe' or 'flat': SOSA defines the terms an observation uses, not which observations a person's circumstances make. The cases under 'shape' show the request grammar and the answer this model gives; their answers are the model's own output, so they are not acceptance vectors and prove nothing. They become tests when each expected observation is derived from the oracle its input already has: local time and zone from the IANA tz test data and the RFC 3339 examples, the event in progress and the next one from the RFC 5545 examples at a pinned clock, identity from the RFC 6350 cards, the functioning profile from WHO's ICF release, location from the Geolocation web platform tests, with the SOSA shape held to the ontology on top.", + "why": "Verified from a source: the 'flat' rows timeZone, scheduleNow and scheduleNext, whose values app/specs/senses/observed/spec.json takes from RFC 5545's own examples at pinned clocks. That proves the guest chooses the event under way and the next one as the generator, written apart from it, does over the RFC's three events at two clocks, and carries their values through unchanged. Not verified by any source yet: the rows localTime (IANA tz test data and the RFC 3339 examples), identity (the RFC 6350 cards), functioningProfile (WHO's ICF release), place and location (no pinned source gives an example; W3C Geolocation is the candidate), and the N-Triples form of 'observe', whose terms the guest holds to the SOSA ontology but whose choice of observations no source gives. The cases under 'shape' show the request grammar and the answer this model gives for those; their answers are the model's own output, so they are not acceptance vectors and prove nothing.", "shape": [ { "request": "flat\nbase https://example.com/me/\nnow 1996-12-20T00:39:57Z\nlocal 1996-12-19T16:39:57-08:00\nzone America/New_York\nevent 1997-09-03T16:30:00Z 1997-09-03T19:00:00Z 19970901T130000Z-123401@example.com\nnext 1997-09-04T16:00:00Z 1997-09-04T17:00:00Z 19970901T130000Z-123402@example.com\nidentity sha256:ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad\nfunctioning sha256:248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1\nplace today\nposition 48.198634 16.371648 40\n", diff --git a/app/specs/standards/register/w3c-turtle-1.1.json b/app/specs/standards/register/w3c-turtle-1.1.json index de6b6b7f..a3549661 100644 --- a/app/specs/standards/register/w3c-turtle-1.1.json +++ b/app/specs/standards/register/w3c-turtle-1.1.json @@ -2,10 +2,43 @@ "key": "w3c-turtle-1.1", "title": "W3C RDF 1.1 Turtle, Recommendation 25 February 2014", "issuer": "W3C", - "text": null, - "unpinned": "PrismSenses reads the Turtle of the SOSA/SSN Recommendation's examples (collections, local-name escapes and IRI dot segments are refused as not read yet) and writes N-Triples; its requirement inventory is the W3C Turtle test suite, which the next slice of the nervous system pins and runs", - "governs": [], + "text": { + "url": "https://www.w3.org/TR/2014/REC-turtle-20140225/", + "sha256": "f1ff33edbd9dbac6a472e001064ef70b4aee849972f3d8b5afa837b5f9cc6580" + }, + "governs": [ + "app/src/PrismSenses.lex.tex", + "site/turtle/guest.mjs" + ], "realizedBy": [ "ST-01" - ] + ], + "inventories": [ + { + "generated": "test/standards/generated/w3c-turtle-1.1.jsonl", + "vendored": "app/specs/standards/upstream/turtle-manifest.ttl", + "source": { + "url": "https://www.w3.org/2013/TurtleTests/manifest.ttl", + "sha256": "3fd91f9e4bfad9b07ee9bfa41786744dc4c46c05838fc43da33f2cb8331c941c" + } + } + ], + "enforcedByKind": { + "TestTurtleEval": { + "suite": "crates/conformance/tests/guests.rs", + "how": "every evaluation test of the W3C Turtle test suite, its files byte for byte as W3C serves them (app/specs/turtle/spec.json), is in an acceptance vector of the turtle guests, which answer pass only when the reader's verdict on each is the suite's; prismpm build runs them and GU-01 holds the pinned wasm to those vectors" + }, + "TestTurtleNegativeEval": { + "suite": "crates/conformance/tests/guests.rs", + "how": "every negative evaluation test of the W3C Turtle test suite, its files byte for byte as W3C serves them (app/specs/turtle/spec.json), is in an acceptance vector of the turtle guests, which answer pass only when the reader's verdict on each is the suite's; prismpm build runs them and GU-01 holds the pinned wasm to those vectors" + }, + "TestTurtleNegativeSyntax": { + "suite": "crates/conformance/tests/guests.rs", + "how": "every negative syntax test of the W3C Turtle test suite, its files byte for byte as W3C serves them (app/specs/turtle/spec.json), is in an acceptance vector of the turtle guests, which answer pass only when the reader's verdict on each is the suite's; prismpm build runs them and GU-01 holds the pinned wasm to those vectors" + }, + "TestTurtlePositiveSyntax": { + "suite": "crates/conformance/tests/guests.rs", + "how": "every positive syntax test of the W3C Turtle test suite, its files byte for byte as W3C serves them (app/specs/turtle/spec.json), is in an acceptance vector of the turtle guests, which answer pass only when the reader's verdict on each is the suite's; prismpm build runs them and GU-01 holds the pinned wasm to those vectors" + } + } } diff --git a/app/specs/standards/upstream/turtle-manifest.ttl b/app/specs/standards/upstream/turtle-manifest.ttl new file mode 100644 index 00000000..c45c1a45 --- /dev/null +++ b/app/specs/standards/upstream/turtle-manifest.ttl @@ -0,0 +1,2503 @@ +## Distributed under both the W3C Test Suite License[1] and the W3C 3- +## clause BSD License[2]. To contribute to a W3C Test Suite, see the +## policies and contribution forms [3] +## +## 1. http://www.w3.org/Consortium/Legal/2008/04-testsuite-license +## 2. http://www.w3.org/Consortium/Legal/2008/03-bsd-license +## 3. http://www.w3.org/2004/10/27-testcases + +# Test named *subm* are (c) W3C and taken from the Turtle submission. + +@prefix rdf: . +@prefix rdfs: . +@prefix mf: . +@prefix qt: . + +@prefix rdft: . + +<> rdf:type mf:Manifest ; + rdfs:label "Turtle tests" ; + mf:entries + ( + + # atomic tests + <#IRI_subject> + <#IRI_with_four_digit_numeric_escape> + <#IRI_with_eight_digit_numeric_escape> + <#IRI_with_all_punctuation> + <#bareword_a_predicate> + <#old_style_prefix> + <#SPARQL_style_prefix> + <#prefixed_IRI_predicate> + <#prefixed_IRI_object> + <#prefix_only_IRI> + <#prefix_with_PN_CHARS_BASE_character_boundaries> + <#prefix_with_non_leading_extras> + <#default_namespace_IRI> + <#prefix_reassigned_and_used> + <#reserved_escaped_localName> + <#percent_escaped_localName> + <#HYPHEN_MINUS_in_localName> + <#underscore_in_localName> + <#localname_with_COLON> + <#localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries> + <#localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries> + <#localName_with_nfc_PN_CHARS_BASE_character_boundaries> + <#localName_with_leading_underscore> + <#localName_with_leading_digit> + <#localName_with_non_leading_extras> + <#old_style_base> + <#SPARQL_style_base> + <#labeled_blank_node_subject> + <#labeled_blank_node_object> + <#labeled_blank_node_with_PN_CHARS_BASE_character_boundaries> + <#labeled_blank_node_with_leading_underscore> + <#labeled_blank_node_with_leading_digit> + <#labeled_blank_node_with_non_leading_extras> + <#anonymous_blank_node_subject> + <#anonymous_blank_node_object> + <#sole_blankNodePropertyList> + <#blankNodePropertyList_as_subject> + <#blankNodePropertyList_as_object> + <#blankNodePropertyList_with_multiple_triples> + <#nested_blankNodePropertyLists> + <#blankNodePropertyList_containing_collection> + <#collection_subject> + <#collection_object> + <#empty_collection> + <#nested_collection> + <#first> + <#last> + <#LITERAL1> + <#LITERAL1_ascii_boundaries> + <#LITERAL1_with_UTF8_boundaries> + <#LITERAL1_all_controls> + <#LITERAL1_all_punctuation> + <#LITERAL_LONG1> + <#LITERAL_LONG1_ascii_boundaries> + <#LITERAL_LONG1_with_UTF8_boundaries> + <#LITERAL_LONG1_with_1_squote> + <#LITERAL_LONG1_with_2_squotes> + <#LITERAL2> + <#LITERAL2_ascii_boundaries> + <#LITERAL2_with_UTF8_boundaries> + <#LITERAL_LONG2> + <#LITERAL_LONG2_ascii_boundaries> + <#LITERAL_LONG2_with_UTF8_boundaries> + <#LITERAL_LONG2_with_1_squote> + <#LITERAL_LONG2_with_2_squotes> + <#literal_with_CHARACTER_TABULATION> + <#literal_with_BACKSPACE> + <#literal_with_LINE_FEED> + <#literal_with_CARRIAGE_RETURN> + <#literal_with_FORM_FEED> + <#literal_with_REVERSE_SOLIDUS> + <#literal_with_escaped_CHARACTER_TABULATION> + <#literal_with_escaped_BACKSPACE> + <#literal_with_escaped_LINE_FEED> + <#literal_with_escaped_CARRIAGE_RETURN> + <#literal_with_escaped_FORM_FEED> + <#literal_with_numeric_escape4> + <#literal_with_numeric_escape8> + <#IRIREF_datatype> + <#prefixed_name_datatype> + <#bareword_integer> + <#bareword_decimal> + <#bareword_double> + <#double_lower_case_e> + <#negative_numeric> + <#positive_numeric> + <#numeric_with_leading_0> + <#literal_true> + <#literal_false> + <#langtagged_non_LONG> + <#langtagged_LONG> + <#lantag_with_subtag> + <#objectList_with_two_objects> + <#predicateObjectList_with_two_objectLists> + <#repeated_semis_at_end> + <#repeated_semis_not_at_end> + + # tests requested by Jeremy Carroll + # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c35 + <#comment_following_localName> + <#number_sign_following_localName> + <#comment_following_PNAME_NS> + <#number_sign_following_PNAME_NS> + + # tests from Dave Beckett + # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c28 + <#LITERAL_LONG2_with_REVERSE_SOLIDUS> + <#turtle-syntax-bad-LITERAL2_with_langtag_and_datatype> + <#two_LITERAL_LONG2s> + <#langtagged_LONG_with_subtag> + + # original tests-ttl + <#turtle-syntax-file-01> + <#turtle-syntax-file-02> + <#turtle-syntax-file-03> + <#turtle-syntax-uri-01> + <#turtle-syntax-uri-02> + <#turtle-syntax-uri-03> + <#turtle-syntax-uri-04> + <#turtle-syntax-base-01> + <#turtle-syntax-base-02> + <#turtle-syntax-base-03> + <#turtle-syntax-base-04> + <#turtle-syntax-prefix-01> + <#turtle-syntax-prefix-02> + <#turtle-syntax-prefix-03> + <#turtle-syntax-prefix-04> + <#turtle-syntax-prefix-05> + <#turtle-syntax-prefix-06> + <#turtle-syntax-prefix-07> + <#turtle-syntax-prefix-08> + <#turtle-syntax-prefix-09> + <#turtle-syntax-string-01> + <#turtle-syntax-string-02> + <#turtle-syntax-string-03> + <#turtle-syntax-string-04> + <#turtle-syntax-string-05> + <#turtle-syntax-string-06> + <#turtle-syntax-string-07> + <#turtle-syntax-string-08> + <#turtle-syntax-string-09> + <#turtle-syntax-string-10> + <#turtle-syntax-string-11> + <#turtle-syntax-str-esc-01> + <#turtle-syntax-str-esc-02> + <#turtle-syntax-str-esc-03> + <#turtle-syntax-pname-esc-01> + <#turtle-syntax-pname-esc-02> + <#turtle-syntax-pname-esc-03> + <#turtle-syntax-bnode-01> + <#turtle-syntax-bnode-02> + <#turtle-syntax-bnode-03> + <#turtle-syntax-bnode-04> + <#turtle-syntax-bnode-05> + <#turtle-syntax-bnode-06> + <#turtle-syntax-bnode-07> + <#turtle-syntax-bnode-08> + <#turtle-syntax-bnode-09> + <#turtle-syntax-bnode-10> + <#turtle-syntax-number-01> + <#turtle-syntax-number-02> + <#turtle-syntax-number-03> + <#turtle-syntax-number-04> + <#turtle-syntax-number-05> + <#turtle-syntax-number-06> + <#turtle-syntax-number-07> + <#turtle-syntax-number-08> + <#turtle-syntax-number-09> + <#turtle-syntax-number-10> + <#turtle-syntax-number-11> + <#turtle-syntax-datatypes-01> + <#turtle-syntax-datatypes-02> + <#turtle-syntax-kw-01> + <#turtle-syntax-kw-02> + <#turtle-syntax-kw-03> + <#turtle-syntax-struct-01> + <#turtle-syntax-struct-02> + <#turtle-syntax-struct-03> + <#turtle-syntax-struct-04> + <#turtle-syntax-struct-05> + <#turtle-syntax-lists-01> + <#turtle-syntax-lists-02> + <#turtle-syntax-lists-03> + <#turtle-syntax-lists-04> + <#turtle-syntax-lists-05> + <#turtle-syntax-bad-uri-01> + <#turtle-syntax-bad-uri-02> + <#turtle-syntax-bad-uri-03> + <#turtle-syntax-bad-uri-04> + <#turtle-syntax-bad-uri-05> + <#turtle-syntax-bad-prefix-01> + <#turtle-syntax-bad-prefix-02> + <#turtle-syntax-bad-prefix-03> + <#turtle-syntax-bad-prefix-04> + <#turtle-syntax-bad-prefix-05> + <#turtle-syntax-bad-base-01> + <#turtle-syntax-bad-base-02> + <#turtle-syntax-bad-base-03> + <#turtle-syntax-bad-struct-01> + <#turtle-syntax-bad-struct-02> + <#turtle-syntax-bad-struct-03> + <#turtle-syntax-bad-struct-04> + <#turtle-syntax-bad-struct-05> + <#turtle-syntax-bad-struct-06> + <#turtle-syntax-bad-struct-07> + <#turtle-syntax-bad-kw-01> + <#turtle-syntax-bad-kw-02> + <#turtle-syntax-bad-kw-03> + <#turtle-syntax-bad-kw-04> + <#turtle-syntax-bad-kw-05> + <#turtle-syntax-bad-n3-extras-01> + <#turtle-syntax-bad-n3-extras-02> + <#turtle-syntax-bad-n3-extras-03> + <#turtle-syntax-bad-n3-extras-04> + <#turtle-syntax-bad-n3-extras-05> + <#turtle-syntax-bad-n3-extras-06> + <#turtle-syntax-bad-n3-extras-07> + <#turtle-syntax-bad-n3-extras-08> + <#turtle-syntax-bad-n3-extras-09> + <#turtle-syntax-bad-n3-extras-10> + <#turtle-syntax-bad-n3-extras-11> + <#turtle-syntax-bad-n3-extras-12> + <#turtle-syntax-bad-n3-extras-13> + <#turtle-syntax-bad-struct-08> + <#turtle-syntax-bad-struct-09> + <#turtle-syntax-bad-struct-10> + <#turtle-syntax-bad-struct-11> + <#turtle-syntax-bad-struct-12> + <#turtle-syntax-bad-struct-13> + <#turtle-syntax-bad-struct-14> + <#turtle-syntax-bad-struct-15> + <#turtle-syntax-bad-struct-16> + <#turtle-syntax-bad-struct-17> + <#turtle-syntax-bad-lang-01> + <#turtle-syntax-bad-esc-01> + <#turtle-syntax-bad-esc-02> + <#turtle-syntax-bad-esc-03> + <#turtle-syntax-bad-esc-04> + <#turtle-syntax-bad-pname-01> + <#turtle-syntax-bad-pname-02> + <#turtle-syntax-bad-pname-03> + <#turtle-syntax-bad-string-01> + <#turtle-syntax-bad-string-02> + <#turtle-syntax-bad-string-03> + <#turtle-syntax-bad-string-04> + <#turtle-syntax-bad-string-05> + <#turtle-syntax-bad-string-06> + <#turtle-syntax-bad-string-07> + <#turtle-syntax-bad-num-01> + <#turtle-syntax-bad-num-02> + <#turtle-syntax-bad-num-03> + <#turtle-syntax-bad-num-04> + <#turtle-syntax-bad-num-05> + <#turtle-eval-struct-01> + <#turtle-eval-struct-02> + <#turtle-subm-01> + <#turtle-subm-02> + <#turtle-subm-03> + <#turtle-subm-04> + <#turtle-subm-05> + <#turtle-subm-06> + <#turtle-subm-07> + <#turtle-subm-08> + <#turtle-subm-09> + <#turtle-subm-10> + <#turtle-subm-11> + <#turtle-subm-12> + <#turtle-subm-13> + <#turtle-subm-14> + <#turtle-subm-15> + <#turtle-subm-16> + <#turtle-subm-17> + <#turtle-subm-18> + <#turtle-subm-19> + <#turtle-subm-20> + <#turtle-subm-21> + <#turtle-subm-22> + <#turtle-subm-23> + <#turtle-subm-24> + <#turtle-subm-25> + <#turtle-subm-26> + <#turtle-subm-27> + <#turtle-eval-bad-01> + <#turtle-eval-bad-02> + <#turtle-eval-bad-03> + <#turtle-eval-bad-04> + + # tests from David Robillard + # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c21 + <#turtle-syntax-bad-blank-label-dot-end> + <#turtle-syntax-bad-ln-dash-start> + <#turtle-syntax-bad-ln-escape-start> + <#turtle-syntax-bad-ln-escape> + <#turtle-syntax-bad-missing-ns-dot-end> + <#turtle-syntax-bad-missing-ns-dot-start> + <#turtle-syntax-bad-ns-dot-end> + <#turtle-syntax-bad-ns-dot-start> + <#turtle-syntax-bad-number-dot-in-anon> + <#turtle-syntax-blank-label> + <#turtle-syntax-ln-colons> + <#turtle-syntax-ln-dots> + <#turtle-syntax-ns-dots> + ) . + +# atomic tests +<#IRI_subject> rdf:type rdft:TestTurtleEval ; + mf:name "IRI_subject" ; + rdfs:comment "IRI subject" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#IRI_with_four_digit_numeric_escape> rdf:type rdft:TestTurtleEval ; + mf:name "IRI_with_four_digit_numeric_escape" ; + rdfs:comment "IRI with four digit numeric escape (\\u)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#IRI_with_eight_digit_numeric_escape> rdf:type rdft:TestTurtleEval ; + mf:name "IRI_with_eight_digit_numeric_escape" ; + rdfs:comment "IRI with eight digit numeric escape (\\U)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#IRI_with_all_punctuation> rdf:type rdft:TestTurtleEval ; + mf:name "IRI_with_all_punctuation" ; + rdfs:comment "IRI with all punctuation" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#bareword_a_predicate> rdf:type rdft:TestTurtleEval ; + mf:name "bareword_a_predicate" ; + rdfs:comment "bareword a predicate" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#old_style_prefix> rdf:type rdft:TestTurtleEval ; + mf:name "old_style_prefix" ; + rdfs:comment "old-style prefix" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#SPARQL_style_prefix> rdf:type rdft:TestTurtleEval ; + mf:name "SPARQL_style_prefix" ; + rdfs:comment "SPARQL-style prefix" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#prefixed_IRI_predicate> rdf:type rdft:TestTurtleEval ; + mf:name "prefixed_IRI_predicate" ; + rdfs:comment "prefixed IRI predicate" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#prefixed_IRI_object> rdf:type rdft:TestTurtleEval ; + mf:name "prefixed_IRI_object" ; + rdfs:comment "prefixed IRI object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#prefix_only_IRI> rdf:type rdft:TestTurtleEval ; + mf:name "prefix_only_IRI" ; + rdfs:comment "prefix-only IRI (p:)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#prefix_with_PN_CHARS_BASE_character_boundaries> rdf:type rdft:TestTurtleEval ; + mf:name "prefix_with_PN_CHARS_BASE_character_boundaries" ; + rdfs:comment "prefix with PN CHARS BASE character boundaries (prefix: AZazÀÖØöø...:)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#prefix_with_non_leading_extras> rdf:type rdft:TestTurtleEval ; + mf:name "prefix_with_non_leading_extras" ; + rdfs:comment "prefix with_non_leading_extras (_:a·̀ͯ‿.⁀)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries> rdf:type rdft:TestTurtleEval ; + mf:name "localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries" ; + rdfs:comment "localName with assigned, NFC-normalized, basic-multilingual-plane PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries> rdf:type rdft:TestTurtleEval ; + mf:name "localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries" ; + rdfs:comment "localName with assigned, NFC-normalized PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#localName_with_nfc_PN_CHARS_BASE_character_boundaries> rdf:type rdft:TestTurtleEval ; + mf:name "localName_with_nfc_PN_CHARS_BASE_character_boundaries" ; + rdfs:comment "localName with nfc-normalize PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#default_namespace_IRI> rdf:type rdft:TestTurtleEval ; + mf:name "default_namespace_IRI" ; + rdfs:comment "default namespace IRI (:ln)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#prefix_reassigned_and_used> rdf:type rdft:TestTurtleEval ; + mf:name "prefix_reassigned_and_used" ; + rdfs:comment "prefix reassigned and used" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#reserved_escaped_localName> rdf:type rdft:TestTurtleEval ; + mf:name "reserved_escaped_localName" ; + rdfs:comment "reserved-escaped local name" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#percent_escaped_localName> rdf:type rdft:TestTurtleEval ; + mf:name "percent_escaped_localName" ; + rdfs:comment "percent-escaped local name" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#HYPHEN_MINUS_in_localName> rdf:type rdft:TestTurtleEval ; + mf:name "HYPHEN_MINUS_in_localName" ; + rdfs:comment "HYPHEN-MINUS in local name" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#underscore_in_localName> rdf:type rdft:TestTurtleEval ; + mf:name "underscore_in_localName" ; + rdfs:comment "underscore in local name" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#localname_with_COLON> rdf:type rdft:TestTurtleEval ; + mf:name "localname_with_COLON" ; + rdfs:comment "localname with COLON" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#localName_with_leading_underscore> rdf:type rdft:TestTurtleEval ; + mf:name "localName_with_leading_underscore" ; + rdfs:comment "localName with leading underscore (p:_)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#localName_with_leading_digit> rdf:type rdft:TestTurtleEval ; + mf:name "localName_with_leading_digit" ; + rdfs:comment "localName with leading digit (p:_)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#localName_with_non_leading_extras> rdf:type rdft:TestTurtleEval ; + mf:name "localName_with_non_leading_extras" ; + rdfs:comment "localName with_non_leading_extras (_:a·̀ͯ‿.⁀)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#old_style_base> rdf:type rdft:TestTurtleEval ; + mf:name "old_style_base" ; + rdfs:comment "old-style base" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#SPARQL_style_base> rdf:type rdft:TestTurtleEval ; + mf:name "SPARQL_style_base" ; + rdfs:comment "SPARQL-style base" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#labeled_blank_node_subject> rdf:type rdft:TestTurtleEval ; + mf:name "labeled_blank_node_subject" ; + rdfs:comment "labeled blank node subject" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#labeled_blank_node_object> rdf:type rdft:TestTurtleEval ; + mf:name "labeled_blank_node_object" ; + rdfs:comment "labeled blank node object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#labeled_blank_node_with_PN_CHARS_BASE_character_boundaries> rdf:type rdft:TestTurtleEval ; + mf:name "labeled_blank_node_with_PN_CHARS_BASE_character_boundaries" ; + rdfs:comment "labeled blank node with PN_CHARS_BASE character boundaries (_:AZazÀÖØöø...)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#labeled_blank_node_with_leading_underscore> rdf:type rdft:TestTurtleEval ; + mf:name "labeled_blank_node_with_leading_underscore" ; + rdfs:comment "labeled blank node with_leading_underscore (_:_)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#labeled_blank_node_with_leading_digit> rdf:type rdft:TestTurtleEval ; + mf:name "labeled_blank_node_with_leading_digit" ; + rdfs:comment "labeled blank node with_leading_digit (_:0)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#labeled_blank_node_with_non_leading_extras> rdf:type rdft:TestTurtleEval ; + mf:name "labeled_blank_node_with_non_leading_extras" ; + rdfs:comment "labeled blank node with_non_leading_extras (_:a·̀ͯ‿.⁀)" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#anonymous_blank_node_subject> rdf:type rdft:TestTurtleEval ; + mf:name "anonymous_blank_node_subject" ; + rdfs:comment "anonymous blank node subject" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#anonymous_blank_node_object> rdf:type rdft:TestTurtleEval ; + mf:name "anonymous_blank_node_object" ; + rdfs:comment "anonymous blank node object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#sole_blankNodePropertyList> rdf:type rdft:TestTurtleEval ; + mf:name "sole_blankNodePropertyList" ; + rdfs:comment "sole blankNodePropertyList [

] ." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#blankNodePropertyList_as_subject> rdf:type rdft:TestTurtleEval ; + mf:name "blankNodePropertyList_as_subject" ; + rdfs:comment "blankNodePropertyList as subject [ … ]

." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#blankNodePropertyList_as_object> rdf:type rdft:TestTurtleEval ; + mf:name "blankNodePropertyList_as_object" ; + rdfs:comment "blankNodePropertyList as object

[ … ] ." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#blankNodePropertyList_with_multiple_triples> rdf:type rdft:TestTurtleEval ; + mf:name "blankNodePropertyList_with_multiple_triples" ; + rdfs:comment "blankNodePropertyList with multiple triples [

; ]" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#nested_blankNodePropertyLists> rdf:type rdft:TestTurtleEval ; + mf:name "nested_blankNodePropertyLists" ; + rdfs:comment "nested blankNodePropertyLists [ [ ] ; ]" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#blankNodePropertyList_containing_collection> rdf:type rdft:TestTurtleEval ; + mf:name "blankNodePropertyList_containing_collection" ; + rdfs:comment "blankNodePropertyList containing collection [ ( … ) ]" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#collection_subject> rdf:type rdft:TestTurtleEval ; + mf:name "collection_subject" ; + rdfs:comment "collection subject" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#collection_object> rdf:type rdft:TestTurtleEval ; + mf:name "collection_object" ; + rdfs:comment "collection object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#empty_collection> rdf:type rdft:TestTurtleEval ; + mf:name "empty_collection" ; + rdfs:comment "empty collection ()" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#nested_collection> rdf:type rdft:TestTurtleEval ; + mf:name "nested_collection" ; + rdfs:comment "nested collection (())" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#first> rdf:type rdft:TestTurtleEval ; + mf:name "first" ; + rdfs:comment "first, not last, non-empty nested collection" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#last> rdf:type rdft:TestTurtleEval ; + mf:name "last" ; + rdfs:comment "last, not first, non-empty nested collection" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL1> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL1" ; + rdfs:comment "LITERAL1 'x'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL1_ascii_boundaries> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL1_ascii_boundaries" ; + rdfs:comment "LITERAL1_ascii_boundaries '\\x00\\x09\\x0b\\x0c\\x0e\\x26\\x28...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL1_with_UTF8_boundaries> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL1_with_UTF8_boundaries" ; + rdfs:comment "LITERAL1_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL1_all_controls> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL1_all_controls" ; + rdfs:comment "LITERAL1_all_controls '\\x00\\x01\\x02\\x03\\x04...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL1_all_punctuation> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL1_all_punctuation" ; + rdfs:comment "LITERAL1_all_punctuation '!\"#$%&()...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL_LONG1> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL_LONG1" ; + rdfs:comment "LITERAL_LONG1 '''x'''" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL_LONG1_ascii_boundaries> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL_LONG1_ascii_boundaries" ; + rdfs:comment "LITERAL_LONG1_ascii_boundaries '\\x00\\x26\\x28...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL_LONG1_with_UTF8_boundaries> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL_LONG1_with_UTF8_boundaries" ; + rdfs:comment "LITERAL_LONG1_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL_LONG1_with_1_squote> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL_LONG1_with_1_squote" ; + rdfs:comment "LITERAL_LONG1 with 1 squote '''a'b'''" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL_LONG1_with_2_squotes> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL_LONG1_with_2_squotes" ; + rdfs:comment "LITERAL_LONG1 with 2 squotes '''a''b'''" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL2> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL2" ; + rdfs:comment "LITERAL2 \"x\"" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL2_ascii_boundaries> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL2_ascii_boundaries" ; + rdfs:comment "LITERAL2_ascii_boundaries '\\x00\\x09\\x0b\\x0c\\x0e\\x21\\x23...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL2_with_UTF8_boundaries> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL2_with_UTF8_boundaries" ; + rdfs:comment "LITERAL2_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL_LONG2> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL_LONG2" ; + rdfs:comment "LITERAL_LONG2 \"\"\"x\"\"\"" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL_LONG2_ascii_boundaries> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL_LONG2_ascii_boundaries" ; + rdfs:comment "LITERAL_LONG2_ascii_boundaries '\\x00\\x21\\x23...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL_LONG2_with_UTF8_boundaries> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL_LONG2_with_UTF8_boundaries" ; + rdfs:comment "LITERAL_LONG2_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL_LONG2_with_1_squote> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL_LONG2_with_1_squote" ; + rdfs:comment "LITERAL_LONG2 with 1 squote \"\"\"a\"b\"\"\"" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#LITERAL_LONG2_with_2_squotes> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL_LONG2_with_2_squotes" ; + rdfs:comment "LITERAL_LONG2 with 2 squotes \"\"\"a\"\"b\"\"\"" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#literal_with_CHARACTER_TABULATION> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_CHARACTER_TABULATION" ; + rdfs:comment "literal with CHARACTER TABULATION" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#literal_with_BACKSPACE> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_BACKSPACE" ; + rdfs:comment "literal with BACKSPACE" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#literal_with_LINE_FEED> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_LINE_FEED" ; + rdfs:comment "literal with LINE FEED" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#literal_with_CARRIAGE_RETURN> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_CARRIAGE_RETURN" ; + rdfs:comment "literal with CARRIAGE RETURN" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#literal_with_FORM_FEED> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_FORM_FEED" ; + rdfs:comment "literal with FORM FEED" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#literal_with_REVERSE_SOLIDUS> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_REVERSE_SOLIDUS" ; + rdfs:comment "literal with REVERSE SOLIDUS" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#literal_with_escaped_CHARACTER_TABULATION> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_escaped_CHARACTER_TABULATION" ; + rdfs:comment "literal with escaped CHARACTER TABULATION" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#literal_with_escaped_BACKSPACE> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_escaped_BACKSPACE" ; + rdfs:comment "literal with escaped BACKSPACE" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#literal_with_escaped_LINE_FEED> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_escaped_LINE_FEED" ; + rdfs:comment "literal with escaped LINE FEED" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#literal_with_escaped_CARRIAGE_RETURN> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_escaped_CARRIAGE_RETURN" ; + rdfs:comment "literal with escaped CARRIAGE RETURN" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#literal_with_escaped_FORM_FEED> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_escaped_FORM_FEED" ; + rdfs:comment "literal with escaped FORM FEED" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#literal_with_numeric_escape4> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_numeric_escape4" ; + rdfs:comment "literal with numeric escape4 \\u" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#literal_with_numeric_escape8> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_numeric_escape8" ; + rdfs:comment "literal with numeric escape8 \\U" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#IRIREF_datatype> rdf:type rdft:TestTurtleEval ; + mf:name "IRIREF_datatype" ; + rdfs:comment "IRIREF datatype \"\"^^" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#prefixed_name_datatype> rdf:type rdft:TestTurtleEval ; + mf:name "prefixed_name_datatype" ; + rdfs:comment "prefixed name datatype \"\"^^p:t" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#bareword_integer> rdf:type rdft:TestTurtleEval ; + mf:name "bareword_integer" ; + rdfs:comment "bareword integer" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#bareword_decimal> rdf:type rdft:TestTurtleEval ; + mf:name "bareword_decimal" ; + rdfs:comment "bareword decimal" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#bareword_double> rdf:type rdft:TestTurtleEval ; + mf:name "bareword_double" ; + rdfs:comment "bareword double" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#double_lower_case_e> rdf:type rdft:TestTurtleEval ; + mf:name "double_lower_case_e" ; + rdfs:comment "double lower case e" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#negative_numeric> rdf:type rdft:TestTurtleEval ; + mf:name "negative_numeric" ; + rdfs:comment "negative numeric" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#positive_numeric> rdf:type rdft:TestTurtleEval ; + mf:name "positive_numeric" ; + rdfs:comment "positive numeric" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#numeric_with_leading_0> rdf:type rdft:TestTurtleEval ; + mf:name "numeric_with_leading_0" ; + rdfs:comment "numeric with leading 0" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#literal_true> rdf:type rdft:TestTurtleEval ; + mf:name "literal_true" ; + rdfs:comment "literal true" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#literal_false> rdf:type rdft:TestTurtleEval ; + mf:name "literal_false" ; + rdfs:comment "literal false" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#langtagged_non_LONG> rdf:type rdft:TestTurtleEval ; + mf:name "langtagged_non_LONG" ; + rdfs:comment "langtagged non-LONG \"x\"@en" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#langtagged_LONG> rdf:type rdft:TestTurtleEval ; + mf:name "langtagged_LONG" ; + rdfs:comment "langtagged LONG \"\"\"x\"\"\"@en" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#lantag_with_subtag> rdf:type rdft:TestTurtleEval ; + mf:name "lantag_with_subtag" ; + rdfs:comment "lantag with subtag \"x\"@en-us" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#objectList_with_two_objects> rdf:type rdft:TestTurtleEval ; + mf:name "objectList_with_two_objects" ; + rdfs:comment "objectList with two objects … ," ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#predicateObjectList_with_two_objectLists> rdf:type rdft:TestTurtleEval ; + mf:name "predicateObjectList_with_two_objectLists" ; + rdfs:comment "predicateObjectList with two objectLists … ," ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#repeated_semis_at_end> rdf:type rdft:TestTurtleEval ; + mf:name "repeated_semis_at_end" ; + rdfs:comment "repeated semis at end

;; ." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#repeated_semis_not_at_end> rdf:type rdft:TestTurtleEval ; + mf:name "repeated_semis_not_at_end" ; + rdfs:comment "repeated semis not at end

;;." ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +# original tests-ttl +<#turtle-syntax-file-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-file-01" ; + rdfs:comment "Empty file" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-file-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-file-02" ; + rdfs:comment "Only comment" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-file-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-file-03" ; + rdfs:comment "One comment, one empty line" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-uri-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-uri-01" ; + rdfs:comment "Only IRIs" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-uri-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-uri-02" ; + rdfs:comment "IRIs with Unicode escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-uri-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-uri-03" ; + rdfs:comment "IRIs with long Unicode escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-uri-04> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-uri-04" ; + rdfs:comment "Legal IRIs" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-base-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-base-01" ; + rdfs:comment "@base" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-base-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-base-02" ; + rdfs:comment "BASE" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-base-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-base-03" ; + rdfs:comment "@base with relative IRIs" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-base-04> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-base-04" ; + rdfs:comment "base with relative IRIs" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-prefix-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-01" ; + rdfs:comment "@prefix" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-prefix-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-02" ; + rdfs:comment "PreFIX" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-prefix-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-03" ; + rdfs:comment "Empty PREFIX" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-prefix-04> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-04" ; + rdfs:comment "Empty @prefix with % escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-prefix-05> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-05" ; + rdfs:comment "@prefix with no suffix" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-prefix-06> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-06" ; + rdfs:comment "colon is a legal pname character" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-prefix-07> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-07" ; + rdfs:comment "dash is a legal pname character" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-prefix-08> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-08" ; + rdfs:comment "underscore is a legal pname character" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-prefix-09> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-09" ; + rdfs:comment "percents in pnames" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-string-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-01" ; + rdfs:comment "string literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-string-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-02" ; + rdfs:comment "langString literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-string-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-03" ; + rdfs:comment "langString literal with region" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-string-04> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-04" ; + rdfs:comment "squote string literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-string-05> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-05" ; + rdfs:comment "squote langString literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-string-06> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-06" ; + rdfs:comment "squote langString literal with region" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-string-07> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-07" ; + rdfs:comment "long string literal with embedded single- and double-quotes" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-string-08> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-08" ; + rdfs:comment "long string literal with embedded newline" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-string-09> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-09" ; + rdfs:comment "squote long string literal with embedded single- and double-quotes" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-string-10> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-10" ; + rdfs:comment "long langString literal with embedded newline" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-string-11> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-11" ; + rdfs:comment "squote long langString literal with embedded newline" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-str-esc-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-str-esc-01" ; + rdfs:comment "string literal with escaped newline" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-str-esc-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-str-esc-02" ; + rdfs:comment "string literal with Unicode escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-str-esc-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-str-esc-03" ; + rdfs:comment "string literal with long Unicode escape" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-pname-esc-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-pname-esc-01" ; + rdfs:comment "pname with back-slash escapes" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-pname-esc-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-pname-esc-02" ; + rdfs:comment "pname with back-slash escapes (2)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-pname-esc-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-pname-esc-03" ; + rdfs:comment "pname with back-slash escapes (3)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bnode-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-01" ; + rdfs:comment "bnode subject" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bnode-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-02" ; + rdfs:comment "bnode object" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bnode-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-03" ; + rdfs:comment "bnode property list object" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bnode-04> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-04" ; + rdfs:comment "bnode property list object (2)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bnode-05> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-05" ; + rdfs:comment "bnode property list subject" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bnode-06> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-06" ; + rdfs:comment "labeled bnode subject" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bnode-07> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-07" ; + rdfs:comment "labeled bnode subject and object" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bnode-08> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-08" ; + rdfs:comment "bare bnode property list" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bnode-09> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-09" ; + rdfs:comment "bnode property list" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bnode-10> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-10" ; + rdfs:comment "mixed bnode property list and triple" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-number-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-01" ; + rdfs:comment "integer literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-number-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-02" ; + rdfs:comment "negative integer literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-number-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-03" ; + rdfs:comment "positive integer literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-number-04> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-04" ; + rdfs:comment "decimal literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-number-05> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-05" ; + rdfs:comment "decimal literal (no leading digits)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-number-06> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-06" ; + rdfs:comment "negative decimal literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-number-07> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-07" ; + rdfs:comment "positive decimal literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-number-08> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-08" ; + rdfs:comment "integer literal with decimal lexical confusion" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-number-09> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-09" ; + rdfs:comment "double literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-number-10> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-10" ; + rdfs:comment "negative double literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-number-11> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-11" ; + rdfs:comment "double literal no fraction" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-datatypes-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-datatypes-01" ; + rdfs:comment "xsd:byte literal" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-datatypes-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-datatypes-02" ; + rdfs:comment "integer as xsd:string" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-kw-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-kw-01" ; + rdfs:comment "boolean literal (true)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-kw-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-kw-02" ; + rdfs:comment "boolean literal (false)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-kw-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-kw-03" ; + rdfs:comment "'a' as keyword" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-struct-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-struct-01" ; + rdfs:comment "object list" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-struct-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-struct-02" ; + rdfs:comment "predicate list with object list" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-struct-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-struct-03" ; + rdfs:comment "predicate list with object list and dangling ';'" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-struct-04> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-struct-04" ; + rdfs:comment "predicate list with multiple ;;" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-struct-05> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-struct-05" ; + rdfs:comment "predicate list with multiple ;;" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-lists-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-lists-01" ; + rdfs:comment "empty list" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-lists-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-lists-02" ; + rdfs:comment "mixed list" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-lists-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-lists-03" ; + rdfs:comment "isomorphic list as subject and object" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-lists-04> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-lists-04" ; + rdfs:comment "lists of lists" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-lists-05> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-lists-05" ; + rdfs:comment "mixed lists with embedded lists" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-uri-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-uri-01" ; + rdfs:comment "Bad IRI : space (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-uri-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-uri-02" ; + rdfs:comment "Bad IRI : bad escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-uri-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-uri-03" ; + rdfs:comment "Bad IRI : bad long escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-uri-04> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-uri-04" ; + rdfs:comment "Bad IRI : character escapes not allowed (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-uri-05> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-uri-05" ; + rdfs:comment "Bad IRI : character escapes not allowed (2) (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-prefix-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-prefix-01" ; + rdfs:comment "No prefix (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-prefix-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-prefix-02" ; + rdfs:comment "No prefix (2) (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-prefix-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-prefix-03" ; + rdfs:comment "@prefix without URI (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-prefix-04> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-prefix-04" ; + rdfs:comment "@prefix without prefix name (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-prefix-05> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-prefix-05" ; + rdfs:comment "@prefix without ':' (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-base-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-base-01" ; + rdfs:comment "@base without URI (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-base-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-base-02" ; + rdfs:comment "@base in wrong case (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-base-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-base-03" ; + rdfs:comment "BASE without URI (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-struct-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-01" ; + rdfs:comment "Turtle is not TriG (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-struct-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-02" ; + rdfs:comment "Turtle is not N3 (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-struct-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-03" ; + rdfs:comment "Turtle is not NQuads (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-struct-04> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-04" ; + rdfs:comment "Turtle does not allow literals-as-subjects (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-struct-05> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-05" ; + rdfs:comment "Turtle does not allow literals-as-predicates (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-struct-06> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-06" ; + rdfs:comment "Turtle does not allow bnodes-as-predicates (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-struct-07> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-07" ; + rdfs:comment "Turtle does not allow labeled bnodes-as-predicates (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-kw-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-kw-01" ; + rdfs:comment "'A' is not a keyword (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-kw-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-kw-02" ; + rdfs:comment "'a' cannot be used as subject (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-kw-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-kw-03" ; + rdfs:comment "'a' cannot be used as object (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-kw-04> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-kw-04" ; + rdfs:comment "'true' cannot be used as subject (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-kw-05> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-kw-05" ; + rdfs:comment "'true' cannot be used as object (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-01" ; + rdfs:comment "{} fomulae not in Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-02" ; + rdfs:comment "= is not Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-03" ; + rdfs:comment "N3 paths not in Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-04> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-04" ; + rdfs:comment "N3 paths not in Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-05> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-05" ; + rdfs:comment "N3 is...of not in Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-06> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-06" ; + rdfs:comment "N3 paths not in Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-07> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-07" ; + rdfs:comment "@keywords is not Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-08> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-08" ; + rdfs:comment "@keywords is not Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-09> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-09" ; + rdfs:comment "=> is not Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-10> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-10" ; + rdfs:comment "<= is not Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-11> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-11" ; + rdfs:comment "@forSome is not Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-12> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-12" ; + rdfs:comment "@forAll is not Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-13> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-13" ; + rdfs:comment "@keywords is not Turtle (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-struct-08> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-08" ; + rdfs:comment "missing '.' (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-struct-09> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-09" ; + rdfs:comment "extra '.' (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-struct-10> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-10" ; + rdfs:comment "extra '.' (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-struct-11> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-11" ; + rdfs:comment "trailing ';' no '.' (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-struct-12> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-12" ; + rdfs:comment "subject, predicate, no object (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-struct-13> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-13" ; + rdfs:comment "subject, predicate, no object (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-struct-14> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-14" ; + rdfs:comment "literal as subject (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-struct-15> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-15" ; + rdfs:comment "literal as predicate (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-struct-16> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-16" ; + rdfs:comment "bnode as predicate (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-struct-17> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-17" ; + rdfs:comment "labeled bnode as predicate (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-lang-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-lang-01" ; + rdfs:comment "langString with bad lang (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-esc-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-esc-01" ; + rdfs:comment "Bad string escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-esc-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-esc-02" ; + rdfs:comment "Bad string escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-esc-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-esc-03" ; + rdfs:comment "Bad string escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-esc-04> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-esc-04" ; + rdfs:comment "Bad string escape (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-pname-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-pname-01" ; + rdfs:comment "'~' must be escaped in pname (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-pname-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-pname-02" ; + rdfs:comment "Bad %-sequence in pname (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-pname-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-pname-03" ; + rdfs:comment "Bad unicode escape in pname (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-string-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-string-01" ; + rdfs:comment "mismatching string literal open/close (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-string-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-string-02" ; + rdfs:comment "mismatching string literal open/close (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-string-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-string-03" ; + rdfs:comment "mismatching string literal long/short (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-string-04> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-string-04" ; + rdfs:comment "mismatching long string literal open/close (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-string-05> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-string-05" ; + rdfs:comment "Long literal with missing end (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-string-06> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-string-06" ; + rdfs:comment "Long literal with extra quote (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-string-07> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-string-07" ; + rdfs:comment "Long literal with extra squote (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-num-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-num-01" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-num-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-num-02" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-num-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-num-03" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-num-04> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-num-04" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-syntax-bad-num-05> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-num-05" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-eval-struct-01> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-eval-struct-01" ; + rdfs:comment "triple with IRIs" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-eval-struct-02> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-eval-struct-02" ; + rdfs:comment "triple with IRIs and embedded whitespace" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-01> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-01" ; + rdfs:comment "Blank subject" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-02> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-02" ; + rdfs:comment "@prefix and qnames" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-03> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-03" ; + rdfs:comment ", operator" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-04> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-04" ; + rdfs:comment "; operator" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-05> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-05" ; + rdfs:comment "empty [] as subject and object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-06> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-06" ; + rdfs:comment "non-empty [] as subject and object" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-07> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-07" ; + rdfs:comment "'a' as predicate" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-08> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-08" ; + rdfs:comment "simple collection" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-09> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-09" ; + rdfs:comment "empty collection" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-10> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-10" ; + rdfs:comment "integer datatyped literal" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-11> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-11" ; + rdfs:comment "decimal integer canonicalization" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-12> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-12" ; + rdfs:comment "- and _ in names and qnames" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-13> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-13" ; + rdfs:comment "tests for rdf:_ and other qnames starting with _" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-14> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-14" ; + rdfs:comment "bare : allowed" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-15> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-15" ; + rdfs:comment "simple long literal" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-16> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-16" ; + rdfs:comment "long literals with escapes" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-17> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-17" ; + rdfs:comment "floating point number" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-18> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-18" ; + rdfs:comment "empty literals, normal and long variant" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-19> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-19" ; + rdfs:comment "positive integer, decimal and doubles" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-20> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-20" ; + rdfs:comment "negative integer, decimal and doubles" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-21> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-21" ; + rdfs:comment "long literal ending in double quote" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-22> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-22" ; + rdfs:comment "boolean literals" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-23> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-23" ; + rdfs:comment "comments" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-24> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-24" ; + rdfs:comment "no final mewline" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-25> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-25" ; + rdfs:comment "repeating a @prefix changes pname definition" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-26> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-26" ; + rdfs:comment "Variations on decimal canonicalization" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-subm-27> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-27" ; + rdfs:comment "Repeating @base changes base for relative IRI lookup" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-eval-bad-01> rdf:type rdft:TestTurtleNegativeEval ; + mf:name "turtle-eval-bad-01" ; + rdfs:comment "Bad IRI : good escape, bad charcater (negative evaluation test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-eval-bad-02> rdf:type rdft:TestTurtleNegativeEval ; + mf:name "turtle-eval-bad-02" ; + rdfs:comment "Bad IRI : hex 3C is < (negative evaluation test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-eval-bad-03> rdf:type rdft:TestTurtleNegativeEval ; + mf:name "turtle-eval-bad-03" ; + rdfs:comment "Bad IRI : hex 3E is (negative evaluation test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#turtle-eval-bad-04> rdf:type rdft:TestTurtleNegativeEval ; + mf:name "turtle-eval-bad-04" ; + rdfs:comment "Bad IRI : {abc} (negative evaluation test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +# tests requested by Jeremy Carroll +# http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c35 +<#comment_following_localName> rdf:type rdft:TestTurtleEval ; + mf:name "comment_following_localName" ; + rdfs:comment "comment following localName" ; + rdft:approval rdft:Proposed ; + mf:action ; + mf:result ; + . + +<#number_sign_following_localName> rdf:type rdft:TestTurtleEval ; + mf:name "number_sign_following_localName" ; + rdfs:comment "number sign following localName" ; + rdft:approval rdft:Proposed ; + mf:action ; + mf:result ; + . + +<#comment_following_PNAME_NS> rdf:type rdft:TestTurtleEval ; + mf:name "comment_following_PNAME_NS" ; + rdfs:comment "comment following PNAME_NS" ; + rdft:approval rdft:Proposed ; + mf:action ; + mf:result ; + . + +<#number_sign_following_PNAME_NS> rdf:type rdft:TestTurtleEval ; + mf:name "number_sign_following_PNAME_NS" ; + rdfs:comment "number sign following PNAME_NS" ; + rdft:approval rdft:Proposed ; + mf:action ; + mf:result ; + . + +# tests from Dave Beckett +# http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c28 +<#LITERAL_LONG2_with_REVERSE_SOLIDUS> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL_LONG2_with_REVERSE_SOLIDUS" ; + rdfs:comment "REVERSE SOLIDUS at end of LITERAL_LONG2" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#turtle-syntax-bad-LITERAL2_with_langtag_and_datatype> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-num-05" ; + rdfs:comment "Bad number format (negative test)" ; + rdft:approval rdft:Approved ; + mf:action ; + . + +<#two_LITERAL_LONG2s> rdf:type rdft:TestTurtleEval ; + mf:name "two_LITERAL_LONG2s" ; + rdfs:comment "two LITERAL_LONG2s testing quote delimiter overrun" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +<#langtagged_LONG_with_subtag> rdf:type rdft:TestTurtleEval ; + mf:name "langtagged_LONG_with_subtag" ; + rdfs:comment "langtagged LONG with subtag \"\"\"Cheers\"\"\"@en-UK" ; + rdft:approval rdft:Approved ; + mf:action ; + mf:result ; + . + +# tests from David Robillard +# http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c21 +<#turtle-syntax-bad-blank-label-dot-end> + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Blank node label must not end in dot" ; + mf:name "turtle-syntax-bad-blank-label-dot-end" ; + rdft:approval rdft:Approved ; + mf:action . + +<#turtle-syntax-bad-number-dot-in-anon> + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Dot delimeter may not appear in anonymous nodes" ; + mf:name "turtle-syntax-bad-number-dot-in-anon" ; + rdft:approval rdft:Approved ; + mf:action . + +<#turtle-syntax-bad-ln-dash-start> + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Local name must not begin with dash" ; + mf:name "turtle-syntax-bad-ln-dash-start" ; + rdft:approval rdft:Approved ; + mf:action . + +<#turtle-syntax-bad-ln-escape> + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Bad hex escape in local name" ; + mf:name "turtle-syntax-bad-ln-escape" ; + rdft:approval rdft:Approved ; + mf:action . + +<#turtle-syntax-bad-ln-escape-start> + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Bad hex escape at start of local name" ; + mf:name "turtle-syntax-bad-ln-escape-start" ; + rdft:approval rdft:Approved ; + mf:action . + +<#turtle-syntax-bad-ns-dot-end> + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Prefix must not end in dot" ; + mf:name "turtle-syntax-bad-ns-dot-end" ; + rdft:approval rdft:Approved ; + mf:action . + +<#turtle-syntax-bad-ns-dot-start> + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Prefix must not start with dot" ; + mf:name "turtle-syntax-bad-ns-dot-start" ; + rdft:approval rdft:Approved ; + mf:action . + +<#turtle-syntax-bad-missing-ns-dot-end> + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Prefix must not end in dot (error in triple, not prefix directive like turtle-syntax-bad-ns-dot-end)" ; + mf:name "turtle-syntax-bad-missing-ns-dot-end" ; + rdft:approval rdft:Approved ; + mf:action . + +<#turtle-syntax-bad-missing-ns-dot-start> + rdf:type rdft:TestTurtleNegativeSyntax ; + rdfs:comment "Prefix must not start with dot (error in triple, not prefix directive like turtle-syntax-bad-ns-dot-end)" ; + mf:name "turtle-syntax-bad-missing-ns-dot-start" ; + rdft:approval rdft:Approved ; + mf:action . + +<#turtle-syntax-ln-dots> + rdf:type rdft:TestTurtlePositiveSyntax ; + rdfs:comment "Dots in pname local names" ; + mf:name "turtle-syntax-ln-dots" ; + rdft:approval rdft:Approved ; + mf:action . + +<#turtle-syntax-ln-colons> + rdf:type rdft:TestTurtlePositiveSyntax ; + rdfs:comment "Colons in pname local names" ; + mf:name "turtle-syntax-ln-colons" ; + rdft:approval rdft:Approved ; + mf:action . + +<#turtle-syntax-ns-dots> + rdf:type rdft:TestTurtlePositiveSyntax ; + rdfs:comment "Dots in namespace names" ; + mf:name "turtle-syntax-ns-dots" ; + rdft:approval rdft:Approved ; + mf:action . + +<#turtle-syntax-blank-label> + rdf:type rdft:TestTurtlePositiveSyntax ; + rdfs:comment "Characters allowed in blank node labels" ; + mf:name "turtle-syntax-blank-label" ; + rdft:approval rdft:Approved ; + mf:action . diff --git a/app/specs/turtle/eval/spec.json b/app/specs/turtle/eval/spec.json new file mode 100644 index 00000000..20a67d3a --- /dev/null +++ b/app/specs/turtle/eval/spec.json @@ -0,0 +1,22 @@ +{ + "name": "turtle-eval", + "comment": "The first evaluation tests of the W3C Turtle test suite as acceptance vectors: see app/specs/turtle/spec.json.", + "examples": [ + [ + "suite\nhttp://www.w3.org/2013/TurtleTests/\nsame IRI_subject.ttl 65 65\n .\n .\nsame IRI_with_four_digit_numeric_escape.ttl 70 65\n .\n .\nsame IRI_with_eight_digit_numeric_escape.ttl 74 65\n .\n .\nsame IRI_with_all_punctuation.ttl 142 142\n .\n .\nsame bareword_a_predicate.ttl 46 94\n a .\n .\nsame old_style_prefix.ttl 80 65\n@prefix p: .\np:s .\n .\nsame SPARQL_style_prefix.ttl 78 65\nPREFIX p: \np:s .\n .\nsame prefixed_IRI_predicate.ttl 80 65\n@prefix p: .\n p:p .\n .\nsame prefixed_IRI_object.ttl 80 65\n@prefix p: .\n p:o .\n .\nsame prefix_only_IRI.ttl 80 65\n@prefix p: .\np: .\n .\nsame prefix_with_PN_CHARS_BASE_character_boundaries.ttl 217 65\n@prefix AZazÀÖØöø˿ͰͽͿ῿‌‍⁰↏Ⰰ⿯、퟿豈﷏ﷰ�𐀀󯿽: .\n AZazÀÖØöø˿ͰͽͿ῿‌‍⁰↏Ⰰ⿯、퟿豈﷏ﷰ�𐀀󯿽:o .\n .\nsame prefix_with_non_leading_extras.ttl 106 65\n@prefix a·̀ͯ‿.⁀: .\na·̀ͯ‿.⁀:s .\n .\nsame localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries.ttl 141 200\n@prefix p: .\n p:AZazÀÖØöø˿Ͱͽ΄῾‌‍⁰↉Ⰰ⿕、ퟻ﨎ﷇﷰ￯ .\n .\nsame localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.ttl 149 220\n@prefix p: .\n p:AZazÀÖØöø˿Ͱͽ΄῾‌‍⁰↉Ⰰ⿕、ퟻ﨎ﷇﷰ￯𐀀󠇯 .\n .\nsame localName_with_nfc_PN_CHARS_BASE_character_boundaries.ttl 149 220\n@prefix p: .\n p:AZazÀÖØöø˿ͰͽͿ῿‌‍⁰↏Ⰰ⿯、퟿﨎﷏ﷰ￯𐀀󯿽 .\n .\nsame default_namespace_IRI.ttl 78 65\n@prefix : .\n:s .\n .\nsame prefix_reassigned_and_used.ttl 112 65\n@prefix p: .\n@prefix p: .\np:s .\n .\nsame reserved_escaped_localName.ttl 121 86\n@prefix p: .\np:\\_\\~\\.\\-\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=\\/\\?\\#\\@\\%00 .\n .\nsame percent_escaped_localName.ttl 82 67\n@prefix p: .\np:%25 .\n .\nsame HYPHEN_MINUS_in_localName.ttl 81 66\n@prefix p: .\np:s- .\n .\nsame underscore_in_localName.ttl 81 66\n@prefix p: .\np:s_ .\n .\nsame localname_with_COLON.ttl 81 66\n@prefix p: .\np:s: .\n .\nsame localName_with_leading_underscore.ttl 80 65\n@prefix p: .\np:_ .\n .\nsame localName_with_leading_digit.ttl 80 65\n@prefix p: .\np:0 .\n .\nsame localName_with_non_leading_extras.ttl 93 101\n@prefix p: .\np:a·̀ͯ‿.⁀ .\n .\nsame old_style_base.ttl 75 65\n@base .\n .\n .\n", + "pass 26" + ], + [ + "suite\nhttp://www.w3.org/2013/TurtleTests/\nsame SPARQL_style_base.ttl 73 65\nBASE \n .\n .\nsame labeled_blank_node_subject.ttl 48 49\n_:s .\n_:b1 .\nsame labeled_blank_node_object.ttl 48 49\n _:o .\n _:b1 .\nsame labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.ttl 116 49\n _:AZazÀÖØöø˿ͰͽͿ῿‌‍⁰↏Ⰰ⿯、퟿豈﷏ﷰ�𐀀󯿽 .\n _:b1 .\nsame labeled_blank_node_with_leading_underscore.ttl 48 49\n _:_ .\n _:b1 .\nsame labeled_blank_node_with_leading_digit.ttl 48 49\n _:0 .\n _:b1 .\nsame labeled_blank_node_with_non_leading_extras.ttl 61 49\n _:a·̀ͯ‿.⁀ .\n _:b1 .\nsame anonymous_blank_node_subject.ttl 47 49\n[] .\n_:b1 .\nsame anonymous_blank_node_object.ttl 47 49\n [] .\n _:b1 .\nsame sole_blankNodePropertyList.ttl 48 49\n[ ] .\n_:b1 .\nsame blankNodePropertyList_as_subject.ttl 92 100\n[ ] .\n_:b1 .\n_:b1 .\nsame blankNodePropertyList_as_object.ttl 92 100\n [ ] .\n _:b1 .\n_:b1 .\nsame blankNodePropertyList_with_multiple_triples.ttl 138 151\n[ ; ] .\n_:b1 .\n_:b1 .\n_:b1 .\nsame nested_blankNodePropertyLists.ttl 119 134\n[ [ ] ; ].\n_:b1 _:b2 .\n_:b2 .\n_:b1 .\nsame blankNodePropertyList_containing_collection.ttl 32 249\n[ (1) ] .\n_:b1 _:el1 .\n_:el1 \"1\"^^ .\n_:el1 .\nsame collection_subject.ttl 48 264\n(1) .\n_:el1 \"1\"^^ .\n_:el1 .\n_:el1 .\nsame collection_object.ttl 48 264\n (1) .\n _:el1 .\n_:el1 \"1\"^^ .\n_:el1 .\nsame empty_collection.ttl 47 93\n () .\n .\nsame nested_collection.ttl 50 466\n ((1)) .\n _:outerEl1 .\n_:outerEl1 _:innerEl1 .\n_:innerEl1 \"1\"^^ .\n_:innerEl1 .\n_:outerEl1 .\nsame first.ttl 52 652\n ((1) 2) .\n _:outerEl1 .\n_:outerEl1 _:innerEl1 .\n_:innerEl1 \"1\"^^ .\n_:innerEl1 .\n_:outerEl1 _:outerEl2 .\n_:outerEl2 \"2\"^^ .\n_:outerEl2 .\nsame last.ttl 52 652\n (1 (2)) .\n _:outerEl1 .\n_:outerEl1 \"1\"^^ .\n_:outerEl1 _:outerEl2 .\n_:outerEl2 _:innerEl1 .\n_:innerEl1 \"2\"^^ .\n_:innerEl1 .\n_:outerEl2 .\nsame LITERAL1.ttl 48 48\n 'x' .\n \"x\" .\n", + "pass 22" + ], + [ + "suite\nhttp://www.w3.org/2013/TurtleTests/\nsame LITERAL1_ascii_boundaries.ttl 57 83\n '\u0000\t\u000b\f\u000e&([]' .\n \"\\u0000\\t\\u000B\\u000C\\u000E&([]\\u007F\" .\nsame LITERAL1_with_UTF8_boundaries.ttl 99 167\n '€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽' .\n \"\\u0080\\u07FF\\u0800\\u0FFF\\u1000\\uCFFF\\uD000\\uD7FF\\uE000\\uFFFD\\U00010000\\U0003FFFD\\U00040000\\U000FFFFD\\U00100000\\U0010FFFD\" .\nsame LITERAL1_all_controls.ttl 77 223\n '\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\u000b\f\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f' .\n \"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\u0008\\t\\u000B\\u000C\\u000E\\u000F\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001A\\u001B\\u001C\\u001D\\u001E\\u001F\" .\nsame LITERAL1_all_punctuation.ttl 72 73\n ' !\"#$%&():;<=>?@[]^_`{|}~' .\n \" !\\\"#$%&():;<=>?@[]^_`{|}~\" .\nsame LITERAL_LONG1.ttl 52 48\n '''x''' .\n \"x\" .\nsame LITERAL_LONG1_ascii_boundaries.ttl 53 63\n '\u0000&([]' .\n \"\\u0000&([]\\u007F\" .\nsame LITERAL_LONG1_with_UTF8_boundaries.ttl 103 167\n '''€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽''' .\n \"\\u0080\\u07FF\\u0800\\u0FFF\\u1000\\uCFFF\\uD000\\uD7FF\\uE000\\uFFFD\\U00010000\\U0003FFFD\\U00040000\\U000FFFFD\\U00100000\\U0010FFFD\" .\nsame LITERAL_LONG1_with_1_squote.ttl 54 50\n '''x'y''' .\n \"x'y\" .\nsame LITERAL_LONG1_with_2_squotes.ttl 55 51\n '''x''y''' .\n \"x''y\" .\nsame LITERAL2.ttl 48 48\n \"x\" .\n \"x\" .\nsame LITERAL2_ascii_boundaries.ttl 57 83\n \"\u0000\t\u000b\f\u000e!#[]\" .\n \"\\u0000\\t\\u000B\\u000C\\u000E!#[]\\u007F\" .\nsame LITERAL2_with_UTF8_boundaries.ttl 99 167\n \"€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽\" .\n \"\\u0080\\u07FF\\u0800\\u0FFF\\u1000\\uCFFF\\uD000\\uD7FF\\uE000\\uFFFD\\U00010000\\U0003FFFD\\U00040000\\U000FFFFD\\U00100000\\U0010FFFD\" .\nsame LITERAL_LONG2.ttl 52 48\n \"\"\"x\"\"\" .\n \"x\" .\nsame LITERAL_LONG2_ascii_boundaries.ttl 53 63\n \"\u0000!#[]\" .\n \"\\u0000!#[]\\u007F\" .\nsame LITERAL_LONG2_with_UTF8_boundaries.ttl 103 167\n \"\"\"€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽\"\"\" .\n \"\\u0080\\u07FF\\u0800\\u0FFF\\u1000\\uCFFF\\uD000\\uD7FF\\uE000\\uFFFD\\U00010000\\U0003FFFD\\U00040000\\U000FFFFD\\U00100000\\U0010FFFD\" .\nsame LITERAL_LONG2_with_1_squote.ttl 54 51\n \"\"\"x\"y\"\"\" .\n \"x\\\"y\" .\nsame LITERAL_LONG2_with_2_squotes.ttl 55 53\n \"\"\"x\"\"y\"\"\" .\n \"x\\\"\\\"y\" .\nsame literal_with_CHARACTER_TABULATION.ttl 48 49\n '\t' .\n \"\\t\" .\nsame literal_with_BACKSPACE.ttl 48 53\n '\b' .\n \"\\u0008\" .\nsame literal_with_LINE_FEED.ttl 52 49\n '''\n''' .\n \"\\n\" .\nsame literal_with_CARRIAGE_RETURN.ttl 52 49\n '''\r''' .\n \"\\r\" .\nsame literal_with_FORM_FEED.ttl 48 53\n '\f' .\n \"\\u000C\" .\nsame literal_with_REVERSE_SOLIDUS.ttl 49 49\n '\\\\' .\n \"\\\\\" .\nsame literal_with_escaped_CHARACTER_TABULATION.ttl 49 49\n '\\t' .\n \"\\t\" .\nsame literal_with_escaped_BACKSPACE.ttl 49 53\n '\\b' .\n \"\\u0008\" .\nsame literal_with_escaped_LINE_FEED.ttl 49 49\n '\\n' .\n \"\\n\" .\nsame literal_with_escaped_CARRIAGE_RETURN.ttl 49 49\n '\\r' .\n \"\\r\" .\nsame literal_with_escaped_FORM_FEED.ttl 49 53\n '\\f' .\n \"\\u000C\" .\nsame literal_with_numeric_escape4.ttl 53 48\n '\\u006F' .\n \"o\" .\nsame literal_with_numeric_escape8.ttl 57 48\n '\\U0000006F' .\n \"o\" .\nsame IRIREF_datatype.ttl 92 92\n \"1\"^^ .\n \"1\"^^ .\nsame prefixed_name_datatype.ttl 112 92\n@prefix xsd: .\n \"1\"^^xsd:integer .\n \"1\"^^ .\nsame bareword_integer.ttl 46 92\n 1 .\n \"1\"^^ .\n", + "pass 33" + ], + [ + "suite\nhttp://www.w3.org/2013/TurtleTests/\nsame bareword_decimal.ttl 48 94\n 1.0 .\n \"1.0\"^^ .\nsame bareword_double.ttl 48 93\n 1E0 .\n \"1E0\"^^ .\nsame double_lower_case_e.ttl 48 93\n 1e0 .\n \"1e0\"^^ .\nsame negative_numeric.ttl 47 93\n -1 .\n \"-1\"^^ .\nsame positive_numeric.ttl 47 93\n +1 .\n \"+1\"^^ .\nsame numeric_with_leading_0.ttl 47 93\n 01 .\n \"01\"^^ .\nsame literal_true.ttl 49 95\n true .\n \"true\"^^ .\nsame literal_false.ttl 50 96\n false .\n \"false\"^^ .\nsame langtagged_non_LONG.ttl 54 54\n \"chat\"@en .\n \"chat\"@en .\nsame langtagged_LONG.ttl 58 54\n \"\"\"chat\"\"\"@en .\n \"chat\"@en .\nsame lantag_with_subtag.ttl 57 57\n \"chat\"@en-us .\n \"chat\"@en-us .\nsame objectList_with_two_objects.ttl 89 132\n , .\n .\n .\nsame predicateObjectList_with_two_objectLists.ttl 112 134\n ; .\n .\n .\nsame repeated_semis_at_end.ttl 113 134\n ;; .\n .\n .\nsame repeated_semis_not_at_end.ttl 69 67\n ;; .\n .\nsame turtle-eval-struct-01.ttl 119 119\n .\n .\nsame turtle-eval-struct-02.ttl 225 242\n \n ;\n ; \n .\n .\n .\nsame turtle-subm-01.ttl 27 127\n@prefix : <#> .\n[] :x :y .\n_:genid1 .\nsame turtle-subm-02.ttl 187 267\n# Test @prefix and qnames\n@prefix : .\n@prefix a: .\n@prefix b: .\n:a :b :c .\na:a a:b a:c .\n:a a:a b:a .\n .\n .\n .\nsame turtle-subm-03.ttl 88 258\n# Test , operator\n@prefix : .\n:a :b :c,\n :d,\n :e .\n .\n .\n .\nsame turtle-subm-04.ttl 90 258\n# Test ; operator\n@prefix : .\n:a :b :c ;\n :d :e ;\n :f :g .\n .\n .\n .\nsame turtle-subm-05.ttl 112 134\n# Test empty [] operator; not allowed as predicate\n@prefix : .\n[] :a :b .\n:c :d [] .\n_:genid1 .\n _:genid2 .\nsame turtle-subm-06.ttl 130 268\n# Test non empty [] operator; not allowed as predicate\n@prefix : .\n[ :a :b ] :c :d .\n:e :f [ :g :h ] .\n_:genid1 .\n_:genid1 .\n_:genid2 .\n _:genid2 .\nsame turtle-subm-07.ttl 83 108\n# 'a' only allowed as a predicate\n@prefix : .\n:a a :b .\n .\n", + "pass 24" + ] + ] +} diff --git a/app/specs/turtle/eval2/spec.json b/app/specs/turtle/eval2/spec.json new file mode 100644 index 00000000..3d4af81d --- /dev/null +++ b/app/specs/turtle/eval2/spec.json @@ -0,0 +1,22 @@ +{ + "name": "turtle-eval-2", + "comment": "The other evaluation tests of the W3C Turtle test suite as acceptance vectors: see app/specs/turtle/spec.json.", + "examples": [ + [ + "suite\nhttp://www.w3.org/2013/TurtleTests/\nsame turtle-subm-08.ttl 74 398\n@prefix : .\n:a :b ( \"apple\" \"banana\" ) .\n\n_:genid1 \"banana\" .\n_:genid1 .\n_:genid2 \"apple\" .\n_:genid2 _:genid1 .\n _:genid2 .\nsame turtle-subm-09.ttl 57 117\n@prefix : .\n:a :b ( ) .\n\n .\nsame turtle-subm-10.ttl 276 388\n# Test integer datatyped literals using an OWL cardinality constraint\n@prefix owl: .\n\n# based on examples in the OWL Reference\n\n_:hasParent a owl:ObjectProperty .\n\n[] a owl:Restriction ;\n owl:onProperty _:hasParent ;\n owl:maxCardinality 2 .\n_:hasParent .\n_:genid1 .\n_:genid1 _:hasParent .\n_:genid1 \"2\"^^ .\nsame turtle-subm-11.ttl 295 525\n 000000 .\n 0 .\n 000001 .\n 2 .\n 4 .\n \"000000\"^^ .\n \"0\"^^ .\n \"000001\"^^ .\n \"2\"^^ .\n \"4\"^^ .\nsame turtle-subm-12.ttl 331 288\n# Tests for - and _ in names, qnames\n@prefix ex1: .\n@prefix ex-2: .\n@prefix ex3_: .\n@prefix ex4-: .\n\nex1:foo-bar ex1:foo_bar \"a\" .\nex-2:foo-bar ex-2:foo_bar \"b\" .\nex3_:foo-bar ex3_:foo_bar \"c\" .\nex4-:foo-bar ex4-:foo_bar \"d\" .\n \"a\" .\n \"b\" .\n \"c\" .\n \"d\" .\nsame turtle-subm-13.ttl 288 302\n# Tests for rdf:_ and other qnames starting with _\n@prefix rdf: .\n@prefix ex: .\n@prefix : .\n\nex:foo rdf:_1 \"1\" .\nex:foo rdf:_2 \"2\" .\nex:foo :_abc \"def\" .\nex:foo :_345 \"678\" .\n \"1\" .\n \"2\" .\n \"def\" .\n \"678\" .\nsame turtle-subm-14.ttl 82 122\n# Test for : allowed\n@prefix : .\n\n[] : [] .\n\n: : : .\n\n_:genid1 _:genid2 .\n .\nsame turtle-subm-15.ttl 102 90\n# Test long literal\n@prefix : .\n:a :b \"\"\"a long\n\tliteral\nwith\nnewlines\"\"\" .\n \"a long\\n\\tliteral\\nwith\\nnewlines\" .\nsame turtle-subm-16.ttl 418 209\n@prefix : .\n\n## \\U00015678 is a not a legal codepoint\n## :a :b \"\"\"\\nthis \\ris a \\U00015678long\\t\n## literal\\uABCD\n## \"\"\" .\n## \n## :d :e \"\"\"\\tThis \\uABCDis\\r \\U00015678another\\n\n## one\n## \"\"\" .\n\n# \\U00015678 is a not a legal codepoint\n# \\U00012451 in Cuneiform numeric ban 3\n:a :b \"\"\"\\nthis \\ris a \\U00012451long\\t\nliteral\\uABCD\n\"\"\" .\n\n:d :e \"\"\"\\tThis \\uABCDis\\r \\U00012451another\\n\none\n\"\"\" .\n \"\\nthis \\ris a \\U00012451long\\t\\nliteral\\uABCD\\n\" .\n \"\\tThis \\uABCDis\\r \\U00012451another\\n\\none\\n\" .\nsame turtle-subm-17.ttl 50 100\n@prefix : .\n\n:a :b 1.0 .\n\n \"1.0\"^^ .\nsame turtle-subm-18.ttl 64 106\n@prefix : .\n\n:a :b \"\" .\n\n:c :d \"\"\"\"\"\" .\n\n \"\" .\n \"\" .\nsame turtle-subm-19.ttl 70 293\n@prefix : .\n:a :b 1.0 .\n:c :d 1 .\n:e :f 1.0e0 .\n \"1.0\"^^ .\n \"1\"^^ .\n \"1.0e0\"^^ .\nsame turtle-subm-20.ttl 73 296\n@prefix : .\n:a :b -1.0 .\n:c :d -1 .\n:e :f -1.0e0 .\n \"-1.0\"^^ .\n \"-1\"^^ .\n \"-1.0e0\"^^ .\nsame turtle-subm-21.ttl 99 84\n# Test long literal\n@prefix : .\n:a :b \"\"\"John said: \"Hello World!\\\"\"\"\" .\n \"John said: \\\"Hello World!\\\"\" .\n", + "pass 14" + ], + [ + "suite\nhttp://www.w3.org/2013/TurtleTests/\nsame turtle-subm-22.ttl 61 199\n@prefix : .\n:a :b true .\n:c :d false .\n \"true\"^^ .\n \"false\"^^ .\nsame turtle-subm-23.ttl 258 518\n# comment test\n@prefix : .\n:a :b :c . # end of line comment\n:d # ignore me\n :e # and me\n :f # and me\n .\n:g :h #ignore me\n :i, # and me\n :j . # and me\n\n:k :l :m ; #ignore me\n :n :o ; # and me\n :p :q . # and me\n .\n .\n .\n .\n .\n .\n .\nsame turtle-subm-24.ttl 93 74\n# comment line with no final newline test\n@prefix : .\n:a :b :c .\n#foo\n .\nsame turtle-subm-25.ttl 115 92\n@prefix foo: .\n@prefix foo: .\n\nfoo:blah foo:blah foo:blah .\n\n .\n", + "pass 4" + ], + [ + "suite\nhttp://www.w3.org/2013/TurtleTests/\nsame turtle-subm-26.ttl 2503 2503\n \"2.345\"^^ .\n \"1\"^^ .\n \"1.0\"^^ .\n \"1.\"^^ .\n \"1.000000000\"^^ .\n \"2.3\"^^ .\n \"2.234000005\"^^ .\n \"2.2340000005\"^^ .\n \"2.23400000005\"^^ .\n \"2.234000000005\"^^ .\n \"2.2340000000005\"^^ .\n \"2.23400000000005\"^^ .\n \"2.234000000000005\"^^ .\n \"2.2340000000000005\"^^ .\n \"2.23400000000000005\"^^ .\n \"2.234000000000000005\"^^ .\n \"2.2340000000000000005\"^^ .\n \"2.23400000000000000005\"^^ .\n \"2.234000000000000000005\"^^ .\n \"2.2340000000000000000005\"^^ .\n \"2.23400000000000000000005\"^^ .\n \"1.2345678901234567890123457890\"^^ .\n \"2.345\"^^ .\n \"1\"^^ .\n \"1.0\"^^ .\n \"1.\"^^ .\n \"1.000000000\"^^ .\n \"2.3\"^^ .\n \"2.234000005\"^^ .\n \"2.2340000005\"^^ .\n \"2.23400000005\"^^ .\n \"2.234000000005\"^^ .\n \"2.2340000000005\"^^ .\n \"2.23400000000005\"^^ .\n \"2.234000000000005\"^^ .\n \"2.2340000000000005\"^^ .\n \"2.23400000000000005\"^^ .\n \"2.234000000000000005\"^^ .\n \"2.2340000000000000005\"^^ .\n \"2.23400000000000000005\"^^ .\n \"2.234000000000000000005\"^^ .\n \"2.2340000000000000000005\"^^ .\n \"2.23400000000000000000005\"^^ .\n \"1.2345678901234567890123457890\"^^ .\nsame turtle-subm-27.ttl 423 493\n# In-scope base URI is at this point\n .\n@base .\n# In-scope base URI is http://example.org/ns/ at this point\n .\n@base .\n# In-scope base URI is http://example.org/ns/foo/ at this point\n .\n@prefix : .\n:a4 :b4 :c4 .\n@prefix : .\n:a5 :b5 :c5 .\n .\n .\n .\n .\n .\n", + "pass 2" + ], + [ + "suite\nhttp://www.w3.org/2013/TurtleTests/\nsame comment_following_localName.ttl 89 65\n@prefix p: .\n p:o#comment\n.\n .\nsame number_sign_following_localName.ttl 93 76\n@prefix p: .\n p:o\\#numbersign\n.\n .\nsame comment_following_PNAME_NS.ttl 88 64\n@prefix p: .\n p:#comment\n.\n .\nsame number_sign_following_PNAME_NS.ttl 91 75\n@prefix p: .\n p:\\#numbersign\n.\n .\nsame LITERAL_LONG2_with_REVERSE_SOLIDUS.ttl 61 65\n@prefix : .\n\n:s :p1 \"\"\"test-\\\\\"\"\" .\n \"test-\\\\\" .\nsame two_LITERAL_LONG2s.ttl 164 151\n# Test long literal twice to ensure it does not over-quote\n@prefix : .\n:a :b \"\"\"first long literal\"\"\" .\n:c :d \"\"\"second long literal\"\"\" .\n \"first long literal\" .\n \"second long literal\" .\nsame langtagged_LONG_with_subtag.ttl 99 69\n# Test long literal with lang tag\n@prefix : .\n:a :b \"\"\"Cheers\"\"\"@en-UK .\n \"Cheers\"@en-UK .\n", + "pass 7" + ] + ] +} diff --git a/app/specs/turtle/spec.json b/app/specs/turtle/spec.json new file mode 100644 index 00000000..1cc6bcc2 --- /dev/null +++ b/app/specs/turtle/spec.json @@ -0,0 +1,2330 @@ +{ + "name": "turtle", + "comment": "The Prism's Turtle reader (app/src/PrismSenses.lex.tex, prismTurtleDispatch) held to the W3C RDF Working Group's Turtle test suite. 'suite' pins the suite's archive as W3C serves it; 'tests' lists all 291 tests of its manifest, each file pinned by SHA-256, with the verdict the suite gives it: a positive syntax test is accepted, a negative syntax or negative evaluation test is refused, and an evaluation test reads into the same graph as its N-Triples result. A request is 'suite', a line break, the suite's home IRI, a line break, then tests in the manifest's order: each a line of the suite's verdict, the file's name and the lengths of its Turtle and of its N-Triples result (0 when it has none), then those files' bytes. The reader reads each file against its retrieval IRI (the home and the file's name: RFC 3986 section 5.1.3, as the suite's README says) and answers 'pass' and the number of tests, or 'fail', the index of the first test whose verdict differs, its file and what the reader found. Two graphs are the same when one naming of their blank nodes makes their triples equal; the reader tries the naming by order met, forwards and backwards, which settles every graph of the suite. 'examples' here hold the 159 syntax and negative evaluation tests, the acceptance vectors of the guest 'turtle'; eval/spec.json and eval2/spec.json carry the 132 evaluation tests as the vectors of 'turtle-eval' and 'turtle-eval-2', built from the same module, because one build holds about 30 KB of vectors. The examples were written from the archive by a tool kept outside the repository (project files, nervous/turtle-tool/mkspec.py); a LexLean generator that reads the archive is not written yet.", + "suite": { + "url": "https://www.w3.org/2013/TurtleTests/TESTS.tar.gz", + "sha256": "f565c46321844897488bde4a8bf34fc1b711d563bc6cf7635d6c357081759b3a", + "home": "http://www.w3.org/2013/TurtleTests/" + }, + "tests": [ + { + "id": "IRI_subject", + "kind": "TestTurtleEval", + "action": "IRI_subject.ttl", + "sha256": "9b59264ba4ee34a59449374914f0bd160b086cc777f5bd331779c9edac64de25", + "result": "IRI_spo.nt", + "resultSha256": "9b59264ba4ee34a59449374914f0bd160b086cc777f5bd331779c9edac64de25", + "answer": "same" + }, + { + "id": "IRI_with_four_digit_numeric_escape", + "kind": "TestTurtleEval", + "action": "IRI_with_four_digit_numeric_escape.ttl", + "sha256": "27b5dc9e7432a9df53e1ac05b885680ac15e819d8003c0d012c3f4a4e4ef7175", + "result": "IRI_spo.nt", + "resultSha256": "9b59264ba4ee34a59449374914f0bd160b086cc777f5bd331779c9edac64de25", + "answer": "same" + }, + { + "id": "IRI_with_eight_digit_numeric_escape", + "kind": "TestTurtleEval", + "action": "IRI_with_eight_digit_numeric_escape.ttl", + "sha256": "cce9227458eb75e797d933524d84b0a7ad8f9015d92bfe2965b36cbadd53b57a", + "result": "IRI_spo.nt", + "resultSha256": "9b59264ba4ee34a59449374914f0bd160b086cc777f5bd331779c9edac64de25", + "answer": "same" + }, + { + "id": "IRI_with_all_punctuation", + "kind": "TestTurtleEval", + "action": "IRI_with_all_punctuation.ttl", + "sha256": "ab4b4ca5d5a577639cfd4acc1de43c8ce26e2c18e7db3691412b842f98b99a63", + "result": "IRI_with_all_punctuation.nt", + "resultSha256": "ab4b4ca5d5a577639cfd4acc1de43c8ce26e2c18e7db3691412b842f98b99a63", + "answer": "same" + }, + { + "id": "bareword_a_predicate", + "kind": "TestTurtleEval", + "action": "bareword_a_predicate.ttl", + "sha256": "949df5f89e1fb3179b79a86952f5af53cd5d10d17d2e88db88f95025dcc2f658", + "result": "bareword_a_predicate.nt", + "resultSha256": "cad0c577de72e79fb8d083ead90f7324bf9e856b3802168869d71b58f16cbd14", + "answer": "same" + }, + { + "id": "old_style_prefix", + "kind": "TestTurtleEval", + "action": "old_style_prefix.ttl", + "sha256": "a7612a1acc43558bee51ec4bffd0dc75966509db041a3d8883563d7af2ae04b4", + "result": "IRI_spo.nt", + "resultSha256": "9b59264ba4ee34a59449374914f0bd160b086cc777f5bd331779c9edac64de25", + "answer": "same" + }, + { + "id": "SPARQL_style_prefix", + "kind": "TestTurtleEval", + "action": "SPARQL_style_prefix.ttl", + "sha256": "2b6248ff2a4255eba0e2566d2a68644c06fed3f030884be9aec1f29484e72816", + "result": "IRI_spo.nt", + "resultSha256": "9b59264ba4ee34a59449374914f0bd160b086cc777f5bd331779c9edac64de25", + "answer": "same" + }, + { + "id": "prefixed_IRI_predicate", + "kind": "TestTurtleEval", + "action": "prefixed_IRI_predicate.ttl", + "sha256": "309db1e7df29f44a451899ea32ddfd9320c5afbfe833de6e23784f7e40e4181d", + "result": "IRI_spo.nt", + "resultSha256": "9b59264ba4ee34a59449374914f0bd160b086cc777f5bd331779c9edac64de25", + "answer": "same" + }, + { + "id": "prefixed_IRI_object", + "kind": "TestTurtleEval", + "action": "prefixed_IRI_object.ttl", + "sha256": "4e08f196fe9984101e1820e1aa0580de3ac3ef6e7a6169fa280bb36c518ee65e", + "result": "IRI_spo.nt", + "resultSha256": "9b59264ba4ee34a59449374914f0bd160b086cc777f5bd331779c9edac64de25", + "answer": "same" + }, + { + "id": "prefix_only_IRI", + "kind": "TestTurtleEval", + "action": "prefix_only_IRI.ttl", + "sha256": "2f2f15f65cfd106db2259844f9da4e3cbceebd575a594a1a8674df93acfc1012", + "result": "IRI_spo.nt", + "resultSha256": "9b59264ba4ee34a59449374914f0bd160b086cc777f5bd331779c9edac64de25", + "answer": "same" + }, + { + "id": "prefix_with_PN_CHARS_BASE_character_boundaries", + "kind": "TestTurtleEval", + "action": "prefix_with_PN_CHARS_BASE_character_boundaries.ttl", + "sha256": "4a8d00163cabad0cb711c8b165331355ed69d1f5eb1dbb76479a9c774e35b1ea", + "result": "IRI_spo.nt", + "resultSha256": "9b59264ba4ee34a59449374914f0bd160b086cc777f5bd331779c9edac64de25", + "answer": "same" + }, + { + "id": "prefix_with_non_leading_extras", + "kind": "TestTurtleEval", + "action": "prefix_with_non_leading_extras.ttl", + "sha256": "7dcb80390ac43fb5dd37052b56f37b3e518918699ff54a12cadd451cb604d08f", + "result": "IRI_spo.nt", + "resultSha256": "9b59264ba4ee34a59449374914f0bd160b086cc777f5bd331779c9edac64de25", + "answer": "same" + }, + { + "id": "localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries", + "kind": "TestTurtleEval", + "action": "localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries.ttl", + "sha256": "a3b69675c6f8de9b372aabca429e5d6172d8ee27e2efcea10af42ccd41a65276", + "result": "localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries.nt", + "resultSha256": "50e2013f3c307657bd9524f6b46cbc4fa479f80649f52ec541289ff3113a1bb9", + "answer": "same" + }, + { + "id": "localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries", + "kind": "TestTurtleEval", + "action": "localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.ttl", + "sha256": "64714aaea110da30e3b1bcbfe2f0cf4e85bc1bd604d0c7312ed50b12253800f6", + "result": "localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.nt", + "resultSha256": "5c50ac6dafc84432bcb8c88f664ffd47c38b2cbcfdca1731aac18586c9f90c62", + "answer": "same" + }, + { + "id": "localName_with_nfc_PN_CHARS_BASE_character_boundaries", + "kind": "TestTurtleEval", + "action": "localName_with_nfc_PN_CHARS_BASE_character_boundaries.ttl", + "sha256": "e04a0f868a80662b33c507884bafb62331f66727e257d2cbdd3b298a99537b99", + "result": "localName_with_nfc_PN_CHARS_BASE_character_boundaries.nt", + "resultSha256": "4e1196b22bfccb4743dbbef233afa0c96510720bdb8274ff5e864b778c4054c8", + "answer": "same" + }, + { + "id": "default_namespace_IRI", + "kind": "TestTurtleEval", + "action": "default_namespace_IRI.ttl", + "sha256": "2197e06aacf4f40c50c6de262f7d722b6d706f7a25544643e48ad6943e2e5b14", + "result": "IRI_spo.nt", + "resultSha256": "9b59264ba4ee34a59449374914f0bd160b086cc777f5bd331779c9edac64de25", + "answer": "same" + }, + { + "id": "prefix_reassigned_and_used", + "kind": "TestTurtleEval", + "action": "prefix_reassigned_and_used.ttl", + "sha256": "b04dfb43bad4d8da8ede1cfcd88d9bf5ff85f80e5d5b8c9cd86222a957446205", + "result": "prefix_reassigned_and_used.nt", + "resultSha256": "9a43216f82fbc9d77dfb167c40cd5fa2f21a24acd9386d6c93cd933dafe31017", + "answer": "same" + }, + { + "id": "reserved_escaped_localName", + "kind": "TestTurtleEval", + "action": "reserved_escaped_localName.ttl", + "sha256": "c32e2517044ed8043302d4e0aaa225c834f0b98174bab62a1ca632d7a6009232", + "result": "reserved_escaped_localName.nt", + "resultSha256": "a0e0baf61d9905c032fed239d0175229073f47706098f542526c264eb697912e", + "answer": "same" + }, + { + "id": "percent_escaped_localName", + "kind": "TestTurtleEval", + "action": "percent_escaped_localName.ttl", + "sha256": "4969f1be4adf1b01008ce5a2598640e1fed3aa18a5113a4c289fbd44bc3f0b01", + "result": "percent_escaped_localName.nt", + "resultSha256": "ca356109f50978834e2885b09ee308a2cf5a4feb486b25c7c8d0c77f853089f9", + "answer": "same" + }, + { + "id": "HYPHEN_MINUS_in_localName", + "kind": "TestTurtleEval", + "action": "HYPHEN_MINUS_in_localName.ttl", + "sha256": "4941cc23feeb06a220914a43df2bfeb35dfe38375f81df7e4ee29da76db8c04e", + "result": "HYPHEN_MINUS_in_localName.nt", + "resultSha256": "98fa040cb3c470496bb3765185e909a0aac6ae61e3a2780e414d290c0206e55b", + "answer": "same" + }, + { + "id": "underscore_in_localName", + "kind": "TestTurtleEval", + "action": "underscore_in_localName.ttl", + "sha256": "783d90fdd34fe361d355cdfcfe0fb3dcf0c84bafb66412f51f22b5f7065d42c8", + "result": "underscore_in_localName.nt", + "resultSha256": "2925eabdbc25dc4a4a3b4cb2c5303d593a4fa19328750f6357f238213098fc9b", + "answer": "same" + }, + { + "id": "localname_with_COLON", + "kind": "TestTurtleEval", + "action": "localname_with_COLON.ttl", + "sha256": "32734cd97c29c44292b4994cf8a5bd29eb513f6a3c581fed80479d4dc44523fd", + "result": "localname_with_COLON.nt", + "resultSha256": "260bd80e8655594b0d25ccc2e37aca7bf437a27c3ab9e82c559df084d2cac742", + "answer": "same" + }, + { + "id": "localName_with_leading_underscore", + "kind": "TestTurtleEval", + "action": "localName_with_leading_underscore.ttl", + "sha256": "3c6deb8346e850e433ce3ea2108c3b1c93d4d36a1fe40eae72e74b34257cba53", + "result": "localName_with_leading_underscore.nt", + "resultSha256": "5f37fc54e10284c54569b8f38b25e7fc29cf9858e687834d38db5ebff08c133b", + "answer": "same" + }, + { + "id": "localName_with_leading_digit", + "kind": "TestTurtleEval", + "action": "localName_with_leading_digit.ttl", + "sha256": "df6c721f2d79a4262efabb6c734761fc795a827947fa1292ff9002813e9d7052", + "result": "localName_with_leading_digit.nt", + "resultSha256": "e77c1789b9bc947a129bf97030b2424d144039bf04f6b929f166e20beb880ad5", + "answer": "same" + }, + { + "id": "localName_with_non_leading_extras", + "kind": "TestTurtleEval", + "action": "localName_with_non_leading_extras.ttl", + "sha256": "70a1efa8fe7ce93a1db281a547442dd4227254376411cded316e4ea4e5a1d88d", + "result": "localName_with_non_leading_extras.nt", + "resultSha256": "34cff2bb8bf65c6f2a3da9bd3d2cd137a584ac30731bd078d6cdd251f5ec0237", + "answer": "same" + }, + { + "id": "old_style_base", + "kind": "TestTurtleEval", + "action": "old_style_base.ttl", + "sha256": "d451bffc04f1e1c41e74b1afd3e5a26f01a4eea11e444e1b79d56278a943f89c", + "result": "IRI_spo.nt", + "resultSha256": "9b59264ba4ee34a59449374914f0bd160b086cc777f5bd331779c9edac64de25", + "answer": "same" + }, + { + "id": "SPARQL_style_base", + "kind": "TestTurtleEval", + "action": "SPARQL_style_base.ttl", + "sha256": "e31293b7a7b9c8f3d16c7bff33aeee77377097ccbfb3359b2e7b0f1a2c6f788d", + "result": "IRI_spo.nt", + "resultSha256": "9b59264ba4ee34a59449374914f0bd160b086cc777f5bd331779c9edac64de25", + "answer": "same" + }, + { + "id": "labeled_blank_node_subject", + "kind": "TestTurtleEval", + "action": "labeled_blank_node_subject.ttl", + "sha256": "d8192137a1023d4f9d5191a8212df64147c57e6186bee052c3266db517c8c718", + "result": "labeled_blank_node_subject.nt", + "resultSha256": "6a5add09cc53ddd0909fb761cfa8ce3893df58a1ff772541aeccd432708c805b", + "answer": "same" + }, + { + "id": "labeled_blank_node_object", + "kind": "TestTurtleEval", + "action": "labeled_blank_node_object.ttl", + "sha256": "9aacf955a4646a2c3a9091c2e81d257c7ddbc1a4cced9c6989dbbe09091a1db9", + "result": "labeled_blank_node_object.nt", + "resultSha256": "7d1dc1432a0b1fb8fe418e917613aaad01a04780d3a476482da4083c925d7314", + "answer": "same" + }, + { + "id": "labeled_blank_node_with_PN_CHARS_BASE_character_boundaries", + "kind": "TestTurtleEval", + "action": "labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.ttl", + "sha256": "64a9f2ff0fe3a610633a69e2890c206cfe52325d83e389d4c60226de694e9c5c", + "result": "labeled_blank_node_object.nt", + "resultSha256": "7d1dc1432a0b1fb8fe418e917613aaad01a04780d3a476482da4083c925d7314", + "answer": "same" + }, + { + "id": "labeled_blank_node_with_leading_underscore", + "kind": "TestTurtleEval", + "action": "labeled_blank_node_with_leading_underscore.ttl", + "sha256": "161912f1df383cc8a8188aec3b87415b556ea9dc2e324c4f05501c2a86c396e1", + "result": "labeled_blank_node_object.nt", + "resultSha256": "7d1dc1432a0b1fb8fe418e917613aaad01a04780d3a476482da4083c925d7314", + "answer": "same" + }, + { + "id": "labeled_blank_node_with_leading_digit", + "kind": "TestTurtleEval", + "action": "labeled_blank_node_with_leading_digit.ttl", + "sha256": "67a2b438836bea8af110bb7845dd3bbc5254a906074a1c49c55940fa3d204322", + "result": "labeled_blank_node_object.nt", + "resultSha256": "7d1dc1432a0b1fb8fe418e917613aaad01a04780d3a476482da4083c925d7314", + "answer": "same" + }, + { + "id": "labeled_blank_node_with_non_leading_extras", + "kind": "TestTurtleEval", + "action": "labeled_blank_node_with_non_leading_extras.ttl", + "sha256": "1991c9fb989df6290bd75089af60c65cb0a13ec80be872b337311ad7843b0f7e", + "result": "labeled_blank_node_object.nt", + "resultSha256": "7d1dc1432a0b1fb8fe418e917613aaad01a04780d3a476482da4083c925d7314", + "answer": "same" + }, + { + "id": "anonymous_blank_node_subject", + "kind": "TestTurtleEval", + "action": "anonymous_blank_node_subject.ttl", + "sha256": "b050d293ac3cce691997197d9684568cb0648b1ec73aff468c976f1a4224b810", + "result": "labeled_blank_node_subject.nt", + "resultSha256": "6a5add09cc53ddd0909fb761cfa8ce3893df58a1ff772541aeccd432708c805b", + "answer": "same" + }, + { + "id": "anonymous_blank_node_object", + "kind": "TestTurtleEval", + "action": "anonymous_blank_node_object.ttl", + "sha256": "cb568d3d96868007d58cd008cccd0bafc4a5f33ed9ebeb7cfa82bb3407f25bb6", + "result": "labeled_blank_node_object.nt", + "resultSha256": "7d1dc1432a0b1fb8fe418e917613aaad01a04780d3a476482da4083c925d7314", + "answer": "same" + }, + { + "id": "sole_blankNodePropertyList", + "kind": "TestTurtleEval", + "action": "sole_blankNodePropertyList.ttl", + "sha256": "8412c57931d0fee2c7dbc3f4fc17fd58727122f114f7ce1d29b21b9c9a530388", + "result": "labeled_blank_node_subject.nt", + "resultSha256": "6a5add09cc53ddd0909fb761cfa8ce3893df58a1ff772541aeccd432708c805b", + "answer": "same" + }, + { + "id": "blankNodePropertyList_as_subject", + "kind": "TestTurtleEval", + "action": "blankNodePropertyList_as_subject.ttl", + "sha256": "88897feed0c0513457534f9b76adaf81bd16134577625d09d331a7e283addf67", + "result": "blankNodePropertyList_as_subject.nt", + "resultSha256": "eb5027624efbac8d2d52261625732e4c7bad6bf93e9c0a61e57a90080c199f56", + "answer": "same" + }, + { + "id": "blankNodePropertyList_as_object", + "kind": "TestTurtleEval", + "action": "blankNodePropertyList_as_object.ttl", + "sha256": "4ee8387b08053171e55b5d8c96dd4511bea36b132ad947726587b063685fb6f3", + "result": "blankNodePropertyList_as_object.nt", + "resultSha256": "344716a9a5001045f4a5c91b52d5a253a206e23958395fc97bf8da16865fe371", + "answer": "same" + }, + { + "id": "blankNodePropertyList_with_multiple_triples", + "kind": "TestTurtleEval", + "action": "blankNodePropertyList_with_multiple_triples.ttl", + "sha256": "c1eea83e70548ebc0f36d0ba3f897a8eef3b5a5536f1e9f5f6b2f8ce13e8156e", + "result": "blankNodePropertyList_with_multiple_triples.nt", + "resultSha256": "55b2c91e0defe1dcc5bb02e48a739fd9f50e11cf3a3725843731cb2c8131fb42", + "answer": "same" + }, + { + "id": "nested_blankNodePropertyLists", + "kind": "TestTurtleEval", + "action": "nested_blankNodePropertyLists.ttl", + "sha256": "bdce7dc9f2b5ec55f92d015e4a22f1307bd277281a30e788eaaba623e21d3b05", + "result": "nested_blankNodePropertyLists.nt", + "resultSha256": "5e0de15f17daa90dd550ce09bbf05b459da59d92e6c946bdc740b6f43389dd53", + "answer": "same" + }, + { + "id": "blankNodePropertyList_containing_collection", + "kind": "TestTurtleEval", + "action": "blankNodePropertyList_containing_collection.ttl", + "sha256": "b90d88fe23f3f04c2925d79795b10353f5bc88507fa8f008fea68db9ed96f8e8", + "result": "blankNodePropertyList_containing_collection.nt", + "resultSha256": "27470cd58abb199e35bb2932a02f18fc7e7fec2615f6a6c64b2a8e50e71a23df", + "answer": "same" + }, + { + "id": "collection_subject", + "kind": "TestTurtleEval", + "action": "collection_subject.ttl", + "sha256": "a22938712e15cee4c7d859e1fc16b88bda69ac2beab7047313dd673c461c444f", + "result": "collection_subject.nt", + "resultSha256": "6a0b6074f0617814c7386593c88299f811a37a9891bb2721c1f7e7fa8ad28308", + "answer": "same" + }, + { + "id": "collection_object", + "kind": "TestTurtleEval", + "action": "collection_object.ttl", + "sha256": "f2e7621575d07f09535f0c8860b270a65860e9b26bb7c618835b4c54578e2af3", + "result": "collection_object.nt", + "resultSha256": "e9de629fdc5b98e0a5f4732e10e969e8cb9f9e387249b56bdacede79d4cd1b6d", + "answer": "same" + }, + { + "id": "empty_collection", + "kind": "TestTurtleEval", + "action": "empty_collection.ttl", + "sha256": "3acfeaf1e470711a20a82a47cca98514e1292976eda87a5cc6d7e481121e023b", + "result": "empty_collection.nt", + "resultSha256": "633e54813820c7d5ae0e9482d868895baa06a52f74eff051fc27e88a6a25b324", + "answer": "same" + }, + { + "id": "nested_collection", + "kind": "TestTurtleEval", + "action": "nested_collection.ttl", + "sha256": "674a001e3078b32bfaaf8f23259ef284c0d76746e8d1ff18de3def0a4e2d8d9f", + "result": "nested_collection.nt", + "resultSha256": "f913e4cbf4d098087af867ef9bf1728edcc808e211782e97bc3d06f282d1af6d", + "answer": "same" + }, + { + "id": "first", + "kind": "TestTurtleEval", + "action": "first.ttl", + "sha256": "8e8b1ce8ee123a700a99b60c4304c7a99d658de5a304ee9f86912ff4649ba733", + "result": "first.nt", + "resultSha256": "52855b5fc5aa7685006bdeb1561802de22089f487bf4f8d73cce06388efa6f10", + "answer": "same" + }, + { + "id": "last", + "kind": "TestTurtleEval", + "action": "last.ttl", + "sha256": "37d4e69e0dd5d1dc34d32ae205d7d5ff4ec9fb003bb43ee67a56381e5999a7d1", + "result": "last.nt", + "resultSha256": "808a05465da3239b67baba3fee8a5a062c34c43e7463eb2fe8c8797befc5cb87", + "answer": "same" + }, + { + "id": "LITERAL1", + "kind": "TestTurtleEval", + "action": "LITERAL1.ttl", + "sha256": "136a70b05e9e69e4909ed5ca84005d9578dc1e77dbe6762c09034fb3f8ded81e", + "result": "LITERAL1.nt", + "resultSha256": "b24ff4ccb0d509bf31fc58983edae333dc20a1fc28f5f024cd2ab4337cc31c9d", + "answer": "same" + }, + { + "id": "LITERAL1_ascii_boundaries", + "kind": "TestTurtleEval", + "action": "LITERAL1_ascii_boundaries.ttl", + "sha256": "7aa043f909aad62d0c50736e0bf8ea706a7cd09a2c7c9ed9bb1b51f2a6e80e6d", + "result": "LITERAL1_ascii_boundaries.nt", + "resultSha256": "bd9d0846d78336ae30091681b3efea04226a660def3d817e6af1702104eba7b1", + "answer": "same" + }, + { + "id": "LITERAL1_with_UTF8_boundaries", + "kind": "TestTurtleEval", + "action": "LITERAL1_with_UTF8_boundaries.ttl", + "sha256": "5a0cde9e8eebc6127b490e58fab0ad6a72a9658c2f0f1d8e3c314b59a4f400cd", + "result": "LITERAL_with_UTF8_boundaries.nt", + "resultSha256": "0af62c3825c5e1eef062b9a0aeb9bccc8f490fb42a1fa993063b5b9733b19246", + "answer": "same" + }, + { + "id": "LITERAL1_all_controls", + "kind": "TestTurtleEval", + "action": "LITERAL1_all_controls.ttl", + "sha256": "01a26df18898946c42e7f5a71876d5b34179a381f24b9edf9d86100aeb79ccd6", + "result": "LITERAL1_all_controls.nt", + "resultSha256": "eca09eda38ca2d5b54756628156d742ceefebb0d9c7b24dce7f74cd1279efa39", + "answer": "same" + }, + { + "id": "LITERAL1_all_punctuation", + "kind": "TestTurtleEval", + "action": "LITERAL1_all_punctuation.ttl", + "sha256": "ee0fbcabab44fa67bc75c9223e1ecd4c290ef93c1383159026f13617099171ec", + "result": "LITERAL1_all_punctuation.nt", + "resultSha256": "b99e958e7d9ae362ce4407ac50d3e5c58fdde7f5f54a6e0ec602fbfea6bfab27", + "answer": "same" + }, + { + "id": "LITERAL_LONG1", + "kind": "TestTurtleEval", + "action": "LITERAL_LONG1.ttl", + "sha256": "75b999d3f7c72d96b73eb9ccb55967b03a43d8ddb1180d4374e5f8ede4008ca4", + "result": "LITERAL1.nt", + "resultSha256": "b24ff4ccb0d509bf31fc58983edae333dc20a1fc28f5f024cd2ab4337cc31c9d", + "answer": "same" + }, + { + "id": "LITERAL_LONG1_ascii_boundaries", + "kind": "TestTurtleEval", + "action": "LITERAL_LONG1_ascii_boundaries.ttl", + "sha256": "2bfec7f5d21d3ad5c68502af5027a6400c3180abf0f2ed78aedb0c0c6d859569", + "result": "LITERAL_LONG1_ascii_boundaries.nt", + "resultSha256": "372dfa5b484c8846a68966004cc14033078af09b6368f4901f65cc52fec20265", + "answer": "same" + }, + { + "id": "LITERAL_LONG1_with_UTF8_boundaries", + "kind": "TestTurtleEval", + "action": "LITERAL_LONG1_with_UTF8_boundaries.ttl", + "sha256": "b0fbf5b280a5e19d6f15c82803b81ae0c92346a2269d2c1a5dc7a1ba343decb1", + "result": "LITERAL_with_UTF8_boundaries.nt", + "resultSha256": "0af62c3825c5e1eef062b9a0aeb9bccc8f490fb42a1fa993063b5b9733b19246", + "answer": "same" + }, + { + "id": "LITERAL_LONG1_with_1_squote", + "kind": "TestTurtleEval", + "action": "LITERAL_LONG1_with_1_squote.ttl", + "sha256": "da7b61fd2d0affaa8378f8162bc1162b212430a86316bb46b565a651c569da5f", + "result": "LITERAL_LONG1_with_1_squote.nt", + "resultSha256": "3d5df32954cf3948facf821bf4bbff46fdfa6fea9ef43dd960c03fa34a5821ba", + "answer": "same" + }, + { + "id": "LITERAL_LONG1_with_2_squotes", + "kind": "TestTurtleEval", + "action": "LITERAL_LONG1_with_2_squotes.ttl", + "sha256": "9c02475bfe0fc6da8429eb7b812204f606fff9d0ec15f5c1068cf5300d5750aa", + "result": "LITERAL_LONG1_with_2_squotes.nt", + "resultSha256": "3bbd0c143a9ac2aa90486ce6f07dcd14326b66bece4ff4bfd858fbc5e52458a2", + "answer": "same" + }, + { + "id": "LITERAL2", + "kind": "TestTurtleEval", + "action": "LITERAL2.ttl", + "sha256": "b24ff4ccb0d509bf31fc58983edae333dc20a1fc28f5f024cd2ab4337cc31c9d", + "result": "LITERAL1.nt", + "resultSha256": "b24ff4ccb0d509bf31fc58983edae333dc20a1fc28f5f024cd2ab4337cc31c9d", + "answer": "same" + }, + { + "id": "LITERAL2_ascii_boundaries", + "kind": "TestTurtleEval", + "action": "LITERAL2_ascii_boundaries.ttl", + "sha256": "fe3fd4efbcbc9171bdce53ef1ab88943acc99d6f013e9cda174a49c882aeaa96", + "result": "LITERAL2_ascii_boundaries.nt", + "resultSha256": "bc8b2814f9f0615025d28856137cfe6093cc55af855a81d41a8481965d228867", + "answer": "same" + }, + { + "id": "LITERAL2_with_UTF8_boundaries", + "kind": "TestTurtleEval", + "action": "LITERAL2_with_UTF8_boundaries.ttl", + "sha256": "a781b65f4770c37623aa99d8b8b4feb54a4c7979ca66866db1cd96ac60b274bd", + "result": "LITERAL_with_UTF8_boundaries.nt", + "resultSha256": "0af62c3825c5e1eef062b9a0aeb9bccc8f490fb42a1fa993063b5b9733b19246", + "answer": "same" + }, + { + "id": "LITERAL_LONG2", + "kind": "TestTurtleEval", + "action": "LITERAL_LONG2.ttl", + "sha256": "963491c2f7dfbc0c1348c87622849468bb06fb8585f47c5ea57151c9246d9d94", + "result": "LITERAL1.nt", + "resultSha256": "b24ff4ccb0d509bf31fc58983edae333dc20a1fc28f5f024cd2ab4337cc31c9d", + "answer": "same" + }, + { + "id": "LITERAL_LONG2_ascii_boundaries", + "kind": "TestTurtleEval", + "action": "LITERAL_LONG2_ascii_boundaries.ttl", + "sha256": "046d990f8040ee8ff873efc06845e33fb6e9079ff540d4b3b6c7feb064117d4e", + "result": "LITERAL_LONG2_ascii_boundaries.nt", + "resultSha256": "77c143f692d7e6b7ec840a2dd6aecc3bb11825df93609bf35945b8d0a7dabb94", + "answer": "same" + }, + { + "id": "LITERAL_LONG2_with_UTF8_boundaries", + "kind": "TestTurtleEval", + "action": "LITERAL_LONG2_with_UTF8_boundaries.ttl", + "sha256": "93734f68795f9e30be80d61349d2d769f66a80e69e340ba0a2bd8504774e529e", + "result": "LITERAL_with_UTF8_boundaries.nt", + "resultSha256": "0af62c3825c5e1eef062b9a0aeb9bccc8f490fb42a1fa993063b5b9733b19246", + "answer": "same" + }, + { + "id": "LITERAL_LONG2_with_1_squote", + "kind": "TestTurtleEval", + "action": "LITERAL_LONG2_with_1_squote.ttl", + "sha256": "727ecde30cf99ecda1661c0695efc0657f9e7cfc0e8fdfae8ad993b55529fad9", + "result": "LITERAL_LONG2_with_1_squote.nt", + "resultSha256": "7aa7f8df1d0e579c485ea39436726b42ac6f4c6c1abab838d6566bc556685fe4", + "answer": "same" + }, + { + "id": "LITERAL_LONG2_with_2_squotes", + "kind": "TestTurtleEval", + "action": "LITERAL_LONG2_with_2_squotes.ttl", + "sha256": "20a18c2c922ad25d8036d46f8d582482a0969229f74aacce29548de4f43dbe77", + "result": "LITERAL_LONG2_with_2_squotes.nt", + "resultSha256": "5292dd8326e9660d90995deb386d8228d794810e21b7d164d8b46eda7a8ac520", + "answer": "same" + }, + { + "id": "literal_with_CHARACTER_TABULATION", + "kind": "TestTurtleEval", + "action": "literal_with_CHARACTER_TABULATION.ttl", + "sha256": "e7c640c2c91cee0aa39a1831e40640f4f3e65a60f78a10006003ff8219b3da8f", + "result": "literal_with_CHARACTER_TABULATION.nt", + "resultSha256": "2a48d7e65a17be107dd0d54c5f225e8b501cca8bb2f3ec0c3829452bb60773ec", + "answer": "same" + }, + { + "id": "literal_with_BACKSPACE", + "kind": "TestTurtleEval", + "action": "literal_with_BACKSPACE.ttl", + "sha256": "bf6a8208c75cd82bd6bd584dee005988b99bd6047bdb861031f6c0ed07f321f1", + "result": "literal_with_BACKSPACE.nt", + "resultSha256": "70bdbae3e0175a44d44188be85a49d007cb314a78aacd0ba43f5b479824f1d02", + "answer": "same" + }, + { + "id": "literal_with_LINE_FEED", + "kind": "TestTurtleEval", + "action": "literal_with_LINE_FEED.ttl", + "sha256": "16a6a46847243be58ce5255d106e85adfd4641d1c5892f835efb551d9d613595", + "result": "literal_with_LINE_FEED.nt", + "resultSha256": "60bc9f1c3bcd008161dec78ab52e8f5513e00153bee401d517c1802949e51bac", + "answer": "same" + }, + { + "id": "literal_with_CARRIAGE_RETURN", + "kind": "TestTurtleEval", + "action": "literal_with_CARRIAGE_RETURN.ttl", + "sha256": "1d5c9573c86599bde52048ca6535a83e955f0a94c06a43058775a17eee0d7804", + "result": "literal_with_CARRIAGE_RETURN.nt", + "resultSha256": "52e79321258db6a045bf66a1594bfa6c07ad1c95b2ad51fe828cd05b164a33d8", + "answer": "same" + }, + { + "id": "literal_with_FORM_FEED", + "kind": "TestTurtleEval", + "action": "literal_with_FORM_FEED.ttl", + "sha256": "904269af773eb213b6564309ecccfa73ce2edbec2b7b6dc13e5c0dd66a08d15b", + "result": "literal_with_FORM_FEED.nt", + "resultSha256": "3fe36b8120ac1ba669ed99bb4927214a017c8f4246db4f65aa6f2899f537f3e8", + "answer": "same" + }, + { + "id": "literal_with_REVERSE_SOLIDUS", + "kind": "TestTurtleEval", + "action": "literal_with_REVERSE_SOLIDUS.ttl", + "sha256": "c57303e5f63831eb5d3f947db6467dbddc539fc601a2267537da4a489d2371f2", + "result": "literal_with_REVERSE_SOLIDUS.nt", + "resultSha256": "b8791ff5811f4e9a396ddc752ae4c1407dced0d891348108b961cbb7e1bb8ab7", + "answer": "same" + }, + { + "id": "literal_with_escaped_CHARACTER_TABULATION", + "kind": "TestTurtleEval", + "action": "literal_with_escaped_CHARACTER_TABULATION.ttl", + "sha256": "be39870ee53c9b1ef13f9f098f610e8f14ba2d5eed9b43cb4479780d660138e0", + "result": "literal_with_CHARACTER_TABULATION.nt", + "resultSha256": "2a48d7e65a17be107dd0d54c5f225e8b501cca8bb2f3ec0c3829452bb60773ec", + "answer": "same" + }, + { + "id": "literal_with_escaped_BACKSPACE", + "kind": "TestTurtleEval", + "action": "literal_with_escaped_BACKSPACE.ttl", + "sha256": "40552b198f9c9f2c3fdad643e3803eda25f2774000925eb4b44f12f121076e3e", + "result": "literal_with_BACKSPACE.nt", + "resultSha256": "70bdbae3e0175a44d44188be85a49d007cb314a78aacd0ba43f5b479824f1d02", + "answer": "same" + }, + { + "id": "literal_with_escaped_LINE_FEED", + "kind": "TestTurtleEval", + "action": "literal_with_escaped_LINE_FEED.ttl", + "sha256": "fade5ab6a073fcd936544be69765613a69861591e55c993be240bcca1f8212d2", + "result": "literal_with_LINE_FEED.nt", + "resultSha256": "60bc9f1c3bcd008161dec78ab52e8f5513e00153bee401d517c1802949e51bac", + "answer": "same" + }, + { + "id": "literal_with_escaped_CARRIAGE_RETURN", + "kind": "TestTurtleEval", + "action": "literal_with_escaped_CARRIAGE_RETURN.ttl", + "sha256": "104c6a1a7dc5e727ca3f46dbbac9f25f219c4fcfdc65fa7f01a0386debb4804b", + "result": "literal_with_CARRIAGE_RETURN.nt", + "resultSha256": "52e79321258db6a045bf66a1594bfa6c07ad1c95b2ad51fe828cd05b164a33d8", + "answer": "same" + }, + { + "id": "literal_with_escaped_FORM_FEED", + "kind": "TestTurtleEval", + "action": "literal_with_escaped_FORM_FEED.ttl", + "sha256": "ed55beaf249160f1a53b49d82cd10b250d14404b5cdfa0b84e8dd50b142658b2", + "result": "literal_with_FORM_FEED.nt", + "resultSha256": "3fe36b8120ac1ba669ed99bb4927214a017c8f4246db4f65aa6f2899f537f3e8", + "answer": "same" + }, + { + "id": "literal_with_numeric_escape4", + "kind": "TestTurtleEval", + "action": "literal_with_numeric_escape4.ttl", + "sha256": "5b145db95fe83199772decdff738c56c6402d136da6d166de812cd5332c415b2", + "result": "literal_with_numeric_escape4.nt", + "resultSha256": "814c4121bc0142b2a2e6d175052de75d28dd53be522a72ac36b946b55ca1f4bb", + "answer": "same" + }, + { + "id": "literal_with_numeric_escape8", + "kind": "TestTurtleEval", + "action": "literal_with_numeric_escape8.ttl", + "sha256": "457fe2ef6aae47cb0f9f8c1a5874e85c112576106df747feff7251e23bf4ecd6", + "result": "literal_with_numeric_escape4.nt", + "resultSha256": "814c4121bc0142b2a2e6d175052de75d28dd53be522a72ac36b946b55ca1f4bb", + "answer": "same" + }, + { + "id": "IRIREF_datatype", + "kind": "TestTurtleEval", + "action": "IRIREF_datatype.ttl", + "sha256": "4d91a3347d2c0c3263c0bd95866bcfaf29e4b633682ec695d90f3b4bff7f51fe", + "result": "IRIREF_datatype.nt", + "resultSha256": "4d91a3347d2c0c3263c0bd95866bcfaf29e4b633682ec695d90f3b4bff7f51fe", + "answer": "same" + }, + { + "id": "prefixed_name_datatype", + "kind": "TestTurtleEval", + "action": "prefixed_name_datatype.ttl", + "sha256": "710bef8578722e3816b49274d24c4475f4145aec1a7190b9614dda9a47cc0ba3", + "result": "IRIREF_datatype.nt", + "resultSha256": "4d91a3347d2c0c3263c0bd95866bcfaf29e4b633682ec695d90f3b4bff7f51fe", + "answer": "same" + }, + { + "id": "bareword_integer", + "kind": "TestTurtleEval", + "action": "bareword_integer.ttl", + "sha256": "3a3ce3c28bc75959bbaf4f0e7774cfbd5772e269b0564653ed5f783e9a4ddca6", + "result": "IRIREF_datatype.nt", + "resultSha256": "4d91a3347d2c0c3263c0bd95866bcfaf29e4b633682ec695d90f3b4bff7f51fe", + "answer": "same" + }, + { + "id": "bareword_decimal", + "kind": "TestTurtleEval", + "action": "bareword_decimal.ttl", + "sha256": "20c9f4850b95c4e1ecc8bf39bd924204da1f9f9ae1a81128dc55dd03fe1fbe80", + "result": "bareword_decimal.nt", + "resultSha256": "b6825c8335c96dddfb94143b081248f8b1352bae499019b74d05a2b368179cb2", + "answer": "same" + }, + { + "id": "bareword_double", + "kind": "TestTurtleEval", + "action": "bareword_double.ttl", + "sha256": "1145e7a8abc7c12391765efad6aca5834e0a3ca392bbec9e43cef4a9a0e02a66", + "result": "bareword_double.nt", + "resultSha256": "7fedd6dd029d3074a2803f7a462ea030cb294e0355d2002b64aba2656417fa4f", + "answer": "same" + }, + { + "id": "double_lower_case_e", + "kind": "TestTurtleEval", + "action": "double_lower_case_e.ttl", + "sha256": "4148a26cda5bd3ea3a79a95ac3c686fb9ed2002a6101113fec70d96b220df301", + "result": "double_lower_case_e.nt", + "resultSha256": "06ea62aab2a881e4b477a44ac3e0d541e092d655e0bfb5ba87a28d25531e6aae", + "answer": "same" + }, + { + "id": "negative_numeric", + "kind": "TestTurtleEval", + "action": "negative_numeric.ttl", + "sha256": "214db9d938fe7d8e51f76d884a8dd22d616df13a01b971311d8933aa1aa0b5f3", + "result": "negative_numeric.nt", + "resultSha256": "cebb91b58da636fb8a9d5fd6d2e87ae7faad3fc51a94c71f9c76aecc4ec35262", + "answer": "same" + }, + { + "id": "positive_numeric", + "kind": "TestTurtleEval", + "action": "positive_numeric.ttl", + "sha256": "c870b5306b201ca4ee25d392b1a1d67b8f7133fb1e9472e7c5cfccea6cf7b4d3", + "result": "positive_numeric.nt", + "resultSha256": "5b004e970be47c718cfe08b9709ae65b580015f92c2a8d959105e9193eb1b695", + "answer": "same" + }, + { + "id": "numeric_with_leading_0", + "kind": "TestTurtleEval", + "action": "numeric_with_leading_0.ttl", + "sha256": "4fb9ab6c639d4a7afb4920409aa1014524e6d8403771443cc970499c6e027ae6", + "result": "numeric_with_leading_0.nt", + "resultSha256": "e764cf31b691dda5f8784644ce6d431b8e76e9ed02bdcb9b6f952b5c9fef3d98", + "answer": "same" + }, + { + "id": "literal_true", + "kind": "TestTurtleEval", + "action": "literal_true.ttl", + "sha256": "2f6dd8ff1cf631bd715ffb40bbb25342d5e0452448500ace9789a9f6292d3b63", + "result": "literal_true.nt", + "resultSha256": "312b4b59bbdff1c3803c10330d28b4d42fd9f735a1f87556d3f0351898ac1a7e", + "answer": "same" + }, + { + "id": "literal_false", + "kind": "TestTurtleEval", + "action": "literal_false.ttl", + "sha256": "a5ed0e2acc732d35c651c4eeeb338753c9b0d35f2cd7a20481c3abcedb00f9ab", + "result": "literal_false.nt", + "resultSha256": "e16f0777ad2d100ba2a7ee615b45168199b0f755893816d15f3ccd52fc10ce0c", + "answer": "same" + }, + { + "id": "langtagged_non_LONG", + "kind": "TestTurtleEval", + "action": "langtagged_non_LONG.ttl", + "sha256": "08b70369b4df811e716fea578a3bb2233dfce2bd398bd95a5ce2e66e2ea6e89b", + "result": "langtagged_non_LONG.nt", + "resultSha256": "08b70369b4df811e716fea578a3bb2233dfce2bd398bd95a5ce2e66e2ea6e89b", + "answer": "same" + }, + { + "id": "langtagged_LONG", + "kind": "TestTurtleEval", + "action": "langtagged_LONG.ttl", + "sha256": "a612d520a3c0da15a63c09afbdee2f62cae84ba3eeb91328c9621016cc9491bd", + "result": "langtagged_non_LONG.nt", + "resultSha256": "08b70369b4df811e716fea578a3bb2233dfce2bd398bd95a5ce2e66e2ea6e89b", + "answer": "same" + }, + { + "id": "lantag_with_subtag", + "kind": "TestTurtleEval", + "action": "lantag_with_subtag.ttl", + "sha256": "80a499c5e479a296c5fa5b5f98af8f11a743100af63284a83d55dc0f85184525", + "result": "lantag_with_subtag.nt", + "resultSha256": "80a499c5e479a296c5fa5b5f98af8f11a743100af63284a83d55dc0f85184525", + "answer": "same" + }, + { + "id": "objectList_with_two_objects", + "kind": "TestTurtleEval", + "action": "objectList_with_two_objects.ttl", + "sha256": "1c0759940fc533207e906bb1cd2eb419f14dc4b0ee7aa1c353031e0a398e72b1", + "result": "objectList_with_two_objects.nt", + "resultSha256": "59fc46eff694574af5f1b90f49bba2f6ba7d955e8bd54e9e3ee2b845ce5fed73", + "answer": "same" + }, + { + "id": "predicateObjectList_with_two_objectLists", + "kind": "TestTurtleEval", + "action": "predicateObjectList_with_two_objectLists.ttl", + "sha256": "ec3721a5bb444a69fb8d4273cacac1a3ddb0fe0db0cffd71ff4e512392bd7e6c", + "result": "predicateObjectList_with_two_objectLists.nt", + "resultSha256": "ffe3a92be58c1d9ab96dc6267d0257f9aa268d4a97480edbcecc182241fcb3c6", + "answer": "same" + }, + { + "id": "repeated_semis_at_end", + "kind": "TestTurtleEval", + "action": "repeated_semis_at_end.ttl", + "sha256": "1010d13480d0e04b1d3705a1182dbdf42995bb065183989f98fc743d4431e1c2", + "result": "predicateObjectList_with_two_objectLists.nt", + "resultSha256": "ffe3a92be58c1d9ab96dc6267d0257f9aa268d4a97480edbcecc182241fcb3c6", + "answer": "same" + }, + { + "id": "repeated_semis_not_at_end", + "kind": "TestTurtleEval", + "action": "repeated_semis_not_at_end.ttl", + "sha256": "372b22b7172479261708e417db1278cfd4e86bd4c4de913142eb5e3b4793fe81", + "result": "repeated_semis_not_at_end.nt", + "resultSha256": "5bc9e7b6045579d82a4275e037239449c2fe1e9378cb02fea42582c3702da675", + "answer": "same" + }, + { + "id": "turtle-syntax-file-01", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-file-01.ttl", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "answer": "accepted" + }, + { + "id": "turtle-syntax-file-02", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-file-02.ttl", + "sha256": "f279d5912907607fcbe2e9ad395ef3d5a3a64e6f40827fa2278362e6f2cf041a", + "answer": "accepted" + }, + { + "id": "turtle-syntax-file-03", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-file-03.ttl", + "sha256": "9ce8a08abdf58cbc6330e7a2148eb6700c1423d559f2b336f662f299df4bb11a", + "answer": "accepted" + }, + { + "id": "turtle-syntax-uri-01", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-uri-01.ttl", + "sha256": "78a09be1bdb7611a9a5bfa633d728b343fd2a417ff82a4021b4158a676759eac", + "answer": "accepted" + }, + { + "id": "turtle-syntax-uri-02", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-uri-02.ttl", + "sha256": "33c47a83e5746d0aab7da06d02512d3e08202f59dc54e75d133685603753f902", + "answer": "accepted" + }, + { + "id": "turtle-syntax-uri-03", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-uri-03.ttl", + "sha256": "b21e4bb3b650f3e2a1045c664766ece40c181a80871685e2331ed15b0f9951ac", + "answer": "accepted" + }, + { + "id": "turtle-syntax-uri-04", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-uri-04.ttl", + "sha256": "99bc612d7b87bbeae7c9f2c60a7868ce1dab4ff10a3c460aca1dda8834cf05c8", + "answer": "accepted" + }, + { + "id": "turtle-syntax-base-01", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-base-01.ttl", + "sha256": "e9413d748f462b388646d2948b9034d605c0e3d4da5c7dc687b884a8d715af75", + "answer": "accepted" + }, + { + "id": "turtle-syntax-base-02", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-base-02.ttl", + "sha256": "5c8e1ceb20a1fcbe237291e6411037a60da281d62b8461fb045f5f14ebe8c788", + "answer": "accepted" + }, + { + "id": "turtle-syntax-base-03", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-base-03.ttl", + "sha256": "e1e530e3bc682990e91d1e0cb237da36ad902cf060f4d374ce67aaffa90343dc", + "answer": "accepted" + }, + { + "id": "turtle-syntax-base-04", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-base-04.ttl", + "sha256": "8a4b3857c2dc7940b41a040ae7a3feca632bc771eea8ec874473e6cb682b26bc", + "answer": "accepted" + }, + { + "id": "turtle-syntax-prefix-01", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-prefix-01.ttl", + "sha256": "f3c5617d289a37656eecc34080d0add17601c719ad0898cc46862bbf5b6583a7", + "answer": "accepted" + }, + { + "id": "turtle-syntax-prefix-02", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-prefix-02.ttl", + "sha256": "ec2eeeddd57bcf37cf1a8b29298c05866fa141533d19bf7ab321d2269942007e", + "answer": "accepted" + }, + { + "id": "turtle-syntax-prefix-03", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-prefix-03.ttl", + "sha256": "a04336f004420adb6f1a29fd5a455f891f4be03ad86700c870735c20edb1184e", + "answer": "accepted" + }, + { + "id": "turtle-syntax-prefix-04", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-prefix-04.ttl", + "sha256": "1fc52ead7b815351212df30a5bbb9f899fe92b7306990e50e672de57fb2e2634", + "answer": "accepted" + }, + { + "id": "turtle-syntax-prefix-05", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-prefix-05.ttl", + "sha256": "b079ae8ba13a11f8efd3a9aa2c34b9061301aac0cc13c1c4bd6d3772d4fb9203", + "answer": "accepted" + }, + { + "id": "turtle-syntax-prefix-06", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-prefix-06.ttl", + "sha256": "10015365e0891fe7aced7f59f6c98139eb2864f8b46bd7b31a529cd2f08bd954", + "answer": "accepted" + }, + { + "id": "turtle-syntax-prefix-07", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-prefix-07.ttl", + "sha256": "db90ce5af1de8e86888fba5a88246930208af1281c3eaed5eb6339cabc18f7fc", + "answer": "accepted" + }, + { + "id": "turtle-syntax-prefix-08", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-prefix-08.ttl", + "sha256": "d2d8782c5cd65d50501b3b2c29fb9af6e041022494e754c9e0140ef65e427f19", + "answer": "accepted" + }, + { + "id": "turtle-syntax-prefix-09", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-prefix-09.ttl", + "sha256": "73ebe884010db7c40940e35bb9798dc95414d025d83575ce237f0d0fe288f6a5", + "answer": "accepted" + }, + { + "id": "turtle-syntax-string-01", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-string-01.ttl", + "sha256": "d8d706933908c01aae3fe8dfddbf14be1d3a45a9902e932d42b683382622844b", + "answer": "accepted" + }, + { + "id": "turtle-syntax-string-02", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-string-02.ttl", + "sha256": "4da39e807d5a6e0113fed41e0e3bf7daabf273c35a17bbe9e144a46754077cae", + "answer": "accepted" + }, + { + "id": "turtle-syntax-string-03", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-string-03.ttl", + "sha256": "05de3caf28cc90b039d1ce3528adfaeb086c9c2e28afb300ba4a51fbc293c197", + "answer": "accepted" + }, + { + "id": "turtle-syntax-string-04", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-string-04.ttl", + "sha256": "e0699dd9343f92a04f11dde65f57e3a1d097719945b44acdd6828b1b05b849be", + "answer": "accepted" + }, + { + "id": "turtle-syntax-string-05", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-string-05.ttl", + "sha256": "8b3f367f34cc4504fb678bcad18ff189f092c6ec8a16a8a3e7a6212d90b50985", + "answer": "accepted" + }, + { + "id": "turtle-syntax-string-06", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-string-06.ttl", + "sha256": "83ff21916deae1b6c81c8673726f7474821898ae08f0029c79131b2c3f5a6791", + "answer": "accepted" + }, + { + "id": "turtle-syntax-string-07", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-string-07.ttl", + "sha256": "36f60e239b50b67d3cf027ca6f9d6b07b7136ea8374f116170b24aa0c880a461", + "answer": "accepted" + }, + { + "id": "turtle-syntax-string-08", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-string-08.ttl", + "sha256": "9983e45b6be3104a23f1a113a735a9aea613bb4c881fd0535e3560329508cafa", + "answer": "accepted" + }, + { + "id": "turtle-syntax-string-09", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-string-09.ttl", + "sha256": "c0d4ceb51ae72630881ed155ab7cd8ebedabf2ac9152e097d25d62bd89451af7", + "answer": "accepted" + }, + { + "id": "turtle-syntax-string-10", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-string-10.ttl", + "sha256": "67aeeac5d4ae8e0787b577327b8a9a45597ed7c8fe95c455298490c0c9f09189", + "answer": "accepted" + }, + { + "id": "turtle-syntax-string-11", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-string-11.ttl", + "sha256": "f70e26d54e9c1bb548cd6e2bd020d15612312b4f664b19f6e0dcf1d56908e47e", + "answer": "accepted" + }, + { + "id": "turtle-syntax-str-esc-01", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-str-esc-01.ttl", + "sha256": "2fb7ea74aebbfe59f06796550b2ab07cf96910fe4915f4f553a1078a940d5bb3", + "answer": "accepted" + }, + { + "id": "turtle-syntax-str-esc-02", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-str-esc-02.ttl", + "sha256": "429b63f298e74ab5112d0fd8de281f3d9e210fa6967ac7ed1aa792c0d8d09eb2", + "answer": "accepted" + }, + { + "id": "turtle-syntax-str-esc-03", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-str-esc-03.ttl", + "sha256": "17a5a4069cdcee9b51bf1eceb44cdbdd58869e834910d2698addaccbeff9e31c", + "answer": "accepted" + }, + { + "id": "turtle-syntax-pname-esc-01", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-pname-esc-01.ttl", + "sha256": "b94713736cdd59852463d467800cd3af5f3accb4b6ff3d06379396f8f0c1f4d8", + "answer": "accepted" + }, + { + "id": "turtle-syntax-pname-esc-02", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-pname-esc-02.ttl", + "sha256": "e09f72c9cefe702c9c10ff42eab54c2876dda35f167954827aebd8e3af31a0e9", + "answer": "accepted" + }, + { + "id": "turtle-syntax-pname-esc-03", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-pname-esc-03.ttl", + "sha256": "91480d0b679a9d48cdc3161ad745fe213141a79803bc856c1a1bb0d63619f995", + "answer": "accepted" + }, + { + "id": "turtle-syntax-bnode-01", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-bnode-01.ttl", + "sha256": "8616d6dd4254ff9f95d9fc4d641445708898f20c89018ffa4c942f48cc8b63d6", + "answer": "accepted" + }, + { + "id": "turtle-syntax-bnode-02", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-bnode-02.ttl", + "sha256": "cc8cb141e49135cbd33304afb2459b8c23e4e3d0220dbe1f3378f8f3b4e8120b", + "answer": "accepted" + }, + { + "id": "turtle-syntax-bnode-03", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-bnode-03.ttl", + "sha256": "6bfbf2be1e49610fda337653ba7847ada73e1a1b87619d71b983e29994d40068", + "answer": "accepted" + }, + { + "id": "turtle-syntax-bnode-04", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-bnode-04.ttl", + "sha256": "2bf52328b8d330fd76ceea36d2a8ae89e337a53a4ff92ba64315fbbcef2a843e", + "answer": "accepted" + }, + { + "id": "turtle-syntax-bnode-05", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-bnode-05.ttl", + "sha256": "9ff65617128dcf4db342623eb0f7de8a79a34c4878a6c23dc58f2431765be9d8", + "answer": "accepted" + }, + { + "id": "turtle-syntax-bnode-06", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-bnode-06.ttl", + "sha256": "ff00cc38247ff65c5047bf98dc6b2722878646a386358bf2ddd7105f7dbc9487", + "answer": "accepted" + }, + { + "id": "turtle-syntax-bnode-07", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-bnode-07.ttl", + "sha256": "dda94ae6f66577f5663e8387c9c3527f1192a68ee98f600868b60211083d6862", + "answer": "accepted" + }, + { + "id": "turtle-syntax-bnode-08", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-bnode-08.ttl", + "sha256": "d3f0ad54cd337b6fa5c1e28f83526b5f8af27d1b9e315f15496e30615ff16f82", + "answer": "accepted" + }, + { + "id": "turtle-syntax-bnode-09", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-bnode-09.ttl", + "sha256": "334eee455b60034ee347ebcdf1d1f79496b2a14f5b965261ac41fb6b927b8c1f", + "answer": "accepted" + }, + { + "id": "turtle-syntax-bnode-10", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-bnode-10.ttl", + "sha256": "34833a6d31b91a737f401625d449181ccc0a4504ecdd2ba504ba8b6d85483cf2", + "answer": "accepted" + }, + { + "id": "turtle-syntax-number-01", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-number-01.ttl", + "sha256": "f2d921b2070057561d13e4ad3651e1f0b29e13dd221d7b8765e13ee2a94bdb7a", + "answer": "accepted" + }, + { + "id": "turtle-syntax-number-02", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-number-02.ttl", + "sha256": "26908f204cb9514218fe8372345f9e205c747a78e09e889fbe6f8b93c3789ef2", + "answer": "accepted" + }, + { + "id": "turtle-syntax-number-03", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-number-03.ttl", + "sha256": "fc0fa72d60532bf66dd3a550db23d5409b9695720ba69a15130af06a552d9430", + "answer": "accepted" + }, + { + "id": "turtle-syntax-number-04", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-number-04.ttl", + "sha256": "e926cb2847501a72d68d4cbed26c59af427c544349fc6fa25fb81c50d1d719e4", + "answer": "accepted" + }, + { + "id": "turtle-syntax-number-05", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-number-05.ttl", + "sha256": "be25b418dfd7e4223c5aced1d6edbbad904b214aa1b1cc3b671175a0d5b1de4d", + "answer": "accepted" + }, + { + "id": "turtle-syntax-number-06", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-number-06.ttl", + "sha256": "643305dc4830159dba2ffcff6b475f0191dbd0ea9ccc8d5bbd115dca3b79dfeb", + "answer": "accepted" + }, + { + "id": "turtle-syntax-number-07", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-number-07.ttl", + "sha256": "8091e16f2d6042e71121f4b10892be5b7570e1c3175ee02d29243a011e3601b2", + "answer": "accepted" + }, + { + "id": "turtle-syntax-number-08", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-number-08.ttl", + "sha256": "f41a0df109466afa957be2f629a65920031a86b812f26877efc1b4ec39fb7663", + "answer": "accepted" + }, + { + "id": "turtle-syntax-number-09", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-number-09.ttl", + "sha256": "bdcfceb6a5578aaa92f3a4f52872ff4d066a046df32423a356612c05448330c9", + "answer": "accepted" + }, + { + "id": "turtle-syntax-number-10", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-number-10.ttl", + "sha256": "cc8b4e48efa472862fdeba1e89241642b395cabfb450db97ba157665d4c2e051", + "answer": "accepted" + }, + { + "id": "turtle-syntax-number-11", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-number-11.ttl", + "sha256": "fc2b24685ecf7fd98ad7b4b8e7baa94f84b3f51d807de24325ac34965ef1ebf4", + "answer": "accepted" + }, + { + "id": "turtle-syntax-datatypes-01", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-datatypes-01.ttl", + "sha256": "e04e53d64bfbd478952730d5472daa0819ca647c44442c08127e77f84420e1c1", + "answer": "accepted" + }, + { + "id": "turtle-syntax-datatypes-02", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-datatypes-02.ttl", + "sha256": "f53c82e436783ba2a98b11b59e74db80f9ee1ad38c331b308ef8b9e623a82c55", + "answer": "accepted" + }, + { + "id": "turtle-syntax-kw-01", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-kw-01.ttl", + "sha256": "bba564d54d85d484e24d45942de1969de22ba9b0fe539a6ab0379abc74f1a4f0", + "answer": "accepted" + }, + { + "id": "turtle-syntax-kw-02", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-kw-02.ttl", + "sha256": "75478466450a720f24892d7517d3915daa78eac2e3d7b82713d995de86c75697", + "answer": "accepted" + }, + { + "id": "turtle-syntax-kw-03", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-kw-03.ttl", + "sha256": "888676242cf0275e6889e7ebe45b192b30038f1da6c544bfba3bcbeaa2fd97b1", + "answer": "accepted" + }, + { + "id": "turtle-syntax-struct-01", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-struct-01.ttl", + "sha256": "528e5c93eeb5f092a99cc8216f7ae5055699ee84afd771e52d5d5aa5ebaa7ec7", + "answer": "accepted" + }, + { + "id": "turtle-syntax-struct-02", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-struct-02.ttl", + "sha256": "74abcdb64df32505f9a76bdb1302d749f980eea7d9f590d8d31a44b3d6e3ca4c", + "answer": "accepted" + }, + { + "id": "turtle-syntax-struct-03", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-struct-03.ttl", + "sha256": "fee39b285e3e98fd49ad48dab2e4577774fae9f458553b501faa72eaec179aae", + "answer": "accepted" + }, + { + "id": "turtle-syntax-struct-04", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-struct-04.ttl", + "sha256": "108b11d36b01c936f5b280951e2b92453486ce703c207fb1f6ab7022b3ebcf85", + "answer": "accepted" + }, + { + "id": "turtle-syntax-struct-05", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-struct-05.ttl", + "sha256": "fbe05795043a36eec300a452024ad938fbb9385d87c990df4eea8ba4bc978706", + "answer": "accepted" + }, + { + "id": "turtle-syntax-lists-01", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-lists-01.ttl", + "sha256": "076e170aec163a662835a95b846fcf51e12465ffeee5e884aac5540b14661155", + "answer": "accepted" + }, + { + "id": "turtle-syntax-lists-02", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-lists-02.ttl", + "sha256": "38bef27f0c1af3a7b824229330337cdc2f8dd9e6ede634e9d80f74a67d964770", + "answer": "accepted" + }, + { + "id": "turtle-syntax-lists-03", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-lists-03.ttl", + "sha256": "61209a9d459c10383b53441f28c983fa65777cda03dcc90abfdc1a01dc80f64a", + "answer": "accepted" + }, + { + "id": "turtle-syntax-lists-04", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-lists-04.ttl", + "sha256": "2cab057414573097a3c69387e628d8eaf40fe8463e6124424d0e912e1c7e8778", + "answer": "accepted" + }, + { + "id": "turtle-syntax-lists-05", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-lists-05.ttl", + "sha256": "43d286cc1cbc67765ff3d9fdbbb624dddb08331686ba5e870c9b140b693c6155", + "answer": "accepted" + }, + { + "id": "turtle-syntax-bad-uri-01", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-uri-01.ttl", + "sha256": "4852efc4bf48380520f729aa0f662103e81e92d40bd4d4f9d79df913867726d5", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-uri-02", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-uri-02.ttl", + "sha256": "b630175dd7224054e4c404643c28acfcb598bbf2bdb51b71322ae9e84d891474", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-uri-03", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-uri-03.ttl", + "sha256": "0733aa5d6746a414b3d7af7dc5fd193f30743f71c37ac662dcc325947264438d", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-uri-04", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-uri-04.ttl", + "sha256": "72c6a3a2371d4ce42ddbe9cad934fd55ef6505d3a4f9f5bd44288fd92e8d84a0", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-uri-05", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-uri-05.ttl", + "sha256": "66444eabddd5a032d69f1df19ec9d436e7621ea54261032509a9ec69a58cc7ed", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-prefix-01", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-prefix-01.ttl", + "sha256": "f61e849958e83d4334f965c588145fabd041a0c13c188f4c098f6bea7dfa261b", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-prefix-02", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-prefix-02.ttl", + "sha256": "eeb12440ed0f45c7e06d8362ab54d5915d7330a206be12d55189500cfaff77be", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-prefix-03", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-prefix-03.ttl", + "sha256": "f43ee28829255f51d71402b4b271e7af5f76fb4ca258424e3279fe8e1b5a98ca", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-prefix-04", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-prefix-04.ttl", + "sha256": "6f5b89faf3b7c666a10e3fdf4c66cbbf003c53da44a0dc5b5415c5ea738c8b60", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-prefix-05", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-prefix-05.ttl", + "sha256": "b6c1704c30351b5cff445bd419b736f058d8e938fda8fa6e7a9ec41d1ee4b6ee", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-base-01", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-base-01.ttl", + "sha256": "591441fe3c2a2e4f46c6db1c8a96d8ff83ae3a4d4b698597e063190156504d08", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-base-02", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-base-02.ttl", + "sha256": "64ab7f86e6f5832ddefeed423d5ee6f8dc85473d8caf9e4942d13d9598d6d36f", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-base-03", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-base-03.ttl", + "sha256": "f6ec5e6bc96687d5056f3e0d88596bfb95f700f6ce77ff757b4e623862a2f1f5", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-struct-01", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-struct-01.ttl", + "sha256": "f55c832e596d53ab4a3842671e708e32945df59176a8d0f3599cfdee33016301", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-struct-02", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-struct-02.ttl", + "sha256": "ed6e05a58b9a9b7783c0b0ef230a3aaf630006e082c592ccd6230e2a4fbb1419", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-struct-03", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-struct-03.ttl", + "sha256": "293c55cdd2591858258d3abfe3c8e836090d1e03209c3c37ff5b01c6bd53d8df", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-struct-04", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-struct-04.ttl", + "sha256": "6bc53796f85f9ba03ece760187ffe523ae69696d46709ffdca104063eea962f6", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-struct-05", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-struct-05.ttl", + "sha256": "017043d2a9974fda855d256f79b7ca7fc36b96d3417c5e7892eb55444c7f4bbf", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-struct-06", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-struct-06.ttl", + "sha256": "d0158ce6ab5f7d62de262cf9717eb82937bc06c19a78c836920c2f6a326edadc", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-struct-07", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-struct-07.ttl", + "sha256": "29d95082f3476485bc6791058dea6f90742b8c0800b9555bd346cbac8cee3f47", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-kw-01", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-kw-01.ttl", + "sha256": "832420691bcbca6fc002b291001920f1e4168226aafc2f525f7cd645e66552e0", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-kw-02", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-kw-02.ttl", + "sha256": "81897a8b9fc247970217fa6e9c47b76b853429fc28b15de9d1acffe58a14a2ea", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-kw-03", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-kw-03.ttl", + "sha256": "52a97ddf48cf849dd5b2a143027dbde11b44e31d0cdf30de6d18d0f372d91d7c", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-kw-04", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-kw-04.ttl", + "sha256": "13e42addae93347acd328350938c665fdb999848efdcab4f74f5620112368937", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-kw-05", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-kw-05.ttl", + "sha256": "7a40868330d7acb17408072992dd371385f74a1107e1827d0d717771a53dbf98", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-n3-extras-01", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-n3-extras-01.ttl", + "sha256": "8dafe15bedb87244a975452556bfa2000eae44711847169ca5da3aba00810d5b", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-n3-extras-02", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-n3-extras-02.ttl", + "sha256": "f16c994ed1fa8100cd0b781c091c5aa18cff3ce2b1e23c7913cf559c45516cff", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-n3-extras-03", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-n3-extras-03.ttl", + "sha256": "ede01b1f702768159d54862a78b2823ed0694bfcb135bb0a150d3c5aed7c4011", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-n3-extras-04", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-n3-extras-04.ttl", + "sha256": "0a516c327d7c6dc36c74b45978ed1e36aab83d753252309d0793e31b19d56549", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-n3-extras-05", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-n3-extras-05.ttl", + "sha256": "a9faa343dcecdf327341417fbe6cc0ab1b1a2d56ffb2d9b40e68aed3abd3ceb1", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-n3-extras-06", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-n3-extras-06.ttl", + "sha256": "43f40cfe8856b6e7888e506e13d26cf618940d6ea957a5f142ac53e1008b9221", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-n3-extras-07", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-n3-extras-07.ttl", + "sha256": "6b8f0303b634e8f3fca9ca31f8d9c6e85227bfb54ee6d3e69da569fb63e7b10f", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-n3-extras-08", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-n3-extras-08.ttl", + "sha256": "6b8f0303b634e8f3fca9ca31f8d9c6e85227bfb54ee6d3e69da569fb63e7b10f", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-n3-extras-09", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-n3-extras-09.ttl", + "sha256": "a547cd8a33643b419462dc8879e315e5d3a23463f1d0f80642ce93b93c258e6c", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-n3-extras-10", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-n3-extras-10.ttl", + "sha256": "a9afc613a6bc63af5ca209b15fb4509bd05afc61ff3f5b1b0def11a80c1a3ca7", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-n3-extras-11", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-n3-extras-11.ttl", + "sha256": "ffe3725c25fe82ddd549352c5f32cf806485ba4fbe7387a327f584a3707b50f2", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-n3-extras-12", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-n3-extras-12.ttl", + "sha256": "816382cff0040db3f6beb24e252bc7911501ff39f4c3cb65509efbdd49f31e01", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-n3-extras-13", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-n3-extras-13.ttl", + "sha256": "9ca27a3e8e7731bcdb1f441e648666e355595ef9ed2ba6b26b6ea551caf58987", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-struct-08", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-struct-08.ttl", + "sha256": "153257cefe1e67ee6d2c159607f4a7c77421db927b3efeeb59bdcb77a79ecbb7", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-struct-09", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-struct-09.ttl", + "sha256": "10fd7f7592059e33a6cfc19c3e678a41946fb434552d90c3b8a16e844e9fc1fb", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-struct-10", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-struct-10.ttl", + "sha256": "05335490d2b519d3714f109295443aaa4dab296983dd946595937a0c66f52f3e", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-struct-11", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-struct-11.ttl", + "sha256": "96b7b769e3a086c4de905d6ffd05ace5847ffc4dc7633a9e95b16b3ee14867fd", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-struct-12", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-struct-12.ttl", + "sha256": "78858ebd562612289baebdc53929bc7e950d69ad9a9382c9f09ee213b929f587", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-struct-13", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-struct-13.ttl", + "sha256": "78858ebd562612289baebdc53929bc7e950d69ad9a9382c9f09ee213b929f587", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-struct-14", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-struct-14.ttl", + "sha256": "dde9029f19a8aa4744dafb57b3f71f5be56eb30b8f4aaf86b35358f093832248", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-struct-15", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-struct-15.ttl", + "sha256": "b7937bceeddb4fecf5b52d9c44e0a2b012ddaf01617e9c94d06c82eea9cae195", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-struct-16", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-struct-16.ttl", + "sha256": "a2a01eb99a2321ede9a56c4a1a0a8872d8900b3eaaca622faece05e9bee79070", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-struct-17", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-struct-17.ttl", + "sha256": "a1ac74d3aebe6cac526d272299198a7068755097927cfb7a1c71ffdba89716ac", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-lang-01", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-lang-01.ttl", + "sha256": "0f67ceae3b14fcc48c682d0632501086c6beaf34cd2eeef3b135ff8cb46fbe84", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-esc-01", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-esc-01.ttl", + "sha256": "e65e3d8e63511d9a20bed3cb8905537b39634a4cff1ff2267d3cfcba357e431b", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-esc-02", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-esc-02.ttl", + "sha256": "1f1e32f01ce781be32efb2852aad8e245f0b9eca62960cf8dd3c894ebacca17d", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-esc-03", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-esc-03.ttl", + "sha256": "30fdad3e17885d22a75012c1ed6f2b4eca09de06799ca1d95a256c8d4c07fb1d", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-esc-04", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-esc-04.ttl", + "sha256": "30fdad3e17885d22a75012c1ed6f2b4eca09de06799ca1d95a256c8d4c07fb1d", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-pname-01", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-pname-01.ttl", + "sha256": "16db4ddbe5ff71e6eb65258d88383a89c4ebf565797fa55d8ef5b0c6a4b71663", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-pname-02", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-pname-02.ttl", + "sha256": "71fb734257822f4d77d1d34e54a0345dfbc50a93ffe2fe3ac717930e45a52132", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-pname-03", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-pname-03.ttl", + "sha256": "5f0abbcc34428605e60211d67c2e5ff5f932d152751744b5972738a574742a70", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-string-01", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-string-01.ttl", + "sha256": "b86d1284efd4062b735a2ea585b78dd7060f17dbcb20abc59cb1730053590a87", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-string-02", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-string-02.ttl", + "sha256": "16563276e45826007fd3c65ef4f9c61e8162d7bdd8bcb44088c254f2067b0768", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-string-03", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-string-03.ttl", + "sha256": "c32e90910f69e4650e0aba05bf0f32558a4f372b17b12483bc0bd1a048b56137", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-string-04", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-string-04.ttl", + "sha256": "565ea8c790d0ea4c8ae79ac8a7a2a1fa53744589a685789734177d09e1b07afa", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-string-05", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-string-05.ttl", + "sha256": "bdd61c7bc197c61a7d46a83dd4a6d9dede6e472b1645797a6715119d1fc5fde3", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-string-06", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-string-06.ttl", + "sha256": "51bff9f8ccf0755bfb0d3c02411493a621143244da1bebc1d87b8582cd93f3f7", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-string-07", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-string-07.ttl", + "sha256": "0c1c8ec96794d71970ec0cc2298cb462950ae45ad130aade91ced3398d093864", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-num-01", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-num-01.ttl", + "sha256": "b3e87dd6ff981e9966356532725127c051dabfbd9afb6046fc5fb1f62678aab8", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-num-02", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-num-02.ttl", + "sha256": "13ebc18e3fd03d6459f8e66ccc96a99b1ccb205a134b50361489516979244c75", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-num-03", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-num-03.ttl", + "sha256": "b21c7b33427db0fb3acb865ddc58115b238d24524091f4f513116f6acae2de74", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-num-04", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-num-04.ttl", + "sha256": "a6dff215bb62bad5f3eff1676b804f24984bb14ba55a559c1fad59e54e67d0d9", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-num-05", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-num-05.ttl", + "sha256": "49d59da3538acbd9ef3d1273661c22fb9900f76eca841a017da96b09f23d2dad", + "answer": "refused" + }, + { + "id": "turtle-eval-struct-01", + "kind": "TestTurtleEval", + "action": "turtle-eval-struct-01.ttl", + "sha256": "78a09be1bdb7611a9a5bfa633d728b343fd2a417ff82a4021b4158a676759eac", + "result": "turtle-eval-struct-01.nt", + "resultSha256": "78a09be1bdb7611a9a5bfa633d728b343fd2a417ff82a4021b4158a676759eac", + "answer": "same" + }, + { + "id": "turtle-eval-struct-02", + "kind": "TestTurtleEval", + "action": "turtle-eval-struct-02.ttl", + "sha256": "af1c60c20e80fe9fbb13c1f27c154254dde7bfb948064b18e563b37af99dc67b", + "result": "turtle-eval-struct-02.nt", + "resultSha256": "fa1f9c5054f8f4159419024edf8600fd296db8ef8be5c7cdeeb6efbe13598b08", + "answer": "same" + }, + { + "id": "turtle-subm-01", + "kind": "TestTurtleEval", + "action": "turtle-subm-01.ttl", + "sha256": "4961ac65332d1e26a5fd0901c3b798b9527154a73f713fc3733851c7fbf37ba2", + "result": "turtle-subm-01.nt", + "resultSha256": "ffe74550696a69a30cb7a678cd673e86536c58a7929294a1e3346ac94c609556", + "answer": "same" + }, + { + "id": "turtle-subm-02", + "kind": "TestTurtleEval", + "action": "turtle-subm-02.ttl", + "sha256": "854e003e43c3bbc6162376fd11b1f94bb4016872005c57cb6e92c64ac61fa5d0", + "result": "turtle-subm-02.nt", + "resultSha256": "e790ea7b6af75624f57542f5ed7a5fbe62fac127390ea90f8ffb3ce9c868de01", + "answer": "same" + }, + { + "id": "turtle-subm-03", + "kind": "TestTurtleEval", + "action": "turtle-subm-03.ttl", + "sha256": "ccf764ef618627c88abe40d06d978c46a9818be46660672eef7b0f247ed3a0a8", + "result": "turtle-subm-03.nt", + "resultSha256": "86b7cd9ea7151049ac8885a5107e65d94afa84bcf797db96e902adbe47ed2c03", + "answer": "same" + }, + { + "id": "turtle-subm-04", + "kind": "TestTurtleEval", + "action": "turtle-subm-04.ttl", + "sha256": "e1c87832b06f7357a3cfa837c94be857290d5fc1fc7f2d2888ccf25acce7997c", + "result": "turtle-subm-04.nt", + "resultSha256": "63b6808bfcfe521c45b067c67cb9be8694852446f3a8214d774f1615f9a4a912", + "answer": "same" + }, + { + "id": "turtle-subm-05", + "kind": "TestTurtleEval", + "action": "turtle-subm-05.ttl", + "sha256": "bf3b084c9ebf66746276b3038643dc8462c9f89dd6e01f4d366329aec217f830", + "result": "turtle-subm-05.nt", + "resultSha256": "ead3132dde9be132cca55a86e0077ff960009d0c9b7e2567d64b42d23afc4f5f", + "answer": "same" + }, + { + "id": "turtle-subm-06", + "kind": "TestTurtleEval", + "action": "turtle-subm-06.ttl", + "sha256": "5041381c1db71c66fc1eab3aaa061c73efd698896ad7d488e6469bd1b869e884", + "result": "turtle-subm-06.nt", + "resultSha256": "a9652d5918fe87f1a88f486f8af190656517a0e1e3b9a6905d51e631fd10254d", + "answer": "same" + }, + { + "id": "turtle-subm-07", + "kind": "TestTurtleEval", + "action": "turtle-subm-07.ttl", + "sha256": "e7899c944f7c107aff489a1815ffb670f1744a9c7d1377c30e36b3f0113da87b", + "result": "turtle-subm-07.nt", + "resultSha256": "6175b51d498c89c7b25b0302e8e9a03a9a80bbdbac27a6fb9bd5f2e5189c25b4", + "answer": "same" + }, + { + "id": "turtle-subm-08", + "kind": "TestTurtleEval", + "action": "turtle-subm-08.ttl", + "sha256": "acf127409b35170cc4d4ae9636489d1faedac3019a2e599f41b2ed1d86120a30", + "result": "turtle-subm-08.nt", + "resultSha256": "fcda57e944e6baa5cf1f978a9b5bfa4fae27f25112f0c38f771ed97bd0086f1a", + "answer": "same" + }, + { + "id": "turtle-subm-09", + "kind": "TestTurtleEval", + "action": "turtle-subm-09.ttl", + "sha256": "88421863f7e3fe6ad3144c5515a1d358032f6240c25b368a94b1efd64e9deb51", + "result": "turtle-subm-09.nt", + "resultSha256": "3ad1f7051808546632c20bb3a6c1ceaa63814eb96a02ccc5438afa0fbde82a47", + "answer": "same" + }, + { + "id": "turtle-subm-10", + "kind": "TestTurtleEval", + "action": "turtle-subm-10.ttl", + "sha256": "5376d6c9d8925a260646a2a588832dbcbbcabecdac6ee780de8888632838e8cb", + "result": "turtle-subm-10.nt", + "resultSha256": "fe59d71eccdae7f6287f3112799f748d3da8a90fa752d19923dabc6fbe524fca", + "answer": "same" + }, + { + "id": "turtle-subm-11", + "kind": "TestTurtleEval", + "action": "turtle-subm-11.ttl", + "sha256": "4f680f6fa55e6ad394982b569d660b583f483b91e9db4fb3a403e5eb73ba366b", + "result": "turtle-subm-11.nt", + "resultSha256": "dd7ec6e61cd746e4945229e82fb9b41fd136a721af24b14abab0e3c608228e0f", + "answer": "same" + }, + { + "id": "turtle-subm-12", + "kind": "TestTurtleEval", + "action": "turtle-subm-12.ttl", + "sha256": "6278898e324dc63339c817e8d1192589530b9ab3a7b77967e5a46f9062ec70c8", + "result": "turtle-subm-12.nt", + "resultSha256": "57e1208d42e1f3e5e4b9e65cd022cf879b079a77c4feda664ad4a65714f6ab15", + "answer": "same" + }, + { + "id": "turtle-subm-13", + "kind": "TestTurtleEval", + "action": "turtle-subm-13.ttl", + "sha256": "635e70adf8ea6fb99c554604c44a5393354457b9a46c0f401e962dd8bb93fc5f", + "result": "turtle-subm-13.nt", + "resultSha256": "9c1931c343fdfa427e54a927506b08360527096f436dca9af941b2ba966f6b06", + "answer": "same" + }, + { + "id": "turtle-subm-14", + "kind": "TestTurtleEval", + "action": "turtle-subm-14.ttl", + "sha256": "97958338106a261ff84d68feb00392406fc14d9f406d473a1587b623f897b374", + "result": "turtle-subm-14.nt", + "resultSha256": "269983116f9adfb2959d502b11151f64f6a9c426e512d413ae39a0bc0cb90ee7", + "answer": "same" + }, + { + "id": "turtle-subm-15", + "kind": "TestTurtleEval", + "action": "turtle-subm-15.ttl", + "sha256": "0cae1f7f858842ab54a589e871232a4b4cd66fa45d66b31e7903838925abf7d3", + "result": "turtle-subm-15.nt", + "resultSha256": "12869ca80034a9136d096986c13315f236f9200896873ca4c7aded4c883cd103", + "answer": "same" + }, + { + "id": "turtle-subm-16", + "kind": "TestTurtleEval", + "action": "turtle-subm-16.ttl", + "sha256": "771aa1e897e89abd4a815ad7dbbb458248a93fb1bfabd7d29c5c79c4228b7c2d", + "result": "turtle-subm-16.nt", + "resultSha256": "5a14af02eef12f7a7450819c46e758b0d1d6c80d2a9a64057640f8b46eab0d90", + "answer": "same" + }, + { + "id": "turtle-subm-17", + "kind": "TestTurtleEval", + "action": "turtle-subm-17.ttl", + "sha256": "cba144389be9045a91946272db355d374eb92eb7481ec61bb63f2d820745c7ad", + "result": "turtle-subm-17.nt", + "resultSha256": "cf023aead405609a5a43f2d50e961d86faac0d63887d57cf2a083e0d752b2992", + "answer": "same" + }, + { + "id": "turtle-subm-18", + "kind": "TestTurtleEval", + "action": "turtle-subm-18.ttl", + "sha256": "ad71f2313331a61dd94f7de3e580054559c0af648b6000694fad1d909c93ec95", + "result": "turtle-subm-18.nt", + "resultSha256": "87c0fea1ad91c08dc52e81d7e5573e64230b55e3cfc7e8adf8760fc98aee9948", + "answer": "same" + }, + { + "id": "turtle-subm-19", + "kind": "TestTurtleEval", + "action": "turtle-subm-19.ttl", + "sha256": "f5ffdd2b779caf24d1e12d254ca7b56e45d09e510f678def88973c127628e68b", + "result": "turtle-subm-19.nt", + "resultSha256": "df6cdaca498e50724244cab8f36c0dae5e0d63cbddde1d0cf6800fa2be9e671c", + "answer": "same" + }, + { + "id": "turtle-subm-20", + "kind": "TestTurtleEval", + "action": "turtle-subm-20.ttl", + "sha256": "6bdd3090476a77eebb1c6dc688a8c7ec0bdc449e95ccfd64e0176563163e6f95", + "result": "turtle-subm-20.nt", + "resultSha256": "9d378b7a989bced2e8c9cec53052450130a4de7a33c9e6ddee43e5d78264b669", + "answer": "same" + }, + { + "id": "turtle-subm-21", + "kind": "TestTurtleEval", + "action": "turtle-subm-21.ttl", + "sha256": "ae8428532df59a8c2af00ff56e7208b6ecaf329adb4dc94d907500f12fced36c", + "result": "turtle-subm-21.nt", + "resultSha256": "9162047d20665a1ebd059b4763c7dba02d9aa7d337efe1deda09cdacda86de08", + "answer": "same" + }, + { + "id": "turtle-subm-22", + "kind": "TestTurtleEval", + "action": "turtle-subm-22.ttl", + "sha256": "d3a5cde129dfed43d94366af1e620b9832664743ded41e52e2db9368f5129191", + "result": "turtle-subm-22.nt", + "resultSha256": "15920a315a72aaa4451692b7ace684a7978220c170836f5915237e3f80770b1d", + "answer": "same" + }, + { + "id": "turtle-subm-23", + "kind": "TestTurtleEval", + "action": "turtle-subm-23.ttl", + "sha256": "e01ffb3d50f65d634d3f34c9d54b532c595730736f6ddb702c946d3779e75887", + "result": "turtle-subm-23.nt", + "resultSha256": "3ff426d6e5db47c032e6e0c9ea84515f68269c5c7ebaaf759fbce4fa41bf58fc", + "answer": "same" + }, + { + "id": "turtle-subm-24", + "kind": "TestTurtleEval", + "action": "turtle-subm-24.ttl", + "sha256": "8593a29c64f5cf013b6884a7659fa0c1d291d96281d039f464e1b185ca2eda80", + "result": "turtle-subm-24.nt", + "resultSha256": "1a0e0e1e82fbfbb4571c3a4d258e3c68691c8410f81cbb2b0ae2208db7eaf573", + "answer": "same" + }, + { + "id": "turtle-subm-25", + "kind": "TestTurtleEval", + "action": "turtle-subm-25.ttl", + "sha256": "d60a10c3a55ef7f35b0357a7ece75415d59ce3f3c27d3bf58d9a1a7af965e305", + "result": "turtle-subm-25.nt", + "resultSha256": "37765779a328527e28faf5e9edd2f7be0196f63e1425266c6b26700acbf80f46", + "answer": "same" + }, + { + "id": "turtle-subm-26", + "kind": "TestTurtleEval", + "action": "turtle-subm-26.ttl", + "sha256": "95db1f60e72efd7506a681695f59f7749f7c35189167210e347b3da4d7f5c3a7", + "result": "turtle-subm-26.nt", + "resultSha256": "95db1f60e72efd7506a681695f59f7749f7c35189167210e347b3da4d7f5c3a7", + "answer": "same" + }, + { + "id": "turtle-subm-27", + "kind": "TestTurtleEval", + "action": "turtle-subm-27.ttl", + "sha256": "f9d780110cd8bd2255739b61a57ec2ebd34a62dfc19686cd25a508a3a8a2d450", + "result": "turtle-subm-27.nt", + "resultSha256": "ec08548a349d72eb9e96a891d3f09d791202fbbf3a1694e5b18dc971eab2162c", + "answer": "same" + }, + { + "id": "turtle-eval-bad-01", + "kind": "TestTurtleNegativeEval", + "action": "turtle-eval-bad-01.ttl", + "sha256": "16b770f01a2ac20d75988aa23de366c2cf2daa47a52465caa3a937cd0b8ab4c0", + "answer": "refused" + }, + { + "id": "turtle-eval-bad-02", + "kind": "TestTurtleNegativeEval", + "action": "turtle-eval-bad-02.ttl", + "sha256": "a61021fa416926ee84fdd28d0de552323c5250692e025a99c9dbd88ea394264d", + "answer": "refused" + }, + { + "id": "turtle-eval-bad-03", + "kind": "TestTurtleNegativeEval", + "action": "turtle-eval-bad-03.ttl", + "sha256": "aa8b6169874917d50a75f9ae48cfe6c6a55999c1948a55b0bc8bbe6a42d360f2", + "answer": "refused" + }, + { + "id": "turtle-eval-bad-04", + "kind": "TestTurtleNegativeEval", + "action": "turtle-eval-bad-04.ttl", + "sha256": "b2502cc5ab0db98ebaf9ed49abd08caa05da33f452bafc0287e474c4ba00c5b7", + "answer": "refused" + }, + { + "id": "comment_following_localName", + "kind": "TestTurtleEval", + "action": "comment_following_localName.ttl", + "sha256": "d7ac28a3efbf23f3ffa6c25b61c9988a22067a8fb585f684ba771b5196d37714", + "result": "IRI_spo.nt", + "resultSha256": "9b59264ba4ee34a59449374914f0bd160b086cc777f5bd331779c9edac64de25", + "answer": "same" + }, + { + "id": "number_sign_following_localName", + "kind": "TestTurtleEval", + "action": "number_sign_following_localName.ttl", + "sha256": "e0e21597b812121f0f974d3621c391fe025f57f058aa7c4eeb0d576cd5544c39", + "result": "number_sign_following_localName.nt", + "resultSha256": "a75d5cd3ac2b246124881606e456833c25c79a07ba82c8a5a8d6e86c2cd3ec19", + "answer": "same" + }, + { + "id": "comment_following_PNAME_NS", + "kind": "TestTurtleEval", + "action": "comment_following_PNAME_NS.ttl", + "sha256": "7a697a9f280138e06ffbefab967c9ceea0f13535a245e3f81160a54deda9dece", + "result": "comment_following_PNAME_NS.nt", + "resultSha256": "6f94df824b3420e7424cf685c3faaa8a1662dea85c4f2da59e5ec0179a569345", + "answer": "same" + }, + { + "id": "number_sign_following_PNAME_NS", + "kind": "TestTurtleEval", + "action": "number_sign_following_PNAME_NS.ttl", + "sha256": "cbf41d6fae01bd83f096492cc434a07b11bf863c75109e1fc1635904bab8a7f9", + "result": "number_sign_following_PNAME_NS.nt", + "resultSha256": "fb401fca823b8732df129afae19d16667ab413256cf61a03cce0017a5430f922", + "answer": "same" + }, + { + "id": "LITERAL_LONG2_with_REVERSE_SOLIDUS", + "kind": "TestTurtleEval", + "action": "LITERAL_LONG2_with_REVERSE_SOLIDUS.ttl", + "sha256": "1a64e7e97a2526f7fc60bac99a71f48782ff9ce2b6e29321c2be0e1c38af471b", + "result": "LITERAL_LONG2_with_REVERSE_SOLIDUS.nt", + "resultSha256": "122791324b4196f85f723f145f88f7481f6f7e31fa994a42f5f8c46fbfe21814", + "answer": "same" + }, + { + "id": "turtle-syntax-bad-LITERAL2_with_langtag_and_datatype", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-LITERAL2_with_langtag_and_datatype.ttl", + "sha256": "7460b90ec9300717118cd877b478d38097837af1a56e89031d8c033cfd650305", + "answer": "refused" + }, + { + "id": "two_LITERAL_LONG2s", + "kind": "TestTurtleEval", + "action": "two_LITERAL_LONG2s.ttl", + "sha256": "05a147ed4ae10c87a6f3232ec695efda84f06b131efef95645faa75123e2f541", + "result": "two_LITERAL_LONG2s.nt", + "resultSha256": "0ada93ce918d3d80f1a848410b04e434034a555fd894be4e554a5152c9798cb4", + "answer": "same" + }, + { + "id": "langtagged_LONG_with_subtag", + "kind": "TestTurtleEval", + "action": "langtagged_LONG_with_subtag.ttl", + "sha256": "ef7c2c908cb4833bdcf6964d38821c89bbdd45e64cf37c4be7c721dbe9462e0f", + "result": "langtagged_LONG_with_subtag.nt", + "resultSha256": "0c5cfe8a128dacf800543a493f36864d2cbae9c78c7d73b71482d7cab5808d94", + "answer": "same" + }, + { + "id": "turtle-syntax-bad-blank-label-dot-end", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-blank-label-dot-end.ttl", + "sha256": "319015a5cf4d105588b367a5c1a4fd79825c5e6a6fee5acbad8566a2fe94cfce", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-number-dot-in-anon", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-number-dot-in-anon.ttl", + "sha256": "f4fd808ba063eb3dadae97180be119a0d9929ed5845ac00cb35e0b92372a021a", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-ln-dash-start", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-ln-dash-start.ttl", + "sha256": "149be3bd0d3d8382d7c8000592d91c5327ced57d124f7d2efd548b50d14b033d", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-ln-escape", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-ln-escape.ttl", + "sha256": "b060522675f8504afe8e695c6f86fd100709b009b62d765908a5cac8a49ee05c", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-ln-escape-start", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-ln-escape-start.ttl", + "sha256": "193c1ab12ae01fc818d309d48da0b259357ed973154439f297f55ad228618780", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-ns-dot-end", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-ns-dot-end.ttl", + "sha256": "f538d5143d5b82f45657d7274182c8040f4f0c43223cbc9baeca9fde1aa32364", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-ns-dot-start", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-ns-dot-start.ttl", + "sha256": "30a5785ab4fe4de40f974e44172657e9f432c4c5ebbaa1997ab44394fb4ab851", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-missing-ns-dot-end", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-missing-ns-dot-end.ttl", + "sha256": "5ff177ed2060be1e42b9a4974b453cac8a92ca815b279010298c95c32b39ef8a", + "answer": "refused" + }, + { + "id": "turtle-syntax-bad-missing-ns-dot-start", + "kind": "TestTurtleNegativeSyntax", + "action": "turtle-syntax-bad-missing-ns-dot-start.ttl", + "sha256": "15cc328bacb87d89e25a0d088d655887d2b7cda5163b54c5b06b3c64be178936", + "answer": "refused" + }, + { + "id": "turtle-syntax-ln-dots", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-ln-dots.ttl", + "sha256": "1098d410f242741ad53b21a1655c11266dd033c5d01cb3326a2f66670dc07625", + "answer": "accepted" + }, + { + "id": "turtle-syntax-ln-colons", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-ln-colons.ttl", + "sha256": "38ef4ab0fbc4a46be2823023cfd5a272a638b04d695c090753d9b2ef76cdd05d", + "answer": "accepted" + }, + { + "id": "turtle-syntax-ns-dots", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-ns-dots.ttl", + "sha256": "5c5a040bf61bfda497990c6a968b46645a326c73e07297f380b13f8e45a36efb", + "answer": "accepted" + }, + { + "id": "turtle-syntax-blank-label", + "kind": "TestTurtlePositiveSyntax", + "action": "turtle-syntax-blank-label.ttl", + "sha256": "bd99217bd7a0d2bf42e99680830b6128615ae9154a3bf40e8c9dd10671bae870", + "answer": "accepted" + } + ], + "examples": [ + [ + "suite\nhttp://www.w3.org/2013/TurtleTests/\naccepted turtle-syntax-file-01.ttl 0 0\naccepted turtle-syntax-file-02.ttl 13 0\n#Empty file.\naccepted turtle-syntax-file-03.ttl 31 0\n#One comment, one empty line.\n\naccepted turtle-syntax-uri-01.ttl 119 0\n .\naccepted turtle-syntax-uri-02.ttl 143 0\n# x53 is capital S\n .\naccepted turtle-syntax-uri-03.ttl 147 0\n# x53 is capital S\n .\naccepted turtle-syntax-uri-04.ttl 202 0\n# IRI with all chars in it.\n \n .\naccepted turtle-syntax-base-01.ttl 46 0\n@base .\naccepted turtle-syntax-base-02.ttl 43 0\nBASE \naccepted turtle-syntax-base-03.ttl 60 0\n@base .\n

.\naccepted turtle-syntax-base-04.ttl 57 0\nbase \n

.\naccepted turtle-syntax-prefix-01.ttl 50 0\n@prefix : .\naccepted turtle-syntax-prefix-02.ttl 47 0\nPreFIX : \naccepted turtle-syntax-prefix-03.ttl 60 0\nPREFIX : \n:s :p :123 .\naccepted turtle-syntax-prefix-04.ttl 63 0\n@prefix : .\n:s :p :%20 .\naccepted turtle-syntax-prefix-05.ttl 58 0\n@prefix : .\n: : : .\naccepted turtle-syntax-prefix-06.ttl 159 0\n# colon is a legal pname character\n@prefix : .\n@prefix x: .\n:a:b:c x:d:e:f :::: .\naccepted turtle-syntax-prefix-07.ttl 104 0\n# dash is a legal pname character\n@prefix x: .\nx:a-b-c x:p x:o .\naccepted turtle-syntax-prefix-08.ttl 108 0\n# underscore is a legal pname character\n@prefix x: .\nx:_ x:p_1 x:o .\naccepted turtle-syntax-prefix-09.ttl 134 0\n# percents\n@prefix : .\n@prefix x: .\n:a%3E x:%25 :a%3Eb .\naccepted turtle-syntax-string-01.ttl 89 0\n \"string\" .\naccepted turtle-syntax-string-02.ttl 92 0\n \"string\"@en .\naccepted turtle-syntax-string-03.ttl 95 0\n \"string\"@en-uk .\naccepted turtle-syntax-string-04.ttl 89 0\n 'string' .\naccepted turtle-syntax-string-05.ttl 92 0\n 'string'@en .\naccepted turtle-syntax-string-06.ttl 95 0\n 'string'@en-uk .\naccepted turtle-syntax-string-07.ttl 100 0\n \"\"\"abc\"\"def''ghi\"\"\" .\naccepted turtle-syntax-string-08.ttl 94 0\n \"\"\"abc\ndef\"\"\" .\naccepted turtle-syntax-string-09.ttl 94 0\n '''abc\ndef''' .\naccepted turtle-syntax-string-10.ttl 97 0\n \"\"\"abc\ndef\"\"\"@en .\naccepted turtle-syntax-string-11.ttl 97 0\n '''abc\ndef'''@en .\naccepted turtle-syntax-str-esc-01.ttl 86 0\n \"a\\n\" .\naccepted turtle-syntax-str-esc-02.ttl 91 0\n \"a\\u0020b\" .\naccepted turtle-syntax-str-esc-03.ttl 95 0\n \"a\\U00000020b\" .\naccepted turtle-syntax-pname-esc-01.ttl 102 0\n@prefix : .\n:s :p :\\~\\.\\-\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=\\/\\?\\#\\@\\_\\%AA .\naccepted turtle-syntax-pname-esc-02.ttl 109 0\n@prefix : .\n:s :p :0123\\~\\.\\-\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=\\/\\?\\#\\@\\_\\%AA123 .\naccepted turtle-syntax-pname-esc-03.ttl 70 0\n@prefix : .\n:xyz\\~ :abc\\.: : .\naccepted turtle-syntax-bnode-01.ttl 61 0\n@prefix : .\n[] :p :o .\naccepted turtle-syntax-bnode-02.ttl 61 0\n@prefix : .\n:s :p [] .\naccepted turtle-syntax-bnode-03.ttl 68 0\n@prefix : .\n:s :p [ :q :o ] .\naccepted turtle-syntax-bnode-04.ttl 80 0\n@prefix : .\n:s :p [ :q1 :o1 ; :q2 :o2 ] .\naccepted turtle-syntax-bnode-05.ttl 80 0\n@prefix : .\n[ :q1 :o1 ; :q2 :o2 ] :p :o .\naccepted turtle-syntax-bnode-06.ttl 63 0\n@prefix : .\n_:a :p :o .\naccepted turtle-syntax-bnode-07.ttl 76 0\n@prefix : .\n:s :p _:a .\n_:a :p :o .\naccepted turtle-syntax-bnode-08.ttl 63 0\n@prefix : .\n[ :p :o ] .\naccepted turtle-syntax-bnode-09.ttl 79 0\n@prefix : .\n[ :p :o1,:2 ] .\n:s :p :o .\naccepted turtle-syntax-bnode-10.ttl 100 0\n@prefix : .\n\n:s1 :p :o .\n[ :p1 :o1 ; :p2 :o2 ] .\n:s2 :p :o .\naccepted turtle-syntax-number-01.ttl 14 0\n

123 .\naccepted turtle-syntax-number-02.ttl 15 0\n

-123 .\naccepted turtle-syntax-number-03.ttl 15 0\n

+123 .\n", + "pass 50" + ], + [ + "suite\nhttp://www.w3.org/2013/TurtleTests/\naccepted turtle-syntax-number-04.ttl 38 0\n# This is a decimal.\n

123.0 . \naccepted turtle-syntax-number-05.ttl 35 0\n# This is a decimal.\n

.1 . \naccepted turtle-syntax-number-06.ttl 39 0\n# This is a decimal.\n

-123.0 . \naccepted turtle-syntax-number-07.ttl 39 0\n# This is a decimal.\n

+123.0 . \naccepted turtle-syntax-number-08.ttl 34 0\n# This is an integer\n

123.\naccepted turtle-syntax-number-09.ttl 18 0\n

123.0e1 .\naccepted turtle-syntax-number-10.ttl 18 0\n

-123e-1 .\naccepted turtle-syntax-number-11.ttl 18 0\n

123.E+1 .\naccepted turtle-syntax-datatypes-01.ttl 81 0\n@prefix xsd: .\n

\"123\"^^xsd:byte .\naccepted turtle-syntax-datatypes-02.ttl 148 0\n@prefix rdf: .\n@prefix xsd: .\n

\"123\"^^xsd:string .\naccepted turtle-syntax-kw-01.ttl 15 0\n

true .\naccepted turtle-syntax-kw-02.ttl 16 0\n

false .\naccepted turtle-syntax-kw-03.ttl 60 0\n@prefix : .\n:s a :C .\naccepted turtle-syntax-struct-01.ttl 68 0\n@prefix : .\n:s :p :o1 , :o2 .\naccepted turtle-syntax-struct-02.ttl 76 0\n@prefix : .\n:s :p1 :o1 ;\n :p2 :o2 .\naccepted turtle-syntax-struct-03.ttl 81 0\n@prefix : .\n:s :p1 :o1 ;\n :p2 :o2 ;\n .\naccepted turtle-syntax-struct-04.ttl 81 0\n@prefix : .\n:s :p1 :o1 ;;\n :p2 :o2 \n .\naccepted turtle-syntax-struct-05.ttl 82 0\n@prefix : .\n:s :p1 :o1 ;\n :p2 :o2 ;;\n .\naccepted turtle-syntax-lists-01.ttl 61 0\n@prefix : .\n:s :p () .\naccepted turtle-syntax-lists-02.ttl 69 0\n@prefix : .\n:s :p (1 \"2\" :o) .\naccepted turtle-syntax-lists-03.ttl 63 0\n@prefix : .\n(1) :p (1) .\naccepted turtle-syntax-lists-04.ttl 65 0\n@prefix : .\n(()) :p (()) .\naccepted turtle-syntax-lists-05.ttl 83 0\n@prefix : .\n(1 2 (1 2)) :p (( \"a\") \"b\" :o) .\nrefused turtle-syntax-bad-uri-01.ttl 143 0\n# Bad IRI : space.\n .\nrefused turtle-syntax-bad-uri-02.ttl 149 0\n# Bad IRI : bad escape\n .\nrefused turtle-syntax-bad-uri-03.ttl 151 0\n# Bad IRI : bad escape\n .\nrefused turtle-syntax-bad-uri-04.ttl 163 0\n# Bad IRI : character escapes not allowed.\n .\nrefused turtle-syntax-bad-uri-05.ttl 163 0\n# Bad IRI : character escapes not allowed.\n .\nrefused turtle-syntax-bad-prefix-01.ttl 60 0\n# No prefix\n:s \"x\" .\nrefused turtle-syntax-bad-prefix-02.ttl 130 0\n# No prefix\n@prefix rdf: .\n rdf:type :C .\nrefused turtle-syntax-bad-prefix-03.ttl 37 0\n# @prefix without URI.\n@prefix ex: .\nrefused turtle-syntax-bad-prefix-04.ttl 80 0\n# @prefix without prefix name .\n@prefix .\nrefused turtle-syntax-bad-prefix-05.ttl 70 0\n# @prefix without :\n@prefix x .\nrefused turtle-syntax-bad-base-01.ttl 29 0\n# @base without URI.\n@base .\nrefused turtle-syntax-bad-base-02.ttl 69 0\n# @base in wrong case.\n@BASE .\nrefused turtle-syntax-bad-base-03.ttl 94 0\n# FULL STOP used after SPARQL BASE\nBASE .\n

.\nrefused turtle-syntax-bad-struct-01.ttl 142 0\n# Turtle is not TriG\n{ }\nrefused turtle-syntax-bad-struct-02.ttl 101 0\n# Turtle is not N3\n = .\nrefused turtle-syntax-bad-struct-03.ttl 181 0\n# Turtle is not NQuads\n .\nrefused turtle-syntax-bad-struct-04.ttl 133 0\n# Turtle does not allow literals-as-subjects\n\"hello\" .\nrefused turtle-syntax-bad-struct-05.ttl 135 0\n# Turtle does not allow literals-as-predicates\n \"hello\" .\nrefused turtle-syntax-bad-struct-06.ttl 128 0\n# Turtle does not allow bnodes-as-predicates\n [] .\nrefused turtle-syntax-bad-struct-07.ttl 129 0\n# Turtle does not allow bnodes-as-predicates\n _:p .\nrefused turtle-syntax-bad-kw-01.ttl 60 0\n@prefix : .\n:s A :C .\nrefused turtle-syntax-bad-kw-02.ttl 60 0\n@prefix : .\na :p :o .\nrefused turtle-syntax-bad-kw-03.ttl 60 0\n@prefix : .\n:s :p a .\nrefused turtle-syntax-bad-kw-04.ttl 63 0\n@prefix : .\ntrue :p :o .\nrefused turtle-syntax-bad-kw-05.ttl 63 0\n@prefix : .\n:s true :o .\nrefused turtle-syntax-bad-n3-extras-01.ttl 102 0\n# {} fomulae not in Turtle\n@prefix : .\n\n{ :a :q :c . } :p :z .\n\n", + "pass 49" + ], + [ + "suite\nhttp://www.w3.org/2013/TurtleTests/\nrefused turtle-syntax-bad-n3-extras-02.ttl 79 0\n# = is not Turtle\n@prefix : .\n\n:a = :b .\nrefused turtle-syntax-bad-n3-extras-03.ttl 145 0\n# N3 paths\n@prefix : .\n@prefix ns: .\n\n:x.\n ns:p.\n ns:q :p :z .\nrefused turtle-syntax-bad-n3-extras-04.ttl 132 0\n# N3 paths\n@prefix : .\n@prefix ns: .\n\n:x^ns:p :p :z .\nrefused turtle-syntax-bad-n3-extras-05.ttl 81 0\n# N3 is...of\n@prefix : .\n\n:z is :p of :x .\nrefused turtle-syntax-bad-n3-extras-06.ttl 80 0\n# = is not Turtle\n@prefix : .\n\n:a.:b.:c .\nrefused turtle-syntax-bad-n3-extras-07.ttl 51 0\n# @keywords is not Turtle\n@keywords a .\nx a Item .\nrefused turtle-syntax-bad-n3-extras-08.ttl 51 0\n# @keywords is not Turtle\n@keywords a .\nx a Item .\nrefused turtle-syntax-bad-n3-extras-09.ttl 80 0\n# => is not Turtle\n@prefix : .\n:s => :o .\nrefused turtle-syntax-bad-n3-extras-10.ttl 80 0\n# <= is not Turtle\n@prefix : .\n:s <= :o .\nrefused turtle-syntax-bad-n3-extras-11.ttl 89 0\n# @forSome is not Turtle\n@prefix : .\n@forSome :x .\nrefused turtle-syntax-bad-n3-extras-12.ttl 87 0\n# @forAll is not Turtle\n@prefix : .\n@forAll :x .\nrefused turtle-syntax-bad-n3-extras-13.ttl 50 0\n# @keywords is not Turtle\n@keywords .\nx @a Item .\nrefused turtle-syntax-bad-struct-08.ttl 126 0\n# No DOT\n \nrefused turtle-syntax-bad-struct-09.ttl 136 0\n# Too many DOT\n . .\nrefused turtle-syntax-bad-struct-10.ttl 258 0\n# Too many DOT\n . .\n .\nrefused turtle-syntax-bad-struct-11.ttl 132 0\n# Trailing ;\n ;\nrefused turtle-syntax-bad-struct-12.ttl 79 0\n \nrefused turtle-syntax-bad-struct-13.ttl 79 0\n \nrefused turtle-syntax-bad-struct-14.ttl 108 0\n# Literal as subject\n\"abc\" .\nrefused turtle-syntax-bad-struct-15.ttl 110 0\n# Literal as predicate\n \"abc\" .\nrefused turtle-syntax-bad-struct-16.ttl 105 0\n# BNode as predicate\n [] .\nrefused turtle-syntax-bad-struct-17.ttl 106 0\n# BNode as predicate\n _:a .\nrefused turtle-syntax-bad-lang-01.ttl 106 0\n# Bad lang tag\n \"string\"@1 .\nrefused turtle-syntax-bad-esc-01.ttl 107 0\n# Bad string escape\n \"a\\zb\" .\nrefused turtle-syntax-bad-esc-02.ttl 109 0\n# Bad string escape\n \"\\uWXYZ\" .\nrefused turtle-syntax-bad-esc-03.ttl 113 0\n# Bad string escape\n \"\\U0000WXYZ\" .\nrefused turtle-syntax-bad-esc-04.ttl 113 0\n# Bad string escape\n \"\\U0000WXYZ\" .\nrefused turtle-syntax-bad-pname-01.ttl 84 0\n# ~ must be escaped.\n@prefix : .\n:a~b :p :o .\nrefused turtle-syntax-bad-pname-02.ttl 80 0\n# Bad %-sequence\n@prefix : .\n:a%2 :p :o .\nrefused turtle-syntax-bad-pname-03.ttl 88 0\n# No \\u (x39 is \"9\")\n@prefix : .\n:a\\u0039 :p :o .\nrefused turtle-syntax-bad-string-01.ttl 64 0\n@prefix : .\n:s :p \"abc' .\nrefused turtle-syntax-bad-string-02.ttl 64 0\n@prefix : .\n:s :p 'abc\" .\nrefused turtle-syntax-bad-string-03.ttl 66 0\n@prefix : .\n:s :p '''abc' .\nrefused turtle-syntax-bad-string-04.ttl 68 0\n@prefix : .\n:s :p \"\"\"abc''' .\nrefused turtle-syntax-bad-string-05.ttl 99 0\n# Long literal with missing end\n@prefix : .\n:s :p \"\"\"abc\ndef\nrefused turtle-syntax-bad-string-06.ttl 95 0\n# Long literal with 4\"\n@prefix : .\n:s :p \"\"\"abc\"\"\"\"@en .\nrefused turtle-syntax-bad-string-07.ttl 95 0\n# Long literal with 4'\n@prefix : .\n:s :p '''abc''''@en .\nrefused turtle-syntax-bad-num-01.ttl 88 0\n 123.abc .\nrefused turtle-syntax-bad-num-02.ttl 85 0\n 123e .\nrefused turtle-syntax-bad-num-03.ttl 87 0\n 123abc .\nrefused turtle-syntax-bad-num-04.ttl 86 0\n 0x123 .\nrefused turtle-syntax-bad-num-05.ttl 84 0\n +-1 .\n", + "pass 42" + ], + [ + "suite\nhttp://www.w3.org/2013/TurtleTests/\nrefused turtle-eval-bad-01.ttl 163 0\n# Bad IRI : good escape, bad charcater\n .\nrefused turtle-eval-bad-02.ttl 148 0\n# Bad IRI : hex 3C is <\n .\nrefused turtle-eval-bad-03.ttl 148 0\n# Bad IRI : hex 3E is >\n .\nrefused turtle-eval-bad-04.ttl 133 0\n# Bad IRI\n .\nrefused turtle-syntax-bad-LITERAL2_with_langtag_and_datatype.ttl 126 0\n \"value\"@en^^ .\nrefused turtle-syntax-bad-blank-label-dot-end.ttl 64 0\n@prefix : .\n_:b1. :p :o .\nrefused turtle-syntax-bad-number-dot-in-anon.ttl 75 0\n@prefix : .\n\n:s\n\t:p [\n\t\t:p1 27.\n\t] .\nrefused turtle-syntax-bad-ln-dash-start.ttl 62 0\n@prefix : .\n:s :p :-o .\nrefused turtle-syntax-bad-ln-escape.ttl 63 0\n@prefix : .\n:s :p :o%2 .\nrefused turtle-syntax-bad-ln-escape-start.ttl 63 0\n@prefix : .\n:s :p :%2o .\nrefused turtle-syntax-bad-ns-dot-end.ttl 74 0\n@prefix eg. : .\neg.:s eg.:p eg.:o .\nrefused turtle-syntax-bad-ns-dot-start.ttl 74 0\n@prefix .eg : .\n.eg:s .eg:p .eg:o .\nrefused turtle-syntax-bad-missing-ns-dot-end.ttl 29 0\nvalid:s valid:p invalid.:o .\nrefused turtle-syntax-bad-missing-ns-dot-start.ttl 41 0\n.undefined:s .undefined:p .undefined:o .\naccepted turtle-syntax-ln-dots.ttl 100 0\n@prefix : .\n:s.1 :p.1 :o.1 .\n:s..2 :p..2 :o..2.\n:3.s :3.p :3.\naccepted turtle-syntax-ln-colons.ttl 133 0\n@prefix : .\n:s:1 :p:1 :o:1 .\n:s::2 :p::2 :o::2 .\n:3:s :3:p :3 .\n::s ::p ::o .\n::s: ::p: ::o: .\naccepted turtle-syntax-ns-dots.ttl 73 0\n@prefix e.g: .\ne.g:s e.g:p e.g:o .\naccepted turtle-syntax-blank-label.ttl 167 0\n@prefix : .\n_:0b :p :o . # Starts with digit\n_:_b :p :o . # Starts with underscore\n_:b.0 :p :o . # Contains dot, ends with digit\n", + "pass 18" + ] + ] +} diff --git a/app/src/PrismSenses.lex.tex b/app/src/PrismSenses.lex.tex index f204a18d..d168c864 100644 --- a/app/src/PrismSenses.lex.tex +++ b/app/src/PrismSenses.lex.tex @@ -9,7 +9,11 @@ name: SnTok, type_parameters: [], parameters: [], - fields: [{name: ok, type: Bool}, {name: text, type: Bytes}, {name: next, type: Nat}] + fields: [ + {name: ok, type: Bool}, + {name: text, type: Bytes}, + {name: next, type: Nat} + ] } structure{ @@ -42,13 +46,20 @@ axioms: [Quot.sound, propext] } -definition{name: snLen, parameters: [s : Bytes], result: Nat, body: (prim length s : Nat)} +definition{ + name: snLen, + parameters: [s : Bytes], + result: Nat, + body: (prim length s : Nat) +} definition{ name: snSlice, parameters: [s : Bytes, start : Nat, count : Nat], result: Bytes, - body: (match (prim slice s start count : (Option Bytes)) | Option.none => 0x | Option.some b => b) + body: (match (prim slice s start count : (Option Bytes)) + | Option.none => 0x + | Option.some b => b) } definition{ @@ -112,7 +123,12 @@ recursive_argument: fuel } -definition{name: snDec, parameters: [n : Nat], result: Bytes, body: (snDecFrom n 0x 8)} +definition{ + name: snDec, + parameters: [n : Nat], + result: Bytes, + body: (snDecFrom n 0x 8) +} definition{ name: snMatchFrom, @@ -205,7 +221,12 @@ body: ((b =? 32) || ((b =? 10) || ((b =? 13) || (b =? 9)))) } -definition{name: snIsDigit, parameters: [b : Nat], result: Bool, body: ((47 i - | Nat.succ rest => (let b : Nat := (snAt s i); (if ((snLen s) last + | Nat.succ rest => (let v : Nat := (snCp s j); (let n : Nat := (snCpLen s j); (if (snIsChars v) then (snRunFrom s (j + n) (j + n) rest) else (if (v =? 46) then (snRunFrom s (j + 1) last rest) else last))))), axioms: [Quot.sound, propext], recursive_argument: fuel } definition{ - name: snSkip, - parameters: [s : Bytes, i : Nat], + name: snRun, + parameters: [s : Bytes, i : Nat, kind : Nat], result: Nat, - body: (snSkipFrom s i false (snLen s)), + body: (let v : Nat := (snCp s i); (let n : Nat := (snCpLen s i); (if (if (kind =? 0) then (snIsBase v) else ((snIsU v) || (snIsDigit v))) then (snRunFrom s (i + n) (i + n) (snLen s)) else i))), axioms: [Quot.sound, propext] } definition{ - name: snPnEndFrom, - parameters: [s : Bytes, i : Nat, fuel : Nat], + name: snIsLocalEsc, + parameters: [c : Nat], + result: Bool, + body: ((c =? 95) || ((c =? 126) || ((c =? 46) || ((c =? 45) || ((c =? 33) || ((c =? 36) || ((c =? 38) || ((c =? 39) || ((c =? 40) || ((c =? 41) || ((c =? 42) || ((c =? 43) || ((c =? 44) || ((c =? 59) || ((c =? 61) || ((c =? 47) || ((c =? 63) || ((c =? 35) || ((c =? 64) || (c =? 37)))))))))))))))))))) +} + +definition{ + name: snSkipFrom, + parameters: [s : Bytes, i : Nat, comment : Bool, fuel : Nat], result: Nat, body: (match fuel | Nat.zero => i - | Nat.succ rest => (if (snIsPn (snAt s i)) then (snPnEndFrom s (i + 1) rest) else i)), + | Nat.succ rest => (let b : Nat := (snAt s i); (if ((snLen s) k - | Nat.succ rest => (if ((start out + | Nat.succ rest => (if (e (record SnTok {ok := false, text := (prim utf8_encode "not Turtle" : Bytes), next := 0}) - | Nat.succ rest => (let e : Nat := (snIriPlainEnd s j (snLen s)); (let b : Nat := (snAt s e); (let sofar : Bytes := (prim append acc (snCut s j e) : Bytes); (if ((snLen s) (let e : Nat := (snIriPlainEnd s j (snLen s)); (let b : Nat := (snAt s e); (let sofar : Bytes := (prim append acc (snCut s j e) : Bytes); (if ((snLen s) k - | Nat.succ rest => (let b : Nat := (snAt s k); (if ((snIsPn b) || (b =? 58)) then (snLocalEnd s (k + 1) rest) else (if ((b =? 37) && ((snHex s (k + 1) 2) last + | Nat.succ rest => (let v : Nat := (snCp s k); (let n : Nat := (snCpLen s k); (if (if opening then (((snIsU v) || (v =? 58)) || (snIsDigit v)) else ((snIsChars v) || (v =? 58))) then (snLocalFrom s (k + n) false (k + n) rest) else (if ((v =? 37) && ((snHex s (k + 1) 2) acc + | Nat.succ rest => (if (b (record SnTok {ok := false, text := (prim utf8_encode "not Turtle" : Bytes), next := 0}) - | Nat.succ rest => (let e : Nat := (snStrPlainEnd s j q (snLen s)); (let b : Nat := (snAt s e); (let sofar : Bytes := (prim append acc (snCut s j e) : Bytes); (if ((snLen s) (let e : Nat := (snStrPlainEnd s j q (snLen s)); (let b : Nat := (snAt s e); (let sofar : Bytes := (prim append acc (snCut s j e) : Bytes); (if ((snLen s) k - | Nat.succ rest => (let b : Nat := (snAt s k); (if ((snIsAlpha b) || ((snIsDigit b) || (b =? 45))) then (snLangEnd s (k + 1) rest) else k))), + | Nat.succ rest => (if (snIsAlpha (snAt s k)) then (snAlphaEnd s (k + 1) rest) else k)), axioms: [Quot.sound, propext], recursive_argument: fuel } +definition{ + name: snAlnumEnd, + parameters: [s : Bytes, k : Nat, fuel : Nat], + result: Nat, + body: (match fuel + | Nat.zero => k + | Nat.succ rest => (let b : Nat := (snAt s k); (if ((snIsAlpha b) || (snIsDigit b)) then (snAlnumEnd s (k + 1) rest) else k))), + axioms: [Quot.sound, propext], + recursive_argument: fuel +} + +definition{ + name: snLangParts, + parameters: [s : Bytes, k : Nat, fuel : Nat], + result: Nat, + body: (match fuel + | Nat.zero => k + | Nat.succ rest => (if ((snAt s k) =? 45) then (let m : Nat := (snAlnumEnd s (k + 1) (snLen s)); (if (m =? (k + 1)) then 0 else (snLangParts s m rest))) else k)), + axioms: [Quot.sound, propext], + recursive_argument: fuel +} + +definition{ + name: snLangEnd, + parameters: [s : Bytes, j : Nat], + result: Nat, + body: (let a : Nat := (snAlphaEnd s (j + 1) (snLen s)); (if (a =? (j + 1)) then 0 else (snLangParts s a (snLen s)))), + axioms: [Quot.sound, propext] +} + definition{ name: snQuoted, parameters: [s : Bytes, i : Nat, base : Bytes, pre : Bytes], result: SnTok, - body: (let q : Nat := (snAt s i); (let triple : Bool := (((snAt s (i + 1)) =? q) && ((snAt s (i + 2)) =? q)); (let t : SnTok := (snStringFrom s (if triple then (i + 3) else (i + 1)) q triple 0x (snLen s)); (if (not (project t ok)) then t else (let j : Nat := (project t next); (let lex : Bytes := (prim append 0x22 (prim append (project t text) 0x22 : Bytes) : Bytes); (if ((snAt s j) =? 64) then (let k : Nat := (snLangEnd s (j + 1) (snLen s)); (if (k =? (j + 1)) then (record SnTok {ok := false, text := (prim utf8_encode "not Turtle" : Bytes), next := 0}) else (record SnTok {ok := true, text := (prim append lex (snCut s j k) : Bytes), next := k}))) else (if (snMatch s j 0x5e5e) then (let d : SnTok := (snOr (snIri s (j + 2) base pre)); (if (not (project d ok)) then d else (record SnTok {ok := true, text := (prim append lex (prim append 0x5e5e (project d text) : Bytes) : Bytes), next := (project d next)}))) else (record SnTok {ok := true, text := lex, next := j}))))))))), + body: (let q : Nat := (snAt s i); (let triple : Bool := (((snAt s (i + 1)) =? q) && ((snAt s (i + 2)) =? q)); (let t : SnTok := (snStringFrom s (if triple then (i + 3) else (i + 1)) q triple 0x (snLen s)); (if (not (project t ok)) then t else (let j : Nat := (project t next); (let lex : Bytes := (prim append 0x22 (prim append (project t text) 0x22 : Bytes) : Bytes); (if ((snAt s j) =? 64) then (let k : Nat := (snLangEnd s j); (if (k =? 0) then (record SnTok {ok := false, text := (prim utf8_encode "not Turtle" : Bytes), next := 0}) else (record SnTok {ok := true, text := (prim append lex (snCut s j k) : Bytes), next := k}))) else (if (snMatch s j 0x5e5e) then (let d : SnTok := (snOr (snIri s (j + 2) base pre)); (if (not (project d ok)) then d else (record SnTok {ok := true, text := (prim append lex (prim append 0x5e5e (project d text) : Bytes) : Bytes), next := (project d next)}))) else (record SnTok {ok := true, text := lex, next := j}))))))))), axioms: [Quot.sound, propext] } @@ -563,6 +700,27 @@ body: (prim utf8_encode "" : Bytes) } +definition{ + name: snRdfFirst, + parameters: [], + result: Bytes, + body: (prim utf8_encode "" : Bytes) +} + +definition{ + name: snRdfRest, + parameters: [], + result: Bytes, + body: (prim utf8_encode "" : Bytes) +} + +definition{ + name: snRdfNil, + parameters: [], + result: Bytes, + body: (prim utf8_encode "" : Bytes) +} + definition{ name: snEmit, parameters: [out : Bytes, a : Bytes, p : Bytes, o : Bytes], @@ -609,6 +767,14 @@ body: (prim append (prim utf8_encode "_:b" : Bytes) (snDec n) : Bytes) } +definition{ + name: snTopIsColl, + parameters: [stack : Bytes], + result: Bool, + body: ((not ((snLen stack) =? 0)) && ((snAt (snTopSubj stack) 0) =? 40)), + axioms: [Quot.sound, propext] +} + definition{ name: snClose, parameters: [r : SnRead, i : Nat], @@ -648,7 +814,7 @@ name: snPrefixStep, parameters: [r : SnRead, s : Bytes, i : Nat, form : Nat], result: SnRead, - body: (let j : Nat := (snSkip s (if (form =? 1) then (i + 7) else (i + 6))); (let k : Nat := (snPnEnd s j); (let a : Nat := (snSkip s (k + 1)); (if ((not ((snAt s k) =? 58)) || (not ((snAt s a) =? 60))) then (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (prim utf8_encode "not Turtle" : Bytes), done := (project r done)}) else (let t : SnTok := (snIriRef s a); (if (not (project t ok)) then (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project t text), done := (project r done)}) else (let iri : Bytes := (snResolve (project r base) (project t text)); (let e : Nat := (snDirectiveEnd s (project t next) form); (if ((snLen iri) =? 0) then (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (prim utf8_encode "a relative IRI has no base" : Bytes), done := (project r done)}) else (if (e =? 0) then (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (prim utf8_encode "not Turtle" : Bytes), done := (project r done)}) else (record SnRead {pos := e, mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (prim append (snCut s j k) (prim append 0x00 (prim append iri (prim append 0x0a (project r pre) : Bytes) : Bytes) : Bytes) : Bytes), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}))))))))))), + body: (let j : Nat := (snSkip s (if (form =? 1) then (i + 7) else (i + 6))); (let k : Nat := (snRun s j 0); (let a : Nat := (snSkip s (k + 1)); (if ((not ((snAt s k) =? 58)) || (not ((snAt s a) =? 60))) then (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (prim utf8_encode "not Turtle" : Bytes), done := (project r done)}) else (let t : SnTok := (snIriRef s a); (if (not (project t ok)) then (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project t text), done := (project r done)}) else (let iri : Bytes := (snResolve (project r base) (project t text)); (let e : Nat := (snDirectiveEnd s (project t next) form); (if ((snLen iri) =? 0) then (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (prim utf8_encode "a relative IRI has no base" : Bytes), done := (project r done)}) else (if (e =? 0) then (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (prim utf8_encode "not Turtle" : Bytes), done := (project r done)}) else (record SnRead {pos := e, mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (prim append (snCut s j k) (prim append 0x00 (prim append iri (prim append 0x0a (project r pre) : Bytes) : Bytes) : Bytes) : Bytes), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}))))))))))), axioms: [Quot.sound, propext] } @@ -664,7 +830,7 @@ name: snStepSubject, parameters: [r : SnRead, s : Bytes, i : Nat, b : Nat], result: SnRead, - body: (if (not ((snDirective s i (prim utf8_encode "prefix" : Bytes)) =? 0)) then (snPrefixStep r s i (snDirective s i (prim utf8_encode "prefix" : Bytes))) else (if (not ((snDirective s i (prim utf8_encode "base" : Bytes)) =? 0)) then (snBaseStep r s i (snDirective s i (prim utf8_encode "base" : Bytes))) else (if (b =? 91) then (let j : Nat := (snSkip s (i + 1)); (let node : Bytes := (snFresh (project r bn)); (if ((snAt s j) =? 93) then (record SnRead {pos := (j + 1), mode := 1, subj := node, pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := ((project r bn) + 1), mayEnd := false, err := (project r err), done := (project r done)}) else (record SnRead {pos := (i + 1), mode := 1, subj := node, pred := (project r pred), stack := (prim append (project r stack) (snFrame 0x 0x) : Bytes), out := (project r out), pre := (project r pre), base := (project r base), bn := ((project r bn) + 1), mayEnd := false, err := (project r err), done := (project r done)})))) else (if (b =? 40) then (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (prim utf8_encode "collections are not read yet" : Bytes), done := (project r done)}) else (if (snMatch s i 0x5f3a) then (let t : SnTok := (snLabel s i); (if (project t ok) then (record SnRead {pos := (project t next), mode := 1, subj := (project t text), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := false, err := (project r err), done := (project r done)}) else (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project t text), done := (project r done)}))) else (let t : SnTok := (snOr (snIri s i (project r base) (project r pre))); (if (project t ok) then (record SnRead {pos := (project t next), mode := 1, subj := (project t text), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := false, err := (project r err), done := (project r done)}) else (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project t text), done := (project r done)})))))))), + body: (if (not ((snDirective s i (prim utf8_encode "prefix" : Bytes)) =? 0)) then (snPrefixStep r s i (snDirective s i (prim utf8_encode "prefix" : Bytes))) else (if (not ((snDirective s i (prim utf8_encode "base" : Bytes)) =? 0)) then (snBaseStep r s i (snDirective s i (prim utf8_encode "base" : Bytes))) else (if (b =? 91) then (let j : Nat := (snSkip s (i + 1)); (let node : Bytes := (snFresh (project r bn)); (if ((snAt s j) =? 93) then (record SnRead {pos := (j + 1), mode := 1, subj := node, pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := ((project r bn) + 1), mayEnd := false, err := (project r err), done := (project r done)}) else (record SnRead {pos := (i + 1), mode := 1, subj := node, pred := (project r pred), stack := (prim append (project r stack) (snFrame 0x 0x) : Bytes), out := (project r out), pre := (project r pre), base := (project r base), bn := ((project r bn) + 1), mayEnd := false, err := (project r err), done := (project r done)})))) else (if (b =? 40) then (let j : Nat := (snSkip s (i + 1)); (let node : Bytes := (snFresh (project r bn)); (if ((snAt s j) =? 41) then (record SnRead {pos := (j + 1), mode := 1, subj := (snRdfNil), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := false, err := (project r err), done := (project r done)}) else (record SnRead {pos := (i + 1), mode := 2, subj := node, pred := (snRdfFirst), stack := (prim append (project r stack) (snFrame 0x28 node) : Bytes), out := (project r out), pre := (project r pre), base := (project r base), bn := ((project r bn) + 1), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)})))) else (if (snMatch s i 0x5f3a) then (let t : SnTok := (snLabel s i); (if (project t ok) then (record SnRead {pos := (project t next), mode := 1, subj := (project t text), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := false, err := (project r err), done := (project r done)}) else (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project t text), done := (project r done)}))) else (let t : SnTok := (snOr (snIri s i (project r base) (project r pre))); (if (project t ok) then (record SnRead {pos := (project t next), mode := 1, subj := (project t text), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := false, err := (project r err), done := (project r done)}) else (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project t text), done := (project r done)})))))))), axioms: [Quot.sound, propext] } @@ -680,7 +846,7 @@ name: snStepPredicate, parameters: [r : SnRead, s : Bytes, i : Nat, b : Nat], result: SnRead, - body: (let nested : Bool := (not ((snLen (project r stack)) =? 0)); (if ((b =? 93) && nested) then (snClose r i) else (if ((b =? 46) && ((project r mayEnd) && (not nested))) then (record SnRead {pos := (i + 1), mode := 0, subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (if ((b =? 59) && (project r mayEnd)) then (record SnRead {pos := (i + 1), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (if (snIsA s i) then (record SnRead {pos := (i + 1), mode := 2, subj := (project r subj), pred := (snRdfType), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (let t : SnTok := (snOr (snIri s i (project r base) (project r pre))); (if (project t ok) then (record SnRead {pos := (project t next), mode := 2, subj := (project r subj), pred := (project t text), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project t text), done := (project r done)})))))))), + body: (let nested : Bool := (not ((snLen (project r stack)) =? 0)); (if ((b =? 93) && (nested && (not (snTopIsColl (project r stack))))) then (snClose r i) else (if ((b =? 46) && ((project r mayEnd) && (not nested))) then (record SnRead {pos := (i + 1), mode := 0, subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (if ((b =? 59) && (project r mayEnd)) then (record SnRead {pos := (i + 1), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (if (snIsA s i) then (record SnRead {pos := (i + 1), mode := 2, subj := (project r subj), pred := (snRdfType), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (let t : SnTok := (snOr (snIri s i (project r base) (project r pre))); (if (project t ok) then (record SnRead {pos := (project t next), mode := 2, subj := (project r subj), pred := (project t text), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project t text), done := (project r done)})))))))), axioms: [Quot.sound, propext] } @@ -688,7 +854,15 @@ name: snStepObject, parameters: [r : SnRead, s : Bytes, i : Nat, b : Nat], result: SnRead, - body: (if (b =? 91) then (let node : Bytes := (snFresh (project r bn)); (record SnRead {pos := (i + 1), mode := 1, subj := node, pred := (project r pred), stack := (prim append (project r stack) (snFrame (project r subj) (project r pred)) : Bytes), out := (snEmit (project r out) (project r subj) (project r pred) node), pre := (project r pre), base := (project r base), bn := ((project r bn) + 1), mayEnd := true, err := (project r err), done := (project r done)})) else (if (b =? 40) then (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (prim utf8_encode "collections are not read yet" : Bytes), done := (project r done)}) else (if (snMatch s i 0x5f3a) then (let t : SnTok := (snLabel s i); (if (project t ok) then (record SnRead {pos := (project t next), mode := 3, subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (snEmit (project r out) (project r subj) (project r pred) (project t text)), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project t text), done := (project r done)}))) else (let l : SnTok := (snLiteral s i (project r base) (project r pre)); (if (project l ok) then (record SnRead {pos := (project l next), mode := 3, subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (snEmit (project r out) (project r subj) (project r pred) (project l text)), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (if (not ((snLen (project l text)) =? 0)) then (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project l text), done := (project r done)}) else (let t : SnTok := (snOr (snIri s i (project r base) (project r pre))); (if (project t ok) then (record SnRead {pos := (project t next), mode := 3, subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (snEmit (project r out) (project r subj) (project r pred) (project t text)), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project t text), done := (project r done)}))))))))), + body: (if (b =? 91) then (let node : Bytes := (snFresh (project r bn)); (record SnRead {pos := (i + 1), mode := 1, subj := node, pred := (project r pred), stack := (prim append (project r stack) (snFrame (project r subj) (project r pred)) : Bytes), out := (snEmit (project r out) (project r subj) (project r pred) node), pre := (project r pre), base := (project r base), bn := ((project r bn) + 1), mayEnd := true, err := (project r err), done := (project r done)})) else (if (b =? 40) then (let j : Nat := (snSkip s (i + 1)); (let node : Bytes := (snFresh (project r bn)); (if ((snAt s j) =? 41) then (record SnRead {pos := (j + 1), mode := 3, subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (snEmit (project r out) (project r subj) (project r pred) (snRdfNil)), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (record SnRead {pos := (i + 1), mode := 2, subj := node, pred := (snRdfFirst), stack := (prim append (project r stack) (snFrame (prim append 0x28 (project r subj) : Bytes) (project r pred)) : Bytes), out := (snEmit (project r out) (project r subj) (project r pred) node), pre := (project r pre), base := (project r base), bn := ((project r bn) + 1), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)})))) else (if (snMatch s i 0x5f3a) then (let t : SnTok := (snLabel s i); (if (project t ok) then (record SnRead {pos := (project t next), mode := 3, subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (snEmit (project r out) (project r subj) (project r pred) (project t text)), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project t text), done := (project r done)}))) else (let l : SnTok := (snLiteral s i (project r base) (project r pre)); (if (project l ok) then (record SnRead {pos := (project l next), mode := 3, subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (snEmit (project r out) (project r subj) (project r pred) (project l text)), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (if (not ((snLen (project l text)) =? 0)) then (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project l text), done := (project r done)}) else (let t : SnTok := (snOr (snIri s i (project r base) (project r pre))); (if (project t ok) then (record SnRead {pos := (project t next), mode := 3, subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (snEmit (project r out) (project r subj) (project r pred) (project t text)), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project t text), done := (project r done)}))))))))), + axioms: [Quot.sound, propext] +} + +definition{ + name: snStepItem, + parameters: [r : SnRead, i : Nat, b : Nat], + result: SnRead, + body: (let st : Bytes := (project r stack); (let a : Bytes := (snTopSubj st); (let below : Bytes := (snSlice st 0 (snTopStart st)); (let node : Bytes := (snFresh (project r bn)); (if (b =? 41) then (let out : Bytes := (snEmit (project r out) (project r subj) (snRdfRest) (snRdfNil)); (if ((snLen a) =? 1) then (record SnRead {pos := (i + 1), mode := 1, subj := (snTopPred st), pred := (project r pred), stack := below, out := out, pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := false, err := (project r err), done := (project r done)}) else (record SnRead {pos := (i + 1), mode := 3, subj := (snFrom a 1), pred := (snTopPred st), stack := below, out := out, pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}))) else (record SnRead {pos := i, mode := 2, subj := node, pred := (project r pred), stack := (project r stack), out := (snEmit (project r out) (project r subj) (snRdfRest) node), pre := (project r pre), base := (project r base), bn := ((project r bn) + 1), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)})))))), axioms: [Quot.sound, propext] } @@ -696,7 +870,7 @@ name: snStepAfter, parameters: [r : SnRead, i : Nat, b : Nat], result: SnRead, - body: (let nested : Bool := (not ((snLen (project r stack)) =? 0)); (if (b =? 44) then (record SnRead {pos := (i + 1), mode := 2, subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (if (b =? 59) then (record SnRead {pos := (i + 1), mode := 1, subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := true, err := (project r err), done := (project r done)}) else (if ((b =? 46) && (not nested)) then (record SnRead {pos := (i + 1), mode := 0, subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (if ((b =? 93) && nested) then (snClose r i) else (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (prim utf8_encode "not Turtle" : Bytes), done := (project r done)})))))), + body: (let nested : Bool := (not ((snLen (project r stack)) =? 0)); (if (snTopIsColl (project r stack)) then (snStepItem r i b) else (if (b =? 44) then (record SnRead {pos := (i + 1), mode := 2, subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (if (b =? 59) then (record SnRead {pos := (i + 1), mode := 1, subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := true, err := (project r err), done := (project r done)}) else (if ((b =? 46) && (not nested)) then (record SnRead {pos := (i + 1), mode := 0, subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (project r err), done := (project r done)}) else (if ((b =? 93) && nested) then (snClose r i) else (record SnRead {pos := (project r pos), mode := (project r mode), subj := (project r subj), pred := (project r pred), stack := (project r stack), out := (project r out), pre := (project r pre), base := (project r base), bn := (project r bn), mayEnd := (project r mayEnd), err := (prim utf8_encode "not Turtle" : Bytes), done := (project r done)}))))))), axioms: [Quot.sound, propext] } @@ -826,7 +1000,12 @@ axioms: [Quot.sound, propext] } -definition{name: snIsBad, parameters: [b : Nat], result: Bool, body: ((snIriBad b) || (b =? 92))} +definition{ + name: snIsBad, + parameters: [b : Nat], + result: Bool, + body: ((snIriBad b) || (b =? 92)) +} definition{ name: snOfClass, @@ -890,17 +1069,7 @@ definition{ name: snObs, - parameters: [ - flat : Bool, - base : Bytes, - now : Bytes, - prop : Bytes, - sensor : Bytes, - value : Bytes, - dtype : Bytes, - start : Bytes, - stop : Bytes - ], + parameters: [flat : Bool, base : Bytes, now : Bytes, prop : Bytes, sensor : Bytes, value : Bytes, dtype : Bytes, start : Bytes, stop : Bytes], result: Bytes, body: (let timed : Bool := (not ((snLen start) =? 0)); (if flat then (prim append prop (prim append 0x20 (prim append (if timed then (prim append start (prim append 0x2f (prim append stop 0x20 : Bytes) : Bytes) : Bytes) else 0x) (prim append value 0x0a : Bytes) : Bytes) : Bytes) : Bytes) else (let o : Bytes := (prim append 0x3c (prim append base (prim append (prim utf8_encode "senses/" : Bytes) (prim append now (prim append 0x23 prop : Bytes) : Bytes) : Bytes) : Bytes) : Bytes); (let lead : Bytes := (prim append o (prim utf8_encode "> " : Bytes) (prim append (snRdfType) (prim append (prim utf8_encode " " : Bytes) 0x202e0a : Bytes) : Bytes) : Bytes) : Bytes) (prim append (prim append lead (prim append (prim utf8_encode "madeBySensor> <" : Bytes) (prim append base (prim append (prim utf8_encode "senses#" : Bytes) (prim append sensor (prim append 0x3e 0x202e0a : Bytes) : Bytes) : Bytes) : Bytes) : Bytes) : Bytes) (prim append (prim append lead (prim append (prim utf8_encode "observedProperty> <" : Bytes) (prim append base (prim append (prim utf8_encode "senses#" : Bytes) (prim append prop (prim append 0x3e 0x202e0a : Bytes) : Bytes) : Bytes) : Bytes) : Bytes) : Bytes) (prim append (prim append lead (prim append (prim utf8_encode "hasFeatureOfInterest> <" : Bytes) (prim append base (prim append (prim utf8_encode "#me>" : Bytes) 0x202e0a : Bytes) : Bytes) : Bytes) : Bytes) (prim append (prim append lead (prim append 0x726573756c7454696d653e2022 (prim append now (prim append 0x225e5e3c687474703a2f2f7777772e77332e6f72672f323030312f584d4c536368656d61236461746554696d653e 0x202e0a : Bytes) : Bytes) : Bytes) : Bytes) (prim append (prim append lead (prim append 0x68617353696d706c65526573756c743e2022 (prim append (snEscFrom value 0 0x (snLen value)) (prim append 0x22 (prim append (if ((snLen dtype) =? 0) then 0x else (prim append (prim utf8_encode "^^ " : Bytes) (prim append o (prim append (prim utf8_encode ".time>" : Bytes) 0x202e0a : Bytes) : Bytes) : Bytes) : Bytes) (prim append (prim append o (prim append (prim utf8_encode ".time> " : Bytes) (prim append (snRdfType) (prim append (prim utf8_encode " " : Bytes) 0x202e0a : Bytes) : Bytes) : Bytes) : Bytes) (prim append (snInstant o (prim utf8_encode ".begin" : Bytes) (prim utf8_encode "hasBeginning" : Bytes) start) (snInstant o (prim utf8_encode ".end" : Bytes) (prim utf8_encode "hasEnd" : Bytes) stop) : Bytes) : Bytes) : Bytes) else 0x) : Bytes) : Bytes) : Bytes) : Bytes) : Bytes) : Bytes))))), axioms: [Quot.sound, propext] @@ -914,6 +1083,52 @@ axioms: [Quot.sound, propext] } +definition{ + name: snLess, + parameters: [a : Bytes, b : Bytes], + result: Bool, + body: (prim equal (prim compare_bytes a b : Ordering) (prim compare_bytes 0x00 0x01 : Ordering) : Bool), + axioms: [propext] +} + +definition{ + name: snUtc, + parameters: [v : Bytes], + result: Bool, + body: ((((snLen v) =? 20) && ((snAt v 19) =? 90)) && (snRfc3339 v)), + axioms: [Quot.sound, propext] +} + +definition{ + name: snHeldBad, + parameters: [body : Bytes, i : Nat, fuel : Nat], + result: Bool, + body: (match fuel + | Nat.zero => false + | Nat.succ rest => (if ((snLen body) best + | Nat.succ rest => (if ((snLen body) acc @@ -953,7 +1160,7 @@ name: snObserve, parameters: [flat : Bool, body : Bytes], result: Bytes, - body: (let base : Bytes := (snField body (prim utf8_encode "base " : Bytes)); (let now : Bytes := (snField body (prim utf8_encode "now " : Bytes)); (let n : Nat := (snLen base); (if (not (((not ((snSchemeEnd base) =? 0)) && ((snAt base (prim subtract n 1 : Nat)) =? 47)) && (snAll base 0 n 4))) then (prim utf8_encode "refused: base is not an absolute IRI ending in /" : Bytes) else (if (not (snRfc3339 now)) then (prim utf8_encode "refused: now is not an RFC 3339 date-time" : Bytes) else (let out : Bytes := (snSensesFrom flat body base now 0 0x 9); (if (flat || (snMatch out 0 (prim utf8_encode "refused: " : Bytes))) then out else (let verdict : Bytes := (snCheck out); (if (snMatch verdict 0 (prim utf8_encode "conforms " : Bytes)) then out else (prim append (prim utf8_encode "refused: the observations are not SOSA: " : Bytes) verdict : Bytes)))))))))), + body: (let base : Bytes := (snField body (prim utf8_encode "base " : Bytes)); (let now : Bytes := (snField body (prim utf8_encode "now " : Bytes)); (let n : Nat := (snLen base); (if (not (((not ((snSchemeEnd base) =? 0)) && ((snAt base (prim subtract n 1 : Nat)) =? 47)) && (snAll base 0 n 4))) then (prim utf8_encode "refused: base is not an absolute IRI ending in /" : Bytes) else (if (not (snRfc3339 now)) then (prim utf8_encode "refused: now is not an RFC 3339 date-time" : Bytes) else (if ((not ((snLen (snField body (prim utf8_encode "held " : Bytes))) =? 0)) && (not (snUtc now))) then (prim utf8_encode "refused: with held items now is in UTC to the second" : Bytes) else (if (snHeldBad body 0 (snLen body)) then (prim utf8_encode "refused: held is not start and end in UTC to the second, and an id" : Bytes) else (let out : Bytes := (snSensesFrom flat body base now 0 0x 9); (if (flat || (snMatch out 0 (prim utf8_encode "refused: " : Bytes))) then out else (let verdict : Bytes := (snCheck out); (if (snMatch verdict 0 (prim utf8_encode "conforms " : Bytes)) then out else (prim append (prim utf8_encode "refused: the observations are not SOSA: " : Bytes) verdict : Bytes)))))))))))), axioms: [Quot.sound, propext] } @@ -964,5 +1171,127 @@ body: (let nl : Nat := (snLineEnd s 0); (let verb : Bytes := (snSlice s 0 nl); (let body : Bytes := (snFrom s (nl + 1)); (if (((snLen s) =? 0) || (3328 n + | Nat.succ rest => (if ((snLen s) acc + | Nat.succ rest => (if ((snLen out) acc + | Nat.succ rest => (if ((snLen out) true + | Nat.succ rest => (if ((snLen a) acc + | Nat.succ rest => (if (snIsDigit (snAt s i)) then (snNatFrom s (i + 1) ((prim multiply acc 10 : Nat) + (prim subtract (snAt s i) 48 : Nat)) rest) else acc)), + axioms: [Quot.sound, propext], + recursive_argument: fuel +} + +definition{ + name: snVerdict, + parameters: [want : Bytes, ttl : Bytes, nt : Bytes, base : Bytes], + result: Bytes, + body: (let a : SnRead := (snReadTurtle ttl base); (if (not ((snLen (project a err)) =? 0)) then (prim utf8_encode "refused" : Bytes) else (if (not (snSame want (prim utf8_encode "same" : Bytes))) then (prim utf8_encode "accepted" : Bytes) else (let b : SnRead := (snReadTurtle nt 0x); (if (not ((snLen (project b err)) =? 0)) then (prim utf8_encode "unreadable" : Bytes) else (if (snSameGraph (project a out) (project b out)) then (prim utf8_encode "same" : Bytes) else (prim utf8_encode "differs" : Bytes))))))), + axioms: [Quot.sound, propext] +} + +definition{ + name: snSuiteFrom, + parameters: [home : Bytes, s : Bytes, i : Nat, n : Nat, fuel : Nat], + result: Bytes, + body: (match fuel + | Nat.zero => (prim utf8_encode "refused: not a suite" : Bytes) + | Nat.succ rest => (if ((snLen s) i + | Nat.succ rest => (if (isSpace (at s i)) then (skipSpace s (i + 1) rest) else i)), + axioms: [Quot.sound, propext], + recursive_argument: fuel +} + +definition{ + name: space, + parameters: [s : Bytes, i : Nat], + result: Nat, + body: (skipSpace s i (Foundation.Bytes::byteLength s)), + axioms: [Quot.sound, propext] +} + +definition{ + name: stringEndFrom, + parameters: [s : Bytes, i : Nat, fuel : Nat], + result: Nat, + body: (match fuel + | Nat.zero => i + | Nat.succ rest => (let b : Nat := (at s i); (if (b =? 34) then i else (if (b =? 92) then (stringEndFrom s (i + 2) rest) else (if ((Foundation.Bytes::byteLength s) i + | Nat.succ rest => (let b : Nat := (at s i); (if ((Foundation.Bytes::byteLength s) i + | Nat.succ rest => (let b : Nat := (at s i); (if (((Foundation.Bytes::byteLength s) 0x + | Option.some b => b) +} + +definition{ + name: memberFrom, + parameters: [s : Bytes, i : Nat, key : Bytes, fuel : Nat], + result: (Option Nat), + body: (match fuel + | Nat.zero => (ctor Option.none [Nat]) + | Nat.succ rest => (if ((at s i) =? 34) then (let ke : Nat := (stringEnd s (i + 1)); (let colon : Nat := (space s (ke + 1)); (if ((at s colon) =? 58) then (let v : Nat := (space s (colon + 1)); (if (Foundation.Tar::sameBytes (span s (i + 1) ke) key) then (ctor Option.some [Nat] v) else (let next : Nat := (space s (valueEnd s v)); (if ((at s next) =? 44) then (memberFrom s (space s (next + 1)) key rest) else (ctor Option.none [Nat]))))) else (ctor Option.none [Nat])))) else (ctor Option.none [Nat]))), + axioms: [Quot.sound, propext], + recursive_argument: fuel +} + +definition{ + name: member, + parameters: [s : Bytes, i : Nat, key : Bytes], + result: (Option Nat), + body: (if ((at s i) =? 123) then (memberFrom s (space s (i + 1)) key (Foundation.Bytes::byteLength s)) else (ctor Option.none [Nat])), + axioms: [Quot.sound, propext] +} + +definition{ + name: elementFrom, + parameters: [s : Bytes, i : Nat, n : Nat, fuel : Nat], + result: (Option Nat), + body: (match fuel + | Nat.zero => (ctor Option.none [Nat]) + | Nat.succ rest => (if ((at s i) =? 93) then (ctor Option.none [Nat]) else (match n + | Nat.zero => (ctor Option.some [Nat] i) + | Nat.succ m => (let next : Nat := (space s (valueEnd s i)); (if ((at s next) =? 44) then (elementFrom s (space s (next + 1)) m rest) else (ctor Option.none [Nat])))))), + axioms: [Quot.sound, propext], + recursive_argument: fuel +} + +definition{ + name: element, + parameters: [s : Bytes, i : Nat, n : Nat], + result: (Option Nat), + body: (if ((at s i) =? 91) then (elementFrom s (space s (i + 1)) n (Foundation.Bytes::byteLength s)) else (ctor Option.none [Nat])), + axioms: [Quot.sound, propext] +} + +definition{ + name: countFrom, + parameters: [s : Bytes, i : Nat, acc : Nat, fuel : Nat], + result: Nat, + body: (match fuel + | Nat.zero => acc + | Nat.succ rest => (if ((at s i) =? 93) then acc else (let next : Nat := (space s (valueEnd s i)); (if ((at s next) =? 44) then (countFrom s (space s (next + 1)) (acc + 1) rest) else (acc + 1))))), + axioms: [Quot.sound, propext], + recursive_argument: fuel +} + +definition{ + name: count, + parameters: [s : Bytes, i : Nat], + result: Nat, + body: (if ((at s i) =? 91) then (countFrom s (space s (i + 1)) 0 (Foundation.Bytes::byteLength s)) else 0), + axioms: [Quot.sound, propext] +} + +definition{ + name: escaped, + parameters: [b : Nat], + result: (Option Bytes), + body: (if (b =? 110) then (ctor Option.some [Bytes] 0x0a) else (if (b =? 116) then (ctor Option.some [Bytes] 0x09) else (if (b =? 114) then (ctor Option.some [Bytes] 0x0d) else (if (b =? 34) then (ctor Option.some [Bytes] 0x22) else (if (b =? 92) then (ctor Option.some [Bytes] 0x5c) else (if (b =? 47) then (ctor Option.some [Bytes] 0x2f) else (if (b =? 98) then (ctor Option.some [Bytes] 0x08) else (if (b =? 102) then (ctor Option.some [Bytes] 0x0c) else (ctor Option.none [Bytes]))))))))) +} + +definition{ + name: runEnd, + parameters: [s : Bytes, i : Nat, fuel : Nat], + result: Nat, + body: (match fuel + | Nat.zero => i + | Nat.succ rest => (let b : Nat := (at s i); (if (((b =? 34) || (b =? 92)) || ((Foundation.Bytes::byteLength s) (ctor Option.none [Bytes]) + | Nat.succ rest => (let e : Nat := (runEnd s i (Foundation.Bytes::byteLength s)); (let got : Bytes := (Foundation.Bytes::appendBytes acc (span s i e)); (if ((at s e) =? 34) then (ctor Option.some [Bytes] got) else (if ((at s e) =? 92) then (match (escaped (at s (e + 1))) + | Option.none => (ctor Option.none [Bytes]) + | Option.some c => (unescapeFrom s (e + 2) (Foundation.Bytes::appendBytes got c) rest)) else (ctor Option.none [Bytes])))))), + axioms: [Quot.sound, propext], + recursive_argument: fuel +} + +definition{ + name: text, + parameters: [s : Bytes, i : Nat], + result: (Option Bytes), + body: (if ((at s i) =? 34) then (unescapeFrom s (i + 1) 0x (Foundation.Bytes::byteLength s)) else (ctor Option.none [Bytes])), + axioms: [Quot.sound, propext] +} + +definition{ + name: textAt, + parameters: [s : Bytes, i : (Option Nat)], + result: Bytes, + body: (match i + | Option.none => 0x + | Option.some v => (match (text s v) | Option.none => 0x | Option.some b => b)), + axioms: [Quot.sound, propext] +} + +definition{ + name: memberAt, + parameters: [s : Bytes, i : (Option Nat), key : Bytes], + result: (Option Nat), + body: (match i | Option.none => (ctor Option.none [Nat]) | Option.some v => (member s v key)), + axioms: [Quot.sound, propext] +} + +definition{ + name: elementAt, + parameters: [s : Bytes, i : (Option Nat), n : Nat], + result: (Option Nat), + body: (match i | Option.none => (ctor Option.none [Nat]) | Option.some v => (element s v n)), + axioms: [Quot.sound, propext] +} + +definition{ + name: countAt, + parameters: [s : Bytes, i : (Option Nat)], + result: Nat, + body: (match i | Option.none => 0 | Option.some v => (count s v)), + axioms: [Quot.sound, propext] +} + +definition{ + name: root, + parameters: [s : Bytes], + result: (Option Nat), + body: (ctor Option.some [Nat] (space s 0)), + axioms: [Quot.sound, propext] +} +\end{semanticmodule} +\end{lexlean} diff --git a/generators/senses/src/Foundation/Tar.lex.tex b/generators/senses/src/Foundation/Tar.lex.tex new file mode 100644 index 00000000..f6597aa4 --- /dev/null +++ b/generators/senses/src/Foundation/Tar.lex.tex @@ -0,0 +1,100 @@ +\begin{lexlean}{Foundation.Tar} +\useglossary{lexlean.std.bool@1.2.0} +\useglossary{lexlean.std.nat@1.2.0} +\useglossary{prism.arch@1.0.0} +\importmodule{Foundation.Bytes} +\title{Tar archive reader} +\begin{semanticmodule} +definition{ + name: byteOr, + parameters: [s : Bytes, i : Nat], + result: Nat, + body: (match (Foundation.Bytes::byteAt s i) + | Option.none => 0 + | Option.some b => (prim to_nat b : Nat)), + axioms: [Quot.sound, propext] +} + +definition{ + name: sameBytes, + parameters: [left : Bytes, right : Bytes], + result: Bool, + body: (prim equal (prim compare_bytes left right : Ordering) (prim compare_bytes 0x00 0x00 : Ordering) : Bool), + axioms: [propext] +} + +definition{ + name: nulFrom, + parameters: [s : Bytes, i : Nat, stop : Nat, fuel : Nat], + result: Nat, + body: (match fuel + | Nat.zero => i + | Nat.succ rest => (if (stop 0x + | Option.some b => b)), + axioms: [Quot.sound, propext] +} + +definition{ + name: octalFrom, + parameters: [s : Bytes, i : Nat, acc : Nat, fuel : Nat], + result: Nat, + body: (match fuel + | Nat.zero => acc + | Nat.succ rest => (let b : Nat := (byteOr s i); (if ((b (ctor Option.none [Bytes]) + | Nat.succ rest => (if ((byteOr s header) =? 0) then (ctor Option.none [Bytes]) else (let size : Nat := (entrySize s header); (if (sameBytes (entryName s header) path) then (Foundation.Bytes::sliceBytes s (header + 512) size) else (findFrom s path ((header + 512) + (padded size)) rest))))), + axioms: [Quot.sound, propext], + recursive_argument: fuel +} + +definition{ + name: find, + parameters: [archive : Bytes, path : Bytes], + result: (Option Bytes), + body: (findFrom archive path 0 (prim quotient (Foundation.Bytes::byteLength archive) 512 0 : Nat)), + axioms: [Quot.sound, propext] +} +\end{semanticmodule} +\end{lexlean} diff --git a/generators/senses/src/Foundation/Utf8.lex.tex b/generators/senses/src/Foundation/Utf8.lex.tex new file mode 100644 index 00000000..7c90158a --- /dev/null +++ b/generators/senses/src/Foundation/Utf8.lex.tex @@ -0,0 +1,22 @@ +\begin{lexlean}{Foundation.Utf8} +\useglossary{lexlean.std.bool@1.2.0} +\useglossary{lexlean.std.nat@1.2.0} +\useglossary{prism.arch@1.0.0} +\title{Unicode text codec} +\begin{semanticmodule} +definition{ + name: encode, + parameters: [value : String], + result: Bytes, + body: (prim utf8_encode value : Bytes) +} + +definition{ + name: decode, + parameters: [value : Bytes], + result: (Option String), + body: (prim utf8_decode value : (Option String)), + axioms: [Classical.choice, Quot.sound, propext] +} +\end{semanticmodule} +\end{lexlean} diff --git a/generators/senses/src/Foundation/View/Text/V1/Model.lex.tex b/generators/senses/src/Foundation/View/Text/V1/Model.lex.tex new file mode 100644 index 00000000..dcd17fae --- /dev/null +++ b/generators/senses/src/Foundation/View/Text/V1/Model.lex.tex @@ -0,0 +1,63 @@ +\begin{lexlean}{Foundation.View.Text.V1.Model} +\useglossary{lexlean.std.bool@1.2.0} +\useglossary{lexlean.std.nat@1.2.0} +\useglossary{prism.arch@1.0.0} +\title{Text application model} +\begin{semanticmodule} +structure{ + name: TextView, + type_parameters: [], + parameters: [], + fields: [ + {name: title, type: String}, + {name: heading, type: String}, + {name: inputLabel, type: String}, + {name: submitLabel, type: String}, + {name: outputLabel, type: String}, + {name: inputError, type: String}, + {name: responseError, type: String} + ] +} + +structure{ + name: AcceptanceVector, + type_parameters: [], + parameters: [], + fields: [{name: request, type: Bytes}, {name: response, type: Bytes}] +} + +structure{ + name: TextApplication, + type_parameters: [], + parameters: [], + fields: [ + {name: profile, type: String}, + {name: name, type: String}, + {name: cargoName, type: String}, + {name: cargoVersion, type: String}, + {name: cargoDescription, type: String}, + {name: cargoRepository, type: String}, + {name: cargoHomepage, type: String}, + {name: libraryRoots, type: (List String)}, + {name: acceptanceVectors, type: (List AcceptanceVector)}, + {name: entryRoot, type: String}, + {name: coreContract, type: String}, + {name: requestMaximum, type: UInt32}, + {name: responseMaximum, type: UInt32}, + {name: guestAllocationMaximum, type: UInt32}, + {name: capabilitiesEmpty, type: Bool}, + {name: fatArchive, type: Bool}, + {name: primaryLayer, type: UInt8}, + {name: viewLayer, type: UInt8}, + {name: view, type: TextView} + ] +} + +definition{ + name: textApplicationProfile, + parameters: [], + result: String, + body: "prismpm/text-application/1" +} +\end{semanticmodule} +\end{lexlean} diff --git a/generators/senses/src/Foundation/View/Text/V3/Model.lex.tex b/generators/senses/src/Foundation/View/Text/V3/Model.lex.tex new file mode 100644 index 00000000..af0ed114 --- /dev/null +++ b/generators/senses/src/Foundation/View/Text/V3/Model.lex.tex @@ -0,0 +1,410 @@ +\begin{lexlean}{Foundation.View.Text.V3.Model} +\useglossary{lexlean.std.bool@1.2.0} +\useglossary{lexlean.std.nat@1.2.0} +\useglossary{prism.arch@1.0.0} +\importmodule{Foundation.View.Text.V1.Model} +\title{Text application model} +\begin{semanticmodule} +structure{ + name: TextCliOutcome, + type_parameters: [], + parameters: [], + fields: [{name: name, type: String}, {name: prefix, type: String}, {name: exitCode, type: UInt8}] +} + +structure{ + name: TextCliSection, + type_parameters: [], + parameters: [], + fields: [{name: title, type: String}, {name: body, type: String}] +} + +structure{ + name: TextCliExample, + type_parameters: [], + parameters: [], + fields: [{name: name, type: String}, {name: text, type: String}] +} + +structure{ + name: TextCli, + type_parameters: [], + parameters: [], + fields: [ + {name: command, type: String}, + {name: description, type: String}, + {name: usageCode, type: UInt8}, + {name: ioCode, type: UInt8}, + {name: limitCode, type: (Option UInt8)}, + {name: outcomes, type: (List TextCliOutcome)}, + {name: sections, type: (List TextCliSection)}, + {name: examples, type: (List TextCliExample)} + ] +} + +inductive{ + name: TextCliFailure, + type_parameters: [], + parameters: [], + constructors: [ + {name: UnknownFlag, fields: []}, + {name: ExtraArgument, fields: []}, + {name: MissingCommand, fields: []}, + {name: UnknownCommand, fields: []}, + {name: UnknownExample, fields: []}, + {name: InputMissing, fields: []}, + {name: InputOpen, fields: []}, + {name: InputType, fields: []}, + {name: InputRead, fields: []}, + {name: OutputWrite, fields: []}, + {name: InputLimit, fields: []}, + {name: AdapterAllocation, fields: []}, + {name: ComputeFailure, fields: []}, + {name: OutputLimit, fields: []}, + {name: ReportUnclassified, fields: []} + ] +} + +inductive{ + name: TextCliFailureClass, + type_parameters: [], + parameters: [], + constructors: [ + {name: Usage, fields: []}, + {name: Io, fields: []}, + {name: Limit, fields: []}, + {name: Fault, fields: []} + ] +} + +definition{ + name: failureClass, + parameters: [failure : TextCliFailure], + result: TextCliFailureClass, + body: (match failure + | TextCliFailure.UnknownFlag => (ctor TextCliFailureClass.Usage) + | TextCliFailure.ExtraArgument => (ctor TextCliFailureClass.Usage) + | TextCliFailure.MissingCommand => (ctor TextCliFailureClass.Usage) + | TextCliFailure.UnknownCommand => (ctor TextCliFailureClass.Usage) + | TextCliFailure.UnknownExample => (ctor TextCliFailureClass.Usage) + | TextCliFailure.InputMissing => (ctor TextCliFailureClass.Io) + | TextCliFailure.InputOpen => (ctor TextCliFailureClass.Io) + | TextCliFailure.InputType => (ctor TextCliFailureClass.Io) + | TextCliFailure.InputRead => (ctor TextCliFailureClass.Io) + | TextCliFailure.OutputWrite => (ctor TextCliFailureClass.Io) + | TextCliFailure.InputLimit => (ctor TextCliFailureClass.Limit) + | TextCliFailure.AdapterAllocation => (ctor TextCliFailureClass.Fault) + | TextCliFailure.ComputeFailure => (ctor TextCliFailureClass.Fault) + | TextCliFailure.OutputLimit => (ctor TextCliFailureClass.Fault) + | TextCliFailure.ReportUnclassified => (ctor TextCliFailureClass.Fault)), + axioms: [] +} + +inductive{ + name: FieldKind, + type_parameters: [], + parameters: [], + constructors: [ + {name: Text, fields: []}, + {name: Multiline, fields: []}, + {name: Natural, fields: []}, + {name: Choice, fields: []} + ] +} + +inductive{ + name: Palette, + type_parameters: [], + parameters: [], + constructors: [{name: Indigo, fields: []}, {name: Ocean, fields: []}] +} + +inductive{ + name: Density, + type_parameters: [], + parameters: [], + constructors: [{name: Comfortable, fields: []}, {name: Compact, fields: []}] +} + +inductive{ + name: Width, + type_parameters: [], + parameters: [], + constructors: [{name: Balanced, fields: []}, {name: Wide, fields: []}] +} + +inductive{ + name: ColorScheme, + type_parameters: [], + parameters: [], + constructors: [{name: System, fields: []}, {name: Light, fields: []}, {name: Dark, fields: []}] +} + +inductive{ + name: WasmCachePolicy, + type_parameters: [], + parameters: [], + constructors: [{name: NoStore, fields: []}] +} + +structure{ + name: Choice, + type_parameters: [], + parameters: [], + fields: [{name: value, type: String}, {name: label, type: String}] +} + +structure{ + name: Field, + type_parameters: [], + parameters: [], + fields: [ + {name: id, type: String}, + {name: label, type: String}, + {name: kind, type: FieldKind}, + {name: help, type: String}, + {name: placeholder, type: String}, + {name: initialValue, type: String}, + {name: required, type: Bool}, + {name: choices, type: (List Choice)} + ] +} + +structure{ + name: Example, + type_parameters: [], + parameters: [], + fields: [ + {name: id, type: String}, + {name: label, type: String}, + {name: description, type: String}, + {name: values, type: (List String)}, + {name: expectedResponse, type: String}, + {name: explanation, type: String} + ] +} + +structure{ + name: Operation, + type_parameters: [], + parameters: [], + fields: [ + {name: id, type: String}, + {name: label, type: String}, + {name: summary, type: String}, + {name: help, type: String}, + {name: requestPrefix, type: String}, + {name: fields, type: (List Field)}, + {name: examples, type: (List Example)} + ] +} + +structure{ + name: Section, + type_parameters: [], + parameters: [], + fields: [ + {name: id, type: String}, + {name: title, type: String}, + {name: paragraphs, type: (List String)} + ] +} + +structure{ + name: Link, + type_parameters: [], + parameters: [], + fields: [{name: label, type: String}, {name: httpsUrl, type: String}] +} + +structure{ + name: ErrorHint, + type_parameters: [], + parameters: [], + fields: [ + {name: code, type: String}, + {name: title, type: String}, + {name: explanation, type: String}, + {name: recovery, type: String}, + {name: fields, type: (List String)} + ] +} + +structure{ + name: StatusCopy, + type_parameters: [], + parameters: [], + fields: [ + {name: scriptRequired, type: String}, + {name: initializing, type: String}, + {name: ready, type: String}, + {name: running, type: String}, + {name: cancelling, type: String}, + {name: cancelled, type: String}, + {name: timeout, type: String}, + {name: loadError, type: String}, + {name: computeError, type: String}, + {name: inputError, type: String}, + {name: responseError, type: String} + ] +} + +structure{ + name: Design, + type_parameters: [], + parameters: [], + fields: [ + {name: palette, type: Palette}, + {name: density, type: Density}, + {name: width, type: Width}, + {name: colorScheme, type: ColorScheme} + ] +} + +structure{ + name: RawEditor, + type_parameters: [], + parameters: [], + fields: [ + {name: requestPrefix, type: String}, + {name: label, type: String}, + {name: help, type: String}, + {name: placeholder, type: String}, + {name: initialValue, type: String}, + {name: submitLabel, type: String}, + {name: responseLabel, type: String}, + {name: expanded, type: Bool} + ] +} + +structure{ + name: DisplaySpec, + type_parameters: [], + parameters: [], + fields: [ + {name: title, type: String}, + {name: emptyText, type: String}, + {name: rawLabel, type: String}, + {name: maximumCells, type: UInt32}, + {name: maximumDetails, type: UInt32} + ] +} + +structure{ + name: Execution, + type_parameters: [], + parameters: [], + fields: [ + {name: timeoutMilliseconds, type: UInt32}, + {name: cancelLabel, type: String}, + {name: retryLabel, type: String}, + {name: wasmCachePolicy, type: WasmCachePolicy} + ] +} + +structure{ + name: WorkbenchLabels, + type_parameters: [], + parameters: [], + fields: [ + {name: navigation, type: String}, + {name: operation, type: String}, + {name: examples, type: String}, + {name: loadExample, type: String}, + {name: compute, type: String}, + {name: guide, type: String}, + {name: links, type: String}, + {name: fields, type: String}, + {name: expectedResponse, type: String}, + {name: details, type: String}, + {name: resultTable, type: String}, + {name: row, type: String}, + {name: column, type: String}, + {name: request, type: String}, + {name: reset, type: String}, + {name: skipToWorkbench, type: String} + ] +} + +structure{ + name: WorkbenchView, + type_parameters: [], + parameters: [], + fields: [ + {name: title, type: String}, + {name: heading, type: String}, + {name: purpose, type: String}, + {name: audience, type: String}, + {name: guidance, type: (List String)}, + {name: initialOperation, type: String}, + {name: initialExample, type: String}, + {name: operations, type: (List Operation)}, + {name: sections, type: (List Section)}, + {name: links, type: (List Link)}, + {name: errors, type: (List ErrorHint)}, + {name: statuses, type: StatusCopy}, + {name: design, type: Design}, + {name: raw, type: RawEditor}, + {name: response, type: DisplaySpec}, + {name: execution, type: Execution}, + {name: labels, type: WorkbenchLabels} + ] +} + +structure{ + name: TextApplication, + type_parameters: [], + parameters: [], + fields: [ + {name: profile, type: String}, + {name: name, type: String}, + {name: cargoName, type: String}, + {name: cargoVersion, type: String}, + {name: cargoDescription, type: String}, + {name: cargoRepository, type: String}, + {name: cargoHomepage, type: String}, + {name: libraryRoots, type: (List String)}, + {name: acceptanceVectors, type: (List Foundation.View.Text.V1.Model::AcceptanceVector)}, + {name: entryRoot, type: String}, + {name: coreContract, type: String}, + {name: requestMaximum, type: UInt32}, + {name: responseMaximum, type: UInt32}, + {name: guestAllocationMaximum, type: UInt32}, + {name: coreMemoryPages, type: (Option UInt32)}, + {name: coreStackBytes, type: (Option UInt32)}, + {name: capabilitiesEmpty, type: Bool}, + {name: fatArchive, type: Bool}, + {name: primaryLayer, type: UInt8}, + {name: viewLayer, type: UInt8}, + {name: view, type: Foundation.View.Text.V1.Model::TextView}, + {name: cli, type: TextCli}, + {name: workbench, type: (Option WorkbenchView)} + ] +} + +definition{name: defaultCoreMemoryPages, parameters: [], result: UInt32, body: (32 : UInt32)} + +definition{name: defaultCoreStackBytes, parameters: [], result: UInt32, body: (65536 : UInt32)} + +definition{ + name: coreMemoryPagesOrDefault, + parameters: [pages : (Option UInt32)], + result: UInt32, + body: (match pages | Option.none => (defaultCoreMemoryPages) | Option.some value => value) +} + +definition{ + name: coreStackBytesOrDefault, + parameters: [bytes : (Option UInt32)], + result: UInt32, + body: (match bytes | Option.none => (defaultCoreStackBytes) | Option.some value => value) +} + +definition{ + name: textApplicationProfile, + parameters: [], + result: String, + body: "prismpm/text-application/3" +} +\end{semanticmodule} +\end{lexlean} diff --git a/generators/senses/src/GenSenses.lex.tex b/generators/senses/src/GenSenses.lex.tex new file mode 100644 index 00000000..9c7ed0c9 --- /dev/null +++ b/generators/senses/src/GenSenses.lex.tex @@ -0,0 +1,208 @@ +\begin{lexlean}{GenSenses} +\useglossary{lexlean.std.bool@1.2.0} +\useglossary{lexlean.std.nat@1.2.0} +\useglossary{prism.arch@1.0.0} +\importmodule{Foundation.Bytes} +\importmodule{Foundation.Json} +\importmodule{Foundation.Tar} +\importmodule{Foundation.Utf8} +\title{Senses cases generator} +\begin{semanticmodule} +definition{ + name: senU, + parameters: [value : String], + result: Bytes, + body: (Foundation.Utf8::encode value) +} + +definition{ + name: senCat, + parameters: [parts : (List Bytes)], + result: Bytes, + body: (match parts + | List.nil => 0x + | List.cons head rest => (Foundation.Bytes::appendBytes head (senCat rest))), + recursive_argument: parts +} + +definition{ + name: senStartsAt, + parameters: [s : Bytes, i : Nat, pattern : Bytes], + result: Bool, + body: (Foundation.Tar::sameBytes (Foundation.Json::span s i (i + (Foundation.Bytes::byteLength pattern))) pattern), + axioms: [propext] +} + +definition{ + name: senFind, + parameters: [s : Bytes, i : Nat, pattern : Bytes, fuel : Nat], + result: Nat, + body: (match fuel + | Nat.zero => (Foundation.Bytes::byteLength s) + | Nat.succ rest => (if ((Foundation.Bytes::byteLength s) i + | Nat.succ rest => (if ((Foundation.Tar::byteOr s i) =? 32) then (senSkip s (i + 1) rest) else i)), + axioms: [Quot.sound, propext], + recursive_argument: fuel +} + +definition{ + name: senIsLetter, + parameters: [b : Nat], + result: Bool, + body: (((64 i + | Nat.succ rest => (if (senIsLetter (Foundation.Tar::byteOr s i)) then (senNameEnd s (i + 1) rest) else i)), + axioms: [Quot.sound, propext], + recursive_argument: fuel +} + +definition{ + name: senLess, + parameters: [a : Bytes, b : Bytes], + result: Bool, + body: (prim equal (prim compare_bytes a b : Ordering) (prim compare_bytes 0x00 0x01 : Ordering) : Bool), + axioms: [propext] +} + +definition{ + name: senIs, + parameters: [s : Bytes, a : Nat, e : Nat, word : Bytes], + result: Bool, + body: ((senStartsAt s a word) && ((a + (Foundation.Bytes::byteLength word)) =? e)), + axioms: [propext] +} + +definition{ + name: senDigits, + parameters: [s : Bytes, i : Nat, fuel : Nat], + result: Bool, + body: (match fuel + | Nat.zero => true + | Nat.succ rest => (let b : Nat := (Foundation.Tar::byteOr s i); (((47 acc + | Nat.succ rest => (if ((Foundation.Bytes::byteLength s) (ctor Option.none [Bytes]) + | Option.some s => (ctor Option.some [Bytes] (senScan s 0 false false false 0x 0x 0x 0x (Foundation.Bytes::byteLength s)))), + axioms: [Quot.sound, propext] +} + +definition{ + name: senPick, + parameters: [s : Bytes, i : Nat, now : Bytes, under : Bool, best : Bytes, fuel : Nat], + result: Bytes, + body: (match fuel + | Nat.zero => best + | Nat.succ rest => (if ((Foundation.Bytes::byteLength s) 0x + | Nat.succ rest => (if ((Foundation.Bytes::byteLength s) acc + | Nat.succ rest => (if ((Foundation.Bytes::byteLength s) (ctor Option.some [Bytes] acc) + | Nat.succ rest => (let now : Bytes := (Foundation.Json::textAt c (Foundation.Json::elementAt c (Foundation.Json::memberAt c (Foundation.Json::root c) 0x636c6f636b73) k)); (let under : Bytes := (senPick s 0 now true 0x (Foundation.Bytes::byteLength s)); (let later : Bytes := (senPick s 0 now false 0x (Foundation.Bytes::byteLength s)); (if ((not ((Foundation.Bytes::byteLength now) =? 20)) || (((Foundation.Bytes::byteLength under) =? 0) && ((Foundation.Bytes::byteLength later) =? 0))) then (ctor Option.none [Bytes]) else (senCases c s base (k + 1) (Foundation.Bytes::appendBytes acc (Foundation.Bytes::appendBytes (if ((Foundation.Bytes::byteLength acc) =? 0) then 0x else 0x2c0a) (senCase base now (senZone s 0 (Foundation.Bytes::byteLength s)) under later (senHeld s 0 0x (Foundation.Bytes::byteLength s))))) rest)))))), + axioms: [Quot.sound, propext], + recursive_argument: fuel +} + +definition{ + name: senGenerate, + parameters: [archive : Bytes], + result: (Option Bytes), + body: (match (Foundation.Tar::find archive (senU "app/specs/senses/clocks.json")) + | Option.none => (ctor Option.none [Bytes]) + | Option.some c => (match (Foundation.Tar::find archive (senU ".gen/senses-events")) + | Option.none => (ctor Option.none [Bytes]) + | Option.some s => (let base : Bytes := (Foundation.Json::textAt c (Foundation.Json::memberAt c (Foundation.Json::root c) 0x62617365)); (let n : Nat := (Foundation.Json::countAt c (Foundation.Json::memberAt c (Foundation.Json::root c) 0x636c6f636b73)); (if ((((n =? 0) || ((Foundation.Bytes::byteLength base) =? 0)) || (not ((senFind s 0 0x22 (Foundation.Bytes::byteLength s)) =? (Foundation.Bytes::byteLength s)))) || ((not ((senFind s 0 0x5c (Foundation.Bytes::byteLength s)) =? (Foundation.Bytes::byteLength s))) || (not ((senFind base 0 0x22 (Foundation.Bytes::byteLength base)) =? (Foundation.Bytes::byteLength base))))) then (ctor Option.none [Bytes]) else (match (senCases c s base 0 0x n) + | Option.none => (ctor Option.none [Bytes]) + | Option.some rows => (ctor Option.some [Bytes] (senCat (cons 0x7b0a202022636f6d6d656e74223a20225772697474656e2062792067656e657261746f72732f73656e736573202873656e7365736361736573292066726f6d205246432035353435206174206974732070696e6e656420627974657320616e64206170702f73706563732f73656e7365732f636c6f636b732e6a736f6e3a20646f206e6f7420656469742e2045616368206578616d706c6520697320612027666c6174272072657175657374206f66207468652073656e73657320677565737420616e642069747320616e73776572206174206f6e652070696e6e656420636c6f636b2e205468652074696d65207a6f6e652069732074686520545a4944206f6620746865205246432773205654494d455a4f4e45206578616d706c652e20546865207265717565737420686f6c64732c206173202768656c6427206c696e65732c20657665727920564556454e54206f6620746865205246432773206943616c656e646172206f626a656374732074686174206769766573204454535441525420616e64204454454e4420696e205554432c207769746820697473205549442c20737461727420616e6420656e642061732074686520524643207072696e7473207468656d2c207772697474656e2061732052464320333333393b2074686520616e73776572206e616d657320746865206f6e6520756e646572207761792061742074686520636c6f636b20616e6420746865206e65787420746f20626567696e2c2063686f73656e20686572652061706172742066726f6d207468652067756573742e222c0a2020226578616d706c6573223a205b0a (cons rows (cons 0x0a20205d0a7d0a (nil Bytes)))))))))))), + axioms: [Quot.sound, propext] +} +\end{semanticmodule} +\end{lexlean} diff --git a/generators/senses/src/GenTurtle.lex.tex b/generators/senses/src/GenTurtle.lex.tex new file mode 100644 index 00000000..2d77eeec --- /dev/null +++ b/generators/senses/src/GenTurtle.lex.tex @@ -0,0 +1,51 @@ +\begin{lexlean}{GenTurtle} +\useglossary{lexlean.std.bool@1.2.0} +\useglossary{lexlean.std.nat@1.2.0} +\useglossary{prism.arch@1.0.0} +\importmodule{Foundation.Bytes} +\importmodule{Foundation.Json} +\importmodule{Foundation.Tar} +\importmodule{GenSenses} +\title{Turtle test inventory generator} +\begin{semanticmodule} +definition{ + name: ttlQuoteEnd, + parameters: [s : Bytes, j : Nat, fuel : Nat], + result: Nat, + body: (match fuel + | Nat.zero => j + | Nat.succ rest => (let b : Nat := (Foundation.Tar::byteOr s j); (if (((Foundation.Bytes::byteLength s) acc + | Nat.succ rest => (if ((Foundation.Bytes::byteLength s) (ctor Option.none [Bytes]) + | Option.some s => (ctor Option.some [Bytes] (ttlRowsFrom s 0 0x (Foundation.Bytes::byteLength s)))), + axioms: [Quot.sound, propext] +} +\end{semanticmodule} +\end{lexlean} diff --git a/generators/senses/src/Generators.lex.tex b/generators/senses/src/Generators.lex.tex new file mode 100644 index 00000000..aea144a0 --- /dev/null +++ b/generators/senses/src/Generators.lex.tex @@ -0,0 +1,79 @@ +\begin{lexlean}{Generators} +\useglossary{lexlean.std.bool@1.2.0} +\useglossary{lexlean.std.nat@1.2.0} +\useglossary{prism.arch@1.0.0} +\importmodule{Foundation.Bytes} +\importmodule{GenSenses} +\importmodule{GenTurtle} +\importmodule{Foundation.Tar} +\importmodule{Foundation.View.Text.V1.Model} +\importmodule{Foundation.View.Text.V3.Model} +\title{Text application model} +\begin{semanticmodule} +definition{ + name: application, + parameters: [], + result: Foundation.View.Text.V3.Model::TextApplication, + body: (record Foundation.View.Text.V3.Model::TextApplication {profile := "prismpm/text-application/3", name := "Prism senses generators", cargoName := "prism-generators", cargoVersion := "0.1.0", cargoDescription := "The senses producers of the Prism of its owner: schedule cases from RFC 5545 and the Turtle test inventory from the W3C manifest.", cargoRepository := "https://github.com/afflom/me", cargoHomepage := "https://afflom.github.io/me/", libraryRoots := (cons "PrismSensesGen.Generators.dispatch" (nil String)), acceptanceVectors := (cons (record Foundation.View.Text.V1.Model::AcceptanceVector {request := 0x, response := 0x696e76616c6964}) (cons (record Foundation.View.Text.V1.Model::AcceptanceVector {request := 0x73656e7365736576656e7473202e67656e2f73656e7365732d6576656e74730a6170702f73706563732f7374616e64617264732f74657874732f63323536663830393437396439386161323364373162626431363538623338303065613966313366343163613536653539633864326465316233316362666362000000000000000000003030303036343400303030303030300030303030303030003030303030303031313331003030303030303030303030003032343031350020300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000075737461720030300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020202020202020424547494e3a5643414c454e4441520a2020202020202050524f4449443a2d2f2f52445520536f6674776172652f2f4e4f4e53474d4c2048616e6443616c2f2f454e0a2020202020202056455253494f4e3a322e300a20202020202020424547494e3a5654494d455a4f4e450a20202020202020545a49443a416d65726963612f4e65775f596f726b0a20202020202020424547494e3a5354414e444152440a20202020202020445453544152543a3139393831303235543032303030300a20202020202020545a4f464653455446524f4d3a2d303430300a20202020202020545a4f4646534554544f3a2d303530300a20202020202020545a4e414d453a4553540a20202020202020454e443a5354414e444152440a20202020202020424547494e3a4441594c494748540a20202020202020445453544152543a3139393930343034543032303030300a20202020202020545a4f464653455446524f4d3a2d303530300a20202020202020545a4f4646534554544f3a2d303430300a0a0a0a446573727569737365617578202020202020202020202020202020205374616e646172647320547261636b202020202020202020202020202020202020205b50616765203134345d0a0c0a524643203535343520202020202020202020202020202020202020202020206943616c656e64617220202020202020202020202020202020202053657074656d62657220323030390a0a0a20202020202020545a4e414d453a4544540a20202020202020454e443a4441594c494748540a20202020202020454e443a5654494d455a4f4e450a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, response := 0x7772697474656e0a7a6f6e6520416d65726963612f4e65775f596f726b0a}) (cons (record Foundation.View.Text.V1.Model::AcceptanceVector {request := 0x73656e7365736361736573206170702f73706563732f73656e7365732f6f627365727665642f737065632e6a736f6e0a6170702f73706563732f73656e7365732f636c6f636b732e6a736f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000303030303634340030303030303030003030303030303000303030303030303130333000303030303030303030303000303133333035002030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007573746172003030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007b0a202022636f6d6d656e74223a202254686520636c6f636b73206174207768696368207468652073656e73657327207363686564756c65206f62736572766174696f6e732061726520646572697665642066726f6d2052464320353534352773206f776e206578616d706c6573202867656e657261746f72732f7374616e64617264732c2073656e73657363617365732c20777269746573206170702f73706563732f73656e7365732f6f627365727665642f737065632e6a736f6e292e202762617365272069732074686520706572736f6e27732049524920696e207468652072657175657374732e204561636820636c6f636b20697320616e20524643203333333920696e7374616e7420696e205554433a207468652066697273742066616c6c7320696e736964652074686520636f6e666572656e6365206f662052464320353534352073656374696f6e20342773207365636f6e64206578616d706c652c20746865207365636f6e6420696e2074686520686f7572206265666f726520746865207061727479206f662073656374696f6e20332e342773206578616d706c652e222c0a20202262617365223a202268747470733a2f2f6578616d706c652e636f6d2f6d652f222c0a202022636c6f636b73223a205b0a2020202022313939362d30392d31385431353a30303a30305a222c0a2020202022313939372d30372d31345431363a30303a30305a220a20205d0a7d0a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, response := 0x726566757365643a206e65656473206170702f73706563732f73656e7365732f636c6f636b732e6a736f6e20776974682061206261736520616e6420636c6f636b732c20616e64202e67656e2f73656e7365732d6576656e7473207769746820616e206576656e7420756e64657220776179206f7220746f20636f6d65206174206561636820636c6f636b}) (cons (record Foundation.View.Text.V1.Model::AcceptanceVector {request := 0x747572746c6520746573742f7374616e64617264732f67656e6572617465642f7733632d747572746c652d312e312e6a736f6e6c0a6170702f73706563732f7374616e64617264732f757073747265616d2f747572746c652d6d616e69666573742e74746c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000303030303634340030303030303030003030303030303000303030303030303033333000303030303030303030303000303137333331002030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007573746172003030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003c234952495f7375626a6563743e207264663a7479706520726466743a54657374547572746c654576616c203b0a2020206d663a6e616d65202020202020224952495f7375626a65637422203b0a202020726466733a636f6d6d656e742022495249207375626a65637422203b0a202020726466743a617070726f76616c20726466743a417070726f766564203b0a2020206d663a616374696f6e202020203c4952495f7375626a6563742e74746c3e203b0a2020206d663a726573756c74202020203c4952495f73706f2e6e743e203b0a2020202e0a0a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, response := 0x7772697474656e0a7b226964223a20227733632d747572746c652d312e312d4952495f7375626a656374222c20226b696e64223a202254657374547572746c654576616c222c2022726566223a20224952495f7375626a6563742e74746c222c202274657874223a2022495249207375626a656374227d0a}) (cons (record Foundation.View.Text.V1.Model::AcceptanceVector {request := 0x7878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878, response := 0x696e76616c6964}) (nil Foundation.View.Text.V1.Model::AcceptanceVector)))))), entryRoot := "PrismSensesGen.Generators.dispatch", coreContract := "hologram:guest/core-wasm@1", requestMaximum := (32768 : UInt32), responseMaximum := (65536 : UInt32), guestAllocationMaximum := (32768 : UInt32), coreMemoryPages := (ctor Option.some [UInt32] (512 : UInt32)), coreStackBytes := (ctor Option.some [UInt32] (1048576 : UInt32)), capabilitiesEmpty := true, fatArchive := true, primaryLayer := (0 : UInt8), viewLayer := (1 : UInt8), view := (record Foundation.View.Text.V1.Model::TextView {title := "Prism generators", heading := "Prism generators", inputLabel := "Request", submitLabel := "Run", outputLabel := "Report", inputError := "Invalid request", responseError := "Invalid response"}), cli := (record Foundation.View.Text.V3.Model::TextCli {command := "run", description := "Runs one of the Prism generators over a ustar archive of its inputs and prints the file it writes.\n", usageCode := (64 : UInt8), ioCode := (74 : UInt8), limitCode := (ctor Option.none [UInt8]), outcomes := (cons (record Foundation.View.Text.V3.Model::TextCliOutcome {name := "written", prefix := "written", exitCode := (0 : UInt8)}) (cons (record Foundation.View.Text.V3.Model::TextCliOutcome {name := "refused", prefix := "refused: ", exitCode := (1 : UInt8)}) (cons (record Foundation.View.Text.V3.Model::TextCliOutcome {name := "error", prefix := "invalid", exitCode := (2 : UInt8)}) (nil Foundation.View.Text.V3.Model::TextCliOutcome)))), sections := (cons (record Foundation.View.Text.V3.Model::TextCliSection {title := "REQUEST", body := "The first line names a generator and its output path, then a POSIX ustar archive of its inputs follows.\n"}) (cons (record Foundation.View.Text.V3.Model::TextCliSection {title := "REPORT", body := "written and a newline, then the output file; or refused: and the reasons; or invalid.\n"}) (nil Foundation.View.Text.V3.Model::TextCliSection))), examples := (cons (record Foundation.View.Text.V3.Model::TextCliExample {name := "unknown", text := "nothing\n"}) (nil Foundation.View.Text.V3.Model::TextCliExample))}), workbench := (ctor Option.none [Foundation.View.Text.V3.Model::WorkbenchView])}) +} + +definition{ + name: lineEnd, + parameters: [s : Bytes, i : Nat, fuel : Nat], + result: Nat, + body: (match fuel + | Nat.zero => i + | Nat.succ rest => (if ((Foundation.Tar::byteOr s i) =? 10) then i else (lineEnd s (i + 1) rest))), + axioms: [Quot.sound, propext], + recursive_argument: fuel +} + +definition{ + name: sliceOr, + parameters: [s : Bytes, start : Nat, count : Nat], + result: Bytes, + body: (match (Foundation.Bytes::sliceBytes s start count) + | Option.none => 0x + | Option.some b => b) +} + +definition{ + name: wordEnd, + parameters: [s : Bytes, i : Nat, stop : Nat, fuel : Nat], + result: Nat, + body: (match fuel + | Nat.zero => i + | Nat.succ rest => (if (stop (refused 0x6e65656473205246432035353435206174206974732070696e6e6564206279746573) + | Option.some file => (written file)) else (if (Foundation.Tar::sameBytes name 0x73656e7365736361736573) then (match (GenSenses::senGenerate archive) + | Option.none => (refused 0x6e65656473206170702f73706563732f73656e7365732f636c6f636b732e6a736f6e20776974682061206261736520616e6420636c6f636b732c20616e64202e67656e2f73656e7365732d6576656e7473207769746820616e206576656e7420756e64657220776179206f7220746f20636f6d65206174206561636820636c6f636b) + | Option.some file => (written file)) else (if (Foundation.Tar::sameBytes name 0x747572746c65) then (match (GenTurtle::ttlGenerate archive) + | Option.none => (refused 0x6e65656473206170702f73706563732f7374616e64617264732f757073747265616d2f747572746c652d6d616e69666573742e74746c) + | Option.some file => (written file)) else 0x696e76616c6964)))))))))), + axioms: [Quot.sound, propext] +} +\end{semanticmodule} +\end{lexlean} diff --git a/generators/senses/steps.json b/generators/senses/steps.json new file mode 100644 index 00000000..b0d01ab4 --- /dev/null +++ b/generators/senses/steps.json @@ -0,0 +1,25 @@ +{ + "comment": "The steps of the senses program (generators/senses/), run in order by tools/generators/run.sh: the senses' schedule and time zone cases from RFC 5545 at its pinned bytes, and ST-01's inventory of the W3C Turtle test suite from its manifest.", + "steps": [ + { + "generator": "sensesevents", + "split": "app/specs/standards/texts/c256f809479d98aa23d71bbd1658b3800ea9f13f41ca56e59c8d2de1b31cbfcb", + "breakBefore": "^[0-9]+[.][0-9.]*[.]? ", + "output": ".gen/senses-events" + }, + { + "generator": "sensescases", + "inputs": [ + ".gen/senses-events", + "app/specs/senses/clocks.json" + ], + "output": "app/specs/senses/observed/spec.json" + }, + { + "generator": "turtle", + "split": "app/specs/standards/upstream/turtle-manifest.ttl", + "breakBefore": "^<#", + "output": "test/standards/generated/w3c-turtle-1.1.jsonl" + } + ] +} diff --git a/site/senses/guest.mjs b/site/senses/guest.mjs index d3952907..d8a935fc 100644 --- a/site/senses/guest.mjs +++ b/site/senses/guest.mjs @@ -4,7 +4,7 @@ // exports holo_alloc(len) and holo_run(ptr, len) -> (outPtr << 32 | outLen); // bytes whose SHA-256 is not the pinned one are refused before they compile. -export const GUEST = { path: 'guest/senses.wasm', sha256: 'e31ae067109de3f64f30c481aebdd384664f5e5ebffa460cdb4e1f93f5c3d035' }; +export const GUEST = { path: 'guest/senses.wasm', sha256: 'e0e72093bda87dfe768d8725463591fe9283a30d4f59b5c3ddd6e658797a455f' }; const hex = (u8) => Array.from(u8, (b) => b.toString(16).padStart(2, '0')).join(''); const encoder = new TextEncoder(); diff --git a/site/senses/guest/senses.wasm b/site/senses/guest/senses.wasm index ea43f3f6..5840c616 100644 Binary files a/site/senses/guest/senses.wasm and b/site/senses/guest/senses.wasm differ diff --git a/site/turtle/guest.mjs b/site/turtle/guest.mjs new file mode 100644 index 00000000..3c3f5944 --- /dev/null +++ b/site/turtle/guest.mjs @@ -0,0 +1,35 @@ +// Generated by generators/guests from app/specs/guests (GU-01): the standalone +// guests of PrismSosaTable, PrismSenses, PrismSosaTable, PrismSenses, PrismSosaTable, PrismSenses, built by tools/guests/build.sh from the modules the +// Prism compiles, so the Node suites run every request without the holo. Each +// exports holo_alloc(len) and holo_run(ptr, len) -> (outPtr << 32 | outLen); +// bytes whose SHA-256 is not the pinned one are refused before they compile. + +export const GUESTS = { + eval2: { path: 'guest/turtle.wasm', sha256: 'e97c6f77cd167b558984ed290bbae9054df06464f27bcb18bc9d631846c1265f' }, + eval: { path: 'guest/turtle.wasm', sha256: 'e97c6f77cd167b558984ed290bbae9054df06464f27bcb18bc9d631846c1265f' }, + turtle: { path: 'guest/turtle.wasm', sha256: 'e97c6f77cd167b558984ed290bbae9054df06464f27bcb18bc9d631846c1265f' }, +}; + +const hex = (u8) => Array.from(u8, (b) => b.toString(16).padStart(2, '0')).join(''); +const encoder = new TextEncoder(); +const decoder = new TextDecoder('utf-8', { fatal: true }); + +async function compile(bytes, sha256) { + const got = hex(new Uint8Array(await crypto.subtle.digest('SHA-256', bytes))); + if (got !== sha256) throw Object.assign(new Error(`guest refused: fingerprint ${got} is not ${sha256}`), { code: 'turtle.guest' }); + return WebAssembly.compile(bytes); +} + +function run(x, line) { + const input = encoder.encode(line); + const ptr = x.holo_alloc(input.length); + new Uint8Array(x.memory.buffer, ptr, input.length).set(input); + const packed = BigInt.asUintN(64, BigInt(x.holo_run(ptr, input.length))); + return decoder.decode(new Uint8Array(x.memory.buffer, Number(packed >> 32n), Number(packed & 0xffffffffn))); +} + +// A fresh instance per request: the guest's allocator never frees, and no state carries over. +export async function openGuest(bytes, sha256) { + const module = await compile(bytes, sha256); + return async (line) => run((await WebAssembly.instantiate(module, {})).exports, line); +} diff --git a/site/turtle/guest/turtle.wasm b/site/turtle/guest/turtle.wasm new file mode 100644 index 00000000..4cadaa5a Binary files /dev/null and b/site/turtle/guest/turtle.wasm differ diff --git a/test/parts/parts.txt b/test/parts/parts.txt index 60106f30..e95c48f1 100644 --- a/test/parts/parts.txt +++ b/test/parts/parts.txt @@ -157,6 +157,7 @@ site/surface/surface.mjs site/time/recur.mjs site/time/rhythm.mjs site/time/time.mjs +site/turtle/guest.mjs site/uorc/guest.mjs site/uorc/objects.mjs site/vault/test/guests.mjs diff --git a/test/standards/generated/w3c-turtle-1.1.jsonl b/test/standards/generated/w3c-turtle-1.1.jsonl new file mode 100644 index 00000000..86beb51b --- /dev/null +++ b/test/standards/generated/w3c-turtle-1.1.jsonl @@ -0,0 +1,291 @@ +{"id": "w3c-turtle-1.1-IRI_subject", "kind": "TestTurtleEval", "ref": "IRI_subject.ttl", "text": "IRI subject"} +{"id": "w3c-turtle-1.1-IRI_with_four_digit_numeric_escape", "kind": "TestTurtleEval", "ref": "IRI_with_four_digit_numeric_escape.ttl", "text": "IRI with four digit numeric escape (\\u)"} +{"id": "w3c-turtle-1.1-IRI_with_eight_digit_numeric_escape", "kind": "TestTurtleEval", "ref": "IRI_with_eight_digit_numeric_escape.ttl", "text": "IRI with eight digit numeric escape (\\U)"} +{"id": "w3c-turtle-1.1-IRI_with_all_punctuation", "kind": "TestTurtleEval", "ref": "IRI_with_all_punctuation.ttl", "text": "IRI with all punctuation"} +{"id": "w3c-turtle-1.1-bareword_a_predicate", "kind": "TestTurtleEval", "ref": "bareword_a_predicate.ttl", "text": "bareword a predicate"} +{"id": "w3c-turtle-1.1-old_style_prefix", "kind": "TestTurtleEval", "ref": "old_style_prefix.ttl", "text": "old-style prefix"} +{"id": "w3c-turtle-1.1-SPARQL_style_prefix", "kind": "TestTurtleEval", "ref": "SPARQL_style_prefix.ttl", "text": "SPARQL-style prefix"} +{"id": "w3c-turtle-1.1-prefixed_IRI_predicate", "kind": "TestTurtleEval", "ref": "prefixed_IRI_predicate.ttl", "text": "prefixed IRI predicate"} +{"id": "w3c-turtle-1.1-prefixed_IRI_object", "kind": "TestTurtleEval", "ref": "prefixed_IRI_object.ttl", "text": "prefixed IRI object"} +{"id": "w3c-turtle-1.1-prefix_only_IRI", "kind": "TestTurtleEval", "ref": "prefix_only_IRI.ttl", "text": "prefix-only IRI (p:)"} +{"id": "w3c-turtle-1.1-prefix_with_PN_CHARS_BASE_character_boundaries", "kind": "TestTurtleEval", "ref": "prefix_with_PN_CHARS_BASE_character_boundaries.ttl", "text": "prefix with PN CHARS BASE character boundaries (prefix: AZazÀÖØöø...:)"} +{"id": "w3c-turtle-1.1-prefix_with_non_leading_extras", "kind": "TestTurtleEval", "ref": "prefix_with_non_leading_extras.ttl", "text": "prefix with_non_leading_extras (_:a·̀ͯ‿.⁀)"} +{"id": "w3c-turtle-1.1-localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries", "kind": "TestTurtleEval", "ref": "localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries.ttl", "text": "localName with assigned, NFC-normalized, basic-multilingual-plane PN CHARS BASE character boundaries (p:AZazÀÖØöø...)"} +{"id": "w3c-turtle-1.1-localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries", "kind": "TestTurtleEval", "ref": "localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.ttl", "text": "localName with assigned, NFC-normalized PN CHARS BASE character boundaries (p:AZazÀÖØöø...)"} +{"id": "w3c-turtle-1.1-localName_with_nfc_PN_CHARS_BASE_character_boundaries", "kind": "TestTurtleEval", "ref": "localName_with_nfc_PN_CHARS_BASE_character_boundaries.ttl", "text": "localName with nfc-normalize PN CHARS BASE character boundaries (p:AZazÀÖØöø...)"} +{"id": "w3c-turtle-1.1-default_namespace_IRI", "kind": "TestTurtleEval", "ref": "default_namespace_IRI.ttl", "text": "default namespace IRI (:ln)"} +{"id": "w3c-turtle-1.1-prefix_reassigned_and_used", "kind": "TestTurtleEval", "ref": "prefix_reassigned_and_used.ttl", "text": "prefix reassigned and used"} +{"id": "w3c-turtle-1.1-reserved_escaped_localName", "kind": "TestTurtleEval", "ref": "reserved_escaped_localName.ttl", "text": "reserved-escaped local name"} +{"id": "w3c-turtle-1.1-percent_escaped_localName", "kind": "TestTurtleEval", "ref": "percent_escaped_localName.ttl", "text": "percent-escaped local name"} +{"id": "w3c-turtle-1.1-HYPHEN_MINUS_in_localName", "kind": "TestTurtleEval", "ref": "HYPHEN_MINUS_in_localName.ttl", "text": "HYPHEN-MINUS in local name"} +{"id": "w3c-turtle-1.1-underscore_in_localName", "kind": "TestTurtleEval", "ref": "underscore_in_localName.ttl", "text": "underscore in local name"} +{"id": "w3c-turtle-1.1-localname_with_COLON", "kind": "TestTurtleEval", "ref": "localname_with_COLON.ttl", "text": "localname with COLON"} +{"id": "w3c-turtle-1.1-localName_with_leading_underscore", "kind": "TestTurtleEval", "ref": "localName_with_leading_underscore.ttl", "text": "localName with leading underscore (p:_)"} +{"id": "w3c-turtle-1.1-localName_with_leading_digit", "kind": "TestTurtleEval", "ref": "localName_with_leading_digit.ttl", "text": "localName with leading digit (p:_)"} +{"id": "w3c-turtle-1.1-localName_with_non_leading_extras", "kind": "TestTurtleEval", "ref": "localName_with_non_leading_extras.ttl", "text": "localName with_non_leading_extras (_:a·̀ͯ‿.⁀)"} +{"id": "w3c-turtle-1.1-old_style_base", "kind": "TestTurtleEval", "ref": "old_style_base.ttl", "text": "old-style base"} +{"id": "w3c-turtle-1.1-SPARQL_style_base", "kind": "TestTurtleEval", "ref": "SPARQL_style_base.ttl", "text": "SPARQL-style base"} +{"id": "w3c-turtle-1.1-labeled_blank_node_subject", "kind": "TestTurtleEval", "ref": "labeled_blank_node_subject.ttl", "text": "labeled blank node subject"} +{"id": "w3c-turtle-1.1-labeled_blank_node_object", "kind": "TestTurtleEval", "ref": "labeled_blank_node_object.ttl", "text": "labeled blank node object"} +{"id": "w3c-turtle-1.1-labeled_blank_node_with_PN_CHARS_BASE_character_boundaries", "kind": "TestTurtleEval", "ref": "labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.ttl", "text": "labeled blank node with PN_CHARS_BASE character boundaries (_:AZazÀÖØöø...)"} +{"id": "w3c-turtle-1.1-labeled_blank_node_with_leading_underscore", "kind": "TestTurtleEval", "ref": "labeled_blank_node_with_leading_underscore.ttl", "text": "labeled blank node with_leading_underscore (_:_)"} +{"id": "w3c-turtle-1.1-labeled_blank_node_with_leading_digit", "kind": "TestTurtleEval", "ref": "labeled_blank_node_with_leading_digit.ttl", "text": "labeled blank node with_leading_digit (_:0)"} +{"id": "w3c-turtle-1.1-labeled_blank_node_with_non_leading_extras", "kind": "TestTurtleEval", "ref": "labeled_blank_node_with_non_leading_extras.ttl", "text": "labeled blank node with_non_leading_extras (_:a·̀ͯ‿.⁀)"} +{"id": "w3c-turtle-1.1-anonymous_blank_node_subject", "kind": "TestTurtleEval", "ref": "anonymous_blank_node_subject.ttl", "text": "anonymous blank node subject"} +{"id": "w3c-turtle-1.1-anonymous_blank_node_object", "kind": "TestTurtleEval", "ref": "anonymous_blank_node_object.ttl", "text": "anonymous blank node object"} +{"id": "w3c-turtle-1.1-sole_blankNodePropertyList", "kind": "TestTurtleEval", "ref": "sole_blankNodePropertyList.ttl", "text": "sole blankNodePropertyList [

] ."} +{"id": "w3c-turtle-1.1-blankNodePropertyList_as_subject", "kind": "TestTurtleEval", "ref": "blankNodePropertyList_as_subject.ttl", "text": "blankNodePropertyList as subject [ … ]

."} +{"id": "w3c-turtle-1.1-blankNodePropertyList_as_object", "kind": "TestTurtleEval", "ref": "blankNodePropertyList_as_object.ttl", "text": "blankNodePropertyList as object

[ … ] ."} +{"id": "w3c-turtle-1.1-blankNodePropertyList_with_multiple_triples", "kind": "TestTurtleEval", "ref": "blankNodePropertyList_with_multiple_triples.ttl", "text": "blankNodePropertyList with multiple triples [

; ]"} +{"id": "w3c-turtle-1.1-nested_blankNodePropertyLists", "kind": "TestTurtleEval", "ref": "nested_blankNodePropertyLists.ttl", "text": "nested blankNodePropertyLists [ [ ] ; ]"} +{"id": "w3c-turtle-1.1-blankNodePropertyList_containing_collection", "kind": "TestTurtleEval", "ref": "blankNodePropertyList_containing_collection.ttl", "text": "blankNodePropertyList containing collection [ ( … ) ]"} +{"id": "w3c-turtle-1.1-collection_subject", "kind": "TestTurtleEval", "ref": "collection_subject.ttl", "text": "collection subject"} +{"id": "w3c-turtle-1.1-collection_object", "kind": "TestTurtleEval", "ref": "collection_object.ttl", "text": "collection object"} +{"id": "w3c-turtle-1.1-empty_collection", "kind": "TestTurtleEval", "ref": "empty_collection.ttl", "text": "empty collection ()"} +{"id": "w3c-turtle-1.1-nested_collection", "kind": "TestTurtleEval", "ref": "nested_collection.ttl", "text": "nested collection (())"} +{"id": "w3c-turtle-1.1-first", "kind": "TestTurtleEval", "ref": "first.ttl", "text": "first, not last, non-empty nested collection"} +{"id": "w3c-turtle-1.1-last", "kind": "TestTurtleEval", "ref": "last.ttl", "text": "last, not first, non-empty nested collection"} +{"id": "w3c-turtle-1.1-LITERAL1", "kind": "TestTurtleEval", "ref": "LITERAL1.ttl", "text": "LITERAL1 'x'"} +{"id": "w3c-turtle-1.1-LITERAL1_ascii_boundaries", "kind": "TestTurtleEval", "ref": "LITERAL1_ascii_boundaries.ttl", "text": "LITERAL1_ascii_boundaries '\\x00\\x09\\x0b\\x0c\\x0e\\x26\\x28...'"} +{"id": "w3c-turtle-1.1-LITERAL1_with_UTF8_boundaries", "kind": "TestTurtleEval", "ref": "LITERAL1_with_UTF8_boundaries.ttl", "text": "LITERAL1_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'"} +{"id": "w3c-turtle-1.1-LITERAL1_all_controls", "kind": "TestTurtleEval", "ref": "LITERAL1_all_controls.ttl", "text": "LITERAL1_all_controls '\\x00\\x01\\x02\\x03\\x04...'"} +{"id": "w3c-turtle-1.1-LITERAL1_all_punctuation", "kind": "TestTurtleEval", "ref": "LITERAL1_all_punctuation.ttl", "text": "LITERAL1_all_punctuation '!\"#$%&()...'"} +{"id": "w3c-turtle-1.1-LITERAL_LONG1", "kind": "TestTurtleEval", "ref": "LITERAL_LONG1.ttl", "text": "LITERAL_LONG1 '''x'''"} +{"id": "w3c-turtle-1.1-LITERAL_LONG1_ascii_boundaries", "kind": "TestTurtleEval", "ref": "LITERAL_LONG1_ascii_boundaries.ttl", "text": "LITERAL_LONG1_ascii_boundaries '\\x00\\x26\\x28...'"} +{"id": "w3c-turtle-1.1-LITERAL_LONG1_with_UTF8_boundaries", "kind": "TestTurtleEval", "ref": "LITERAL_LONG1_with_UTF8_boundaries.ttl", "text": "LITERAL_LONG1_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'"} +{"id": "w3c-turtle-1.1-LITERAL_LONG1_with_1_squote", "kind": "TestTurtleEval", "ref": "LITERAL_LONG1_with_1_squote.ttl", "text": "LITERAL_LONG1 with 1 squote '''a'b'''"} +{"id": "w3c-turtle-1.1-LITERAL_LONG1_with_2_squotes", "kind": "TestTurtleEval", "ref": "LITERAL_LONG1_with_2_squotes.ttl", "text": "LITERAL_LONG1 with 2 squotes '''a''b'''"} +{"id": "w3c-turtle-1.1-LITERAL2", "kind": "TestTurtleEval", "ref": "LITERAL2.ttl", "text": "LITERAL2 \"x\""} +{"id": "w3c-turtle-1.1-LITERAL2_ascii_boundaries", "kind": "TestTurtleEval", "ref": "LITERAL2_ascii_boundaries.ttl", "text": "LITERAL2_ascii_boundaries '\\x00\\x09\\x0b\\x0c\\x0e\\x21\\x23...'"} +{"id": "w3c-turtle-1.1-LITERAL2_with_UTF8_boundaries", "kind": "TestTurtleEval", "ref": "LITERAL2_with_UTF8_boundaries.ttl", "text": "LITERAL2_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'"} +{"id": "w3c-turtle-1.1-LITERAL_LONG2", "kind": "TestTurtleEval", "ref": "LITERAL_LONG2.ttl", "text": "LITERAL_LONG2 \"\"\"x\"\"\""} +{"id": "w3c-turtle-1.1-LITERAL_LONG2_ascii_boundaries", "kind": "TestTurtleEval", "ref": "LITERAL_LONG2_ascii_boundaries.ttl", "text": "LITERAL_LONG2_ascii_boundaries '\\x00\\x21\\x23...'"} +{"id": "w3c-turtle-1.1-LITERAL_LONG2_with_UTF8_boundaries", "kind": "TestTurtleEval", "ref": "LITERAL_LONG2_with_UTF8_boundaries.ttl", "text": "LITERAL_LONG2_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'"} +{"id": "w3c-turtle-1.1-LITERAL_LONG2_with_1_squote", "kind": "TestTurtleEval", "ref": "LITERAL_LONG2_with_1_squote.ttl", "text": "LITERAL_LONG2 with 1 squote \"\"\"a\"b\"\"\""} +{"id": "w3c-turtle-1.1-LITERAL_LONG2_with_2_squotes", "kind": "TestTurtleEval", "ref": "LITERAL_LONG2_with_2_squotes.ttl", "text": "LITERAL_LONG2 with 2 squotes \"\"\"a\"\"b\"\"\""} +{"id": "w3c-turtle-1.1-literal_with_CHARACTER_TABULATION", "kind": "TestTurtleEval", "ref": "literal_with_CHARACTER_TABULATION.ttl", "text": "literal with CHARACTER TABULATION"} +{"id": "w3c-turtle-1.1-literal_with_BACKSPACE", "kind": "TestTurtleEval", "ref": "literal_with_BACKSPACE.ttl", "text": "literal with BACKSPACE"} +{"id": "w3c-turtle-1.1-literal_with_LINE_FEED", "kind": "TestTurtleEval", "ref": "literal_with_LINE_FEED.ttl", "text": "literal with LINE FEED"} +{"id": "w3c-turtle-1.1-literal_with_CARRIAGE_RETURN", "kind": "TestTurtleEval", "ref": "literal_with_CARRIAGE_RETURN.ttl", "text": "literal with CARRIAGE RETURN"} +{"id": "w3c-turtle-1.1-literal_with_FORM_FEED", "kind": "TestTurtleEval", "ref": "literal_with_FORM_FEED.ttl", "text": "literal with FORM FEED"} +{"id": "w3c-turtle-1.1-literal_with_REVERSE_SOLIDUS", "kind": "TestTurtleEval", "ref": "literal_with_REVERSE_SOLIDUS.ttl", "text": "literal with REVERSE SOLIDUS"} +{"id": "w3c-turtle-1.1-literal_with_escaped_CHARACTER_TABULATION", "kind": "TestTurtleEval", "ref": "literal_with_escaped_CHARACTER_TABULATION.ttl", "text": "literal with escaped CHARACTER TABULATION"} +{"id": "w3c-turtle-1.1-literal_with_escaped_BACKSPACE", "kind": "TestTurtleEval", "ref": "literal_with_escaped_BACKSPACE.ttl", "text": "literal with escaped BACKSPACE"} +{"id": "w3c-turtle-1.1-literal_with_escaped_LINE_FEED", "kind": "TestTurtleEval", "ref": "literal_with_escaped_LINE_FEED.ttl", "text": "literal with escaped LINE FEED"} +{"id": "w3c-turtle-1.1-literal_with_escaped_CARRIAGE_RETURN", "kind": "TestTurtleEval", "ref": "literal_with_escaped_CARRIAGE_RETURN.ttl", "text": "literal with escaped CARRIAGE RETURN"} +{"id": "w3c-turtle-1.1-literal_with_escaped_FORM_FEED", "kind": "TestTurtleEval", "ref": "literal_with_escaped_FORM_FEED.ttl", "text": "literal with escaped FORM FEED"} +{"id": "w3c-turtle-1.1-literal_with_numeric_escape4", "kind": "TestTurtleEval", "ref": "literal_with_numeric_escape4.ttl", "text": "literal with numeric escape4 \\u"} +{"id": "w3c-turtle-1.1-literal_with_numeric_escape8", "kind": "TestTurtleEval", "ref": "literal_with_numeric_escape8.ttl", "text": "literal with numeric escape8 \\U"} +{"id": "w3c-turtle-1.1-IRIREF_datatype", "kind": "TestTurtleEval", "ref": "IRIREF_datatype.ttl", "text": "IRIREF datatype \"\"^^"} +{"id": "w3c-turtle-1.1-prefixed_name_datatype", "kind": "TestTurtleEval", "ref": "prefixed_name_datatype.ttl", "text": "prefixed name datatype \"\"^^p:t"} +{"id": "w3c-turtle-1.1-bareword_integer", "kind": "TestTurtleEval", "ref": "bareword_integer.ttl", "text": "bareword integer"} +{"id": "w3c-turtle-1.1-bareword_decimal", "kind": "TestTurtleEval", "ref": "bareword_decimal.ttl", "text": "bareword decimal"} +{"id": "w3c-turtle-1.1-bareword_double", "kind": "TestTurtleEval", "ref": "bareword_double.ttl", "text": "bareword double"} +{"id": "w3c-turtle-1.1-double_lower_case_e", "kind": "TestTurtleEval", "ref": "double_lower_case_e.ttl", "text": "double lower case e"} +{"id": "w3c-turtle-1.1-negative_numeric", "kind": "TestTurtleEval", "ref": "negative_numeric.ttl", "text": "negative numeric"} +{"id": "w3c-turtle-1.1-positive_numeric", "kind": "TestTurtleEval", "ref": "positive_numeric.ttl", "text": "positive numeric"} +{"id": "w3c-turtle-1.1-numeric_with_leading_0", "kind": "TestTurtleEval", "ref": "numeric_with_leading_0.ttl", "text": "numeric with leading 0"} +{"id": "w3c-turtle-1.1-literal_true", "kind": "TestTurtleEval", "ref": "literal_true.ttl", "text": "literal true"} +{"id": "w3c-turtle-1.1-literal_false", "kind": "TestTurtleEval", "ref": "literal_false.ttl", "text": "literal false"} +{"id": "w3c-turtle-1.1-langtagged_non_LONG", "kind": "TestTurtleEval", "ref": "langtagged_non_LONG.ttl", "text": "langtagged non-LONG \"x\"@en"} +{"id": "w3c-turtle-1.1-langtagged_LONG", "kind": "TestTurtleEval", "ref": "langtagged_LONG.ttl", "text": "langtagged LONG \"\"\"x\"\"\"@en"} +{"id": "w3c-turtle-1.1-lantag_with_subtag", "kind": "TestTurtleEval", "ref": "lantag_with_subtag.ttl", "text": "lantag with subtag \"x\"@en-us"} +{"id": "w3c-turtle-1.1-objectList_with_two_objects", "kind": "TestTurtleEval", "ref": "objectList_with_two_objects.ttl", "text": "objectList with two objects … ,"} +{"id": "w3c-turtle-1.1-predicateObjectList_with_two_objectLists", "kind": "TestTurtleEval", "ref": "predicateObjectList_with_two_objectLists.ttl", "text": "predicateObjectList with two objectLists … ,"} +{"id": "w3c-turtle-1.1-repeated_semis_at_end", "kind": "TestTurtleEval", "ref": "repeated_semis_at_end.ttl", "text": "repeated semis at end

;; ."} +{"id": "w3c-turtle-1.1-repeated_semis_not_at_end", "kind": "TestTurtleEval", "ref": "repeated_semis_not_at_end.ttl", "text": "repeated semis not at end

;;."} +{"id": "w3c-turtle-1.1-turtle-syntax-file-01", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-file-01.ttl", "text": "Empty file"} +{"id": "w3c-turtle-1.1-turtle-syntax-file-02", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-file-02.ttl", "text": "Only comment"} +{"id": "w3c-turtle-1.1-turtle-syntax-file-03", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-file-03.ttl", "text": "One comment, one empty line"} +{"id": "w3c-turtle-1.1-turtle-syntax-uri-01", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-uri-01.ttl", "text": "Only IRIs"} +{"id": "w3c-turtle-1.1-turtle-syntax-uri-02", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-uri-02.ttl", "text": "IRIs with Unicode escape"} +{"id": "w3c-turtle-1.1-turtle-syntax-uri-03", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-uri-03.ttl", "text": "IRIs with long Unicode escape"} +{"id": "w3c-turtle-1.1-turtle-syntax-uri-04", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-uri-04.ttl", "text": "Legal IRIs"} +{"id": "w3c-turtle-1.1-turtle-syntax-base-01", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-base-01.ttl", "text": "@base"} +{"id": "w3c-turtle-1.1-turtle-syntax-base-02", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-base-02.ttl", "text": "BASE"} +{"id": "w3c-turtle-1.1-turtle-syntax-base-03", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-base-03.ttl", "text": "@base with relative IRIs"} +{"id": "w3c-turtle-1.1-turtle-syntax-base-04", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-base-04.ttl", "text": "base with relative IRIs"} +{"id": "w3c-turtle-1.1-turtle-syntax-prefix-01", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-prefix-01.ttl", "text": "@prefix"} +{"id": "w3c-turtle-1.1-turtle-syntax-prefix-02", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-prefix-02.ttl", "text": "PreFIX"} +{"id": "w3c-turtle-1.1-turtle-syntax-prefix-03", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-prefix-03.ttl", "text": "Empty PREFIX"} +{"id": "w3c-turtle-1.1-turtle-syntax-prefix-04", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-prefix-04.ttl", "text": "Empty @prefix with % escape"} +{"id": "w3c-turtle-1.1-turtle-syntax-prefix-05", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-prefix-05.ttl", "text": "@prefix with no suffix"} +{"id": "w3c-turtle-1.1-turtle-syntax-prefix-06", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-prefix-06.ttl", "text": "colon is a legal pname character"} +{"id": "w3c-turtle-1.1-turtle-syntax-prefix-07", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-prefix-07.ttl", "text": "dash is a legal pname character"} +{"id": "w3c-turtle-1.1-turtle-syntax-prefix-08", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-prefix-08.ttl", "text": "underscore is a legal pname character"} +{"id": "w3c-turtle-1.1-turtle-syntax-prefix-09", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-prefix-09.ttl", "text": "percents in pnames"} +{"id": "w3c-turtle-1.1-turtle-syntax-string-01", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-string-01.ttl", "text": "string literal"} +{"id": "w3c-turtle-1.1-turtle-syntax-string-02", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-string-02.ttl", "text": "langString literal"} +{"id": "w3c-turtle-1.1-turtle-syntax-string-03", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-string-03.ttl", "text": "langString literal with region"} +{"id": "w3c-turtle-1.1-turtle-syntax-string-04", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-string-04.ttl", "text": "squote string literal"} +{"id": "w3c-turtle-1.1-turtle-syntax-string-05", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-string-05.ttl", "text": "squote langString literal"} +{"id": "w3c-turtle-1.1-turtle-syntax-string-06", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-string-06.ttl", "text": "squote langString literal with region"} +{"id": "w3c-turtle-1.1-turtle-syntax-string-07", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-string-07.ttl", "text": "long string literal with embedded single- and double-quotes"} +{"id": "w3c-turtle-1.1-turtle-syntax-string-08", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-string-08.ttl", "text": "long string literal with embedded newline"} +{"id": "w3c-turtle-1.1-turtle-syntax-string-09", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-string-09.ttl", "text": "squote long string literal with embedded single- and double-quotes"} +{"id": "w3c-turtle-1.1-turtle-syntax-string-10", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-string-10.ttl", "text": "long langString literal with embedded newline"} +{"id": "w3c-turtle-1.1-turtle-syntax-string-11", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-string-11.ttl", "text": "squote long langString literal with embedded newline"} +{"id": "w3c-turtle-1.1-turtle-syntax-str-esc-01", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-str-esc-01.ttl", "text": "string literal with escaped newline"} +{"id": "w3c-turtle-1.1-turtle-syntax-str-esc-02", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-str-esc-02.ttl", "text": "string literal with Unicode escape"} +{"id": "w3c-turtle-1.1-turtle-syntax-str-esc-03", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-str-esc-03.ttl", "text": "string literal with long Unicode escape"} +{"id": "w3c-turtle-1.1-turtle-syntax-pname-esc-01", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-pname-esc-01.ttl", "text": "pname with back-slash escapes"} +{"id": "w3c-turtle-1.1-turtle-syntax-pname-esc-02", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-pname-esc-02.ttl", "text": "pname with back-slash escapes (2)"} +{"id": "w3c-turtle-1.1-turtle-syntax-pname-esc-03", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-pname-esc-03.ttl", "text": "pname with back-slash escapes (3)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bnode-01", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-bnode-01.ttl", "text": "bnode subject"} +{"id": "w3c-turtle-1.1-turtle-syntax-bnode-02", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-bnode-02.ttl", "text": "bnode object"} +{"id": "w3c-turtle-1.1-turtle-syntax-bnode-03", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-bnode-03.ttl", "text": "bnode property list object"} +{"id": "w3c-turtle-1.1-turtle-syntax-bnode-04", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-bnode-04.ttl", "text": "bnode property list object (2)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bnode-05", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-bnode-05.ttl", "text": "bnode property list subject"} +{"id": "w3c-turtle-1.1-turtle-syntax-bnode-06", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-bnode-06.ttl", "text": "labeled bnode subject"} +{"id": "w3c-turtle-1.1-turtle-syntax-bnode-07", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-bnode-07.ttl", "text": "labeled bnode subject and object"} +{"id": "w3c-turtle-1.1-turtle-syntax-bnode-08", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-bnode-08.ttl", "text": "bare bnode property list"} +{"id": "w3c-turtle-1.1-turtle-syntax-bnode-09", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-bnode-09.ttl", "text": "bnode property list"} +{"id": "w3c-turtle-1.1-turtle-syntax-bnode-10", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-bnode-10.ttl", "text": "mixed bnode property list and triple"} +{"id": "w3c-turtle-1.1-turtle-syntax-number-01", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-number-01.ttl", "text": "integer literal"} +{"id": "w3c-turtle-1.1-turtle-syntax-number-02", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-number-02.ttl", "text": "negative integer literal"} +{"id": "w3c-turtle-1.1-turtle-syntax-number-03", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-number-03.ttl", "text": "positive integer literal"} +{"id": "w3c-turtle-1.1-turtle-syntax-number-04", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-number-04.ttl", "text": "decimal literal"} +{"id": "w3c-turtle-1.1-turtle-syntax-number-05", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-number-05.ttl", "text": "decimal literal (no leading digits)"} +{"id": "w3c-turtle-1.1-turtle-syntax-number-06", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-number-06.ttl", "text": "negative decimal literal"} +{"id": "w3c-turtle-1.1-turtle-syntax-number-07", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-number-07.ttl", "text": "positive decimal literal"} +{"id": "w3c-turtle-1.1-turtle-syntax-number-08", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-number-08.ttl", "text": "integer literal with decimal lexical confusion"} +{"id": "w3c-turtle-1.1-turtle-syntax-number-09", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-number-09.ttl", "text": "double literal"} +{"id": "w3c-turtle-1.1-turtle-syntax-number-10", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-number-10.ttl", "text": "negative double literal"} +{"id": "w3c-turtle-1.1-turtle-syntax-number-11", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-number-11.ttl", "text": "double literal no fraction"} +{"id": "w3c-turtle-1.1-turtle-syntax-datatypes-01", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-datatypes-01.ttl", "text": "xsd:byte literal"} +{"id": "w3c-turtle-1.1-turtle-syntax-datatypes-02", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-datatypes-02.ttl", "text": "integer as xsd:string"} +{"id": "w3c-turtle-1.1-turtle-syntax-kw-01", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-kw-01.ttl", "text": "boolean literal (true)"} +{"id": "w3c-turtle-1.1-turtle-syntax-kw-02", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-kw-02.ttl", "text": "boolean literal (false)"} +{"id": "w3c-turtle-1.1-turtle-syntax-kw-03", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-kw-03.ttl", "text": "'a' as keyword"} +{"id": "w3c-turtle-1.1-turtle-syntax-struct-01", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-struct-01.ttl", "text": "object list"} +{"id": "w3c-turtle-1.1-turtle-syntax-struct-02", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-struct-02.ttl", "text": "predicate list with object list"} +{"id": "w3c-turtle-1.1-turtle-syntax-struct-03", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-struct-03.ttl", "text": "predicate list with object list and dangling ';'"} +{"id": "w3c-turtle-1.1-turtle-syntax-struct-04", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-struct-04.ttl", "text": "predicate list with multiple ;;"} +{"id": "w3c-turtle-1.1-turtle-syntax-struct-05", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-struct-05.ttl", "text": "predicate list with multiple ;;"} +{"id": "w3c-turtle-1.1-turtle-syntax-lists-01", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-lists-01.ttl", "text": "empty list"} +{"id": "w3c-turtle-1.1-turtle-syntax-lists-02", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-lists-02.ttl", "text": "mixed list"} +{"id": "w3c-turtle-1.1-turtle-syntax-lists-03", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-lists-03.ttl", "text": "isomorphic list as subject and object"} +{"id": "w3c-turtle-1.1-turtle-syntax-lists-04", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-lists-04.ttl", "text": "lists of lists"} +{"id": "w3c-turtle-1.1-turtle-syntax-lists-05", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-lists-05.ttl", "text": "mixed lists with embedded lists"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-uri-01", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-uri-01.ttl", "text": "Bad IRI : space (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-uri-02", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-uri-02.ttl", "text": "Bad IRI : bad escape (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-uri-03", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-uri-03.ttl", "text": "Bad IRI : bad long escape (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-uri-04", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-uri-04.ttl", "text": "Bad IRI : character escapes not allowed (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-uri-05", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-uri-05.ttl", "text": "Bad IRI : character escapes not allowed (2) (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-prefix-01", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-prefix-01.ttl", "text": "No prefix (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-prefix-02", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-prefix-02.ttl", "text": "No prefix (2) (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-prefix-03", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-prefix-03.ttl", "text": "@prefix without URI (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-prefix-04", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-prefix-04.ttl", "text": "@prefix without prefix name (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-prefix-05", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-prefix-05.ttl", "text": "@prefix without ':' (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-base-01", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-base-01.ttl", "text": "@base without URI (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-base-02", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-base-02.ttl", "text": "@base in wrong case (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-base-03", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-base-03.ttl", "text": "BASE without URI (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-struct-01", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-struct-01.ttl", "text": "Turtle is not TriG (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-struct-02", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-struct-02.ttl", "text": "Turtle is not N3 (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-struct-03", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-struct-03.ttl", "text": "Turtle is not NQuads (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-struct-04", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-struct-04.ttl", "text": "Turtle does not allow literals-as-subjects (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-struct-05", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-struct-05.ttl", "text": "Turtle does not allow literals-as-predicates (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-struct-06", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-struct-06.ttl", "text": "Turtle does not allow bnodes-as-predicates (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-struct-07", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-struct-07.ttl", "text": "Turtle does not allow labeled bnodes-as-predicates (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-kw-01", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-kw-01.ttl", "text": "'A' is not a keyword (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-kw-02", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-kw-02.ttl", "text": "'a' cannot be used as subject (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-kw-03", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-kw-03.ttl", "text": "'a' cannot be used as object (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-kw-04", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-kw-04.ttl", "text": "'true' cannot be used as subject (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-kw-05", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-kw-05.ttl", "text": "'true' cannot be used as object (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-01", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-n3-extras-01.ttl", "text": "{} fomulae not in Turtle (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-02", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-n3-extras-02.ttl", "text": "= is not Turtle (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-03", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-n3-extras-03.ttl", "text": "N3 paths not in Turtle (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-04", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-n3-extras-04.ttl", "text": "N3 paths not in Turtle (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-05", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-n3-extras-05.ttl", "text": "N3 is...of not in Turtle (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-06", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-n3-extras-06.ttl", "text": "N3 paths not in Turtle (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-07", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-n3-extras-07.ttl", "text": "@keywords is not Turtle (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-08", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-n3-extras-08.ttl", "text": "@keywords is not Turtle (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-09", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-n3-extras-09.ttl", "text": "=> is not Turtle (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-10", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-n3-extras-10.ttl", "text": "<= is not Turtle (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-11", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-n3-extras-11.ttl", "text": "@forSome is not Turtle (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-12", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-n3-extras-12.ttl", "text": "@forAll is not Turtle (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-13", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-n3-extras-13.ttl", "text": "@keywords is not Turtle (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-struct-08", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-struct-08.ttl", "text": "missing '.' (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-struct-09", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-struct-09.ttl", "text": "extra '.' (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-struct-10", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-struct-10.ttl", "text": "extra '.' (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-struct-11", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-struct-11.ttl", "text": "trailing ';' no '.' (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-struct-12", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-struct-12.ttl", "text": "subject, predicate, no object (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-struct-13", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-struct-13.ttl", "text": "subject, predicate, no object (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-struct-14", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-struct-14.ttl", "text": "literal as subject (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-struct-15", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-struct-15.ttl", "text": "literal as predicate (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-struct-16", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-struct-16.ttl", "text": "bnode as predicate (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-struct-17", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-struct-17.ttl", "text": "labeled bnode as predicate (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-lang-01", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-lang-01.ttl", "text": "langString with bad lang (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-esc-01", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-esc-01.ttl", "text": "Bad string escape (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-esc-02", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-esc-02.ttl", "text": "Bad string escape (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-esc-03", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-esc-03.ttl", "text": "Bad string escape (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-esc-04", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-esc-04.ttl", "text": "Bad string escape (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-pname-01", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-pname-01.ttl", "text": "'~' must be escaped in pname (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-pname-02", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-pname-02.ttl", "text": "Bad %-sequence in pname (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-pname-03", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-pname-03.ttl", "text": "Bad unicode escape in pname (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-string-01", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-string-01.ttl", "text": "mismatching string literal open/close (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-string-02", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-string-02.ttl", "text": "mismatching string literal open/close (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-string-03", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-string-03.ttl", "text": "mismatching string literal long/short (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-string-04", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-string-04.ttl", "text": "mismatching long string literal open/close (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-string-05", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-string-05.ttl", "text": "Long literal with missing end (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-string-06", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-string-06.ttl", "text": "Long literal with extra quote (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-string-07", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-string-07.ttl", "text": "Long literal with extra squote (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-num-01", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-num-01.ttl", "text": "Bad number format (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-num-02", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-num-02.ttl", "text": "Bad number format (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-num-03", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-num-03.ttl", "text": "Bad number format (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-num-04", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-num-04.ttl", "text": "Bad number format (negative test)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-num-05", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-num-05.ttl", "text": "Bad number format (negative test)"} +{"id": "w3c-turtle-1.1-turtle-eval-struct-01", "kind": "TestTurtleEval", "ref": "turtle-eval-struct-01.ttl", "text": "triple with IRIs"} +{"id": "w3c-turtle-1.1-turtle-eval-struct-02", "kind": "TestTurtleEval", "ref": "turtle-eval-struct-02.ttl", "text": "triple with IRIs and embedded whitespace"} +{"id": "w3c-turtle-1.1-turtle-subm-01", "kind": "TestTurtleEval", "ref": "turtle-subm-01.ttl", "text": "Blank subject"} +{"id": "w3c-turtle-1.1-turtle-subm-02", "kind": "TestTurtleEval", "ref": "turtle-subm-02.ttl", "text": "@prefix and qnames"} +{"id": "w3c-turtle-1.1-turtle-subm-03", "kind": "TestTurtleEval", "ref": "turtle-subm-03.ttl", "text": ", operator"} +{"id": "w3c-turtle-1.1-turtle-subm-04", "kind": "TestTurtleEval", "ref": "turtle-subm-04.ttl", "text": "; operator"} +{"id": "w3c-turtle-1.1-turtle-subm-05", "kind": "TestTurtleEval", "ref": "turtle-subm-05.ttl", "text": "empty [] as subject and object"} +{"id": "w3c-turtle-1.1-turtle-subm-06", "kind": "TestTurtleEval", "ref": "turtle-subm-06.ttl", "text": "non-empty [] as subject and object"} +{"id": "w3c-turtle-1.1-turtle-subm-07", "kind": "TestTurtleEval", "ref": "turtle-subm-07.ttl", "text": "'a' as predicate"} +{"id": "w3c-turtle-1.1-turtle-subm-08", "kind": "TestTurtleEval", "ref": "turtle-subm-08.ttl", "text": "simple collection"} +{"id": "w3c-turtle-1.1-turtle-subm-09", "kind": "TestTurtleEval", "ref": "turtle-subm-09.ttl", "text": "empty collection"} +{"id": "w3c-turtle-1.1-turtle-subm-10", "kind": "TestTurtleEval", "ref": "turtle-subm-10.ttl", "text": "integer datatyped literal"} +{"id": "w3c-turtle-1.1-turtle-subm-11", "kind": "TestTurtleEval", "ref": "turtle-subm-11.ttl", "text": "decimal integer canonicalization"} +{"id": "w3c-turtle-1.1-turtle-subm-12", "kind": "TestTurtleEval", "ref": "turtle-subm-12.ttl", "text": "- and _ in names and qnames"} +{"id": "w3c-turtle-1.1-turtle-subm-13", "kind": "TestTurtleEval", "ref": "turtle-subm-13.ttl", "text": "tests for rdf:_ and other qnames starting with _"} +{"id": "w3c-turtle-1.1-turtle-subm-14", "kind": "TestTurtleEval", "ref": "turtle-subm-14.ttl", "text": "bare : allowed"} +{"id": "w3c-turtle-1.1-turtle-subm-15", "kind": "TestTurtleEval", "ref": "turtle-subm-15.ttl", "text": "simple long literal"} +{"id": "w3c-turtle-1.1-turtle-subm-16", "kind": "TestTurtleEval", "ref": "turtle-subm-16.ttl", "text": "long literals with escapes"} +{"id": "w3c-turtle-1.1-turtle-subm-17", "kind": "TestTurtleEval", "ref": "turtle-subm-17.ttl", "text": "floating point number"} +{"id": "w3c-turtle-1.1-turtle-subm-18", "kind": "TestTurtleEval", "ref": "turtle-subm-18.ttl", "text": "empty literals, normal and long variant"} +{"id": "w3c-turtle-1.1-turtle-subm-19", "kind": "TestTurtleEval", "ref": "turtle-subm-19.ttl", "text": "positive integer, decimal and doubles"} +{"id": "w3c-turtle-1.1-turtle-subm-20", "kind": "TestTurtleEval", "ref": "turtle-subm-20.ttl", "text": "negative integer, decimal and doubles"} +{"id": "w3c-turtle-1.1-turtle-subm-21", "kind": "TestTurtleEval", "ref": "turtle-subm-21.ttl", "text": "long literal ending in double quote"} +{"id": "w3c-turtle-1.1-turtle-subm-22", "kind": "TestTurtleEval", "ref": "turtle-subm-22.ttl", "text": "boolean literals"} +{"id": "w3c-turtle-1.1-turtle-subm-23", "kind": "TestTurtleEval", "ref": "turtle-subm-23.ttl", "text": "comments"} +{"id": "w3c-turtle-1.1-turtle-subm-24", "kind": "TestTurtleEval", "ref": "turtle-subm-24.ttl", "text": "no final mewline"} +{"id": "w3c-turtle-1.1-turtle-subm-25", "kind": "TestTurtleEval", "ref": "turtle-subm-25.ttl", "text": "repeating a @prefix changes pname definition"} +{"id": "w3c-turtle-1.1-turtle-subm-26", "kind": "TestTurtleEval", "ref": "turtle-subm-26.ttl", "text": "Variations on decimal canonicalization"} +{"id": "w3c-turtle-1.1-turtle-subm-27", "kind": "TestTurtleEval", "ref": "turtle-subm-27.ttl", "text": "Repeating @base changes base for relative IRI lookup"} +{"id": "w3c-turtle-1.1-turtle-eval-bad-01", "kind": "TestTurtleNegativeEval", "ref": "turtle-eval-bad-01.ttl", "text": "Bad IRI : good escape, bad charcater (negative evaluation test)"} +{"id": "w3c-turtle-1.1-turtle-eval-bad-02", "kind": "TestTurtleNegativeEval", "ref": "turtle-eval-bad-02.ttl", "text": "Bad IRI : hex 3C is < (negative evaluation test)"} +{"id": "w3c-turtle-1.1-turtle-eval-bad-03", "kind": "TestTurtleNegativeEval", "ref": "turtle-eval-bad-03.ttl", "text": "Bad IRI : hex 3E is (negative evaluation test)"} +{"id": "w3c-turtle-1.1-turtle-eval-bad-04", "kind": "TestTurtleNegativeEval", "ref": "turtle-eval-bad-04.ttl", "text": "Bad IRI : {abc} (negative evaluation test)"} +{"id": "w3c-turtle-1.1-comment_following_localName", "kind": "TestTurtleEval", "ref": "comment_following_localName.ttl", "text": "comment following localName"} +{"id": "w3c-turtle-1.1-number_sign_following_localName", "kind": "TestTurtleEval", "ref": "number_sign_following_localName.ttl", "text": "number sign following localName"} +{"id": "w3c-turtle-1.1-comment_following_PNAME_NS", "kind": "TestTurtleEval", "ref": "comment_following_PNAME_NS.ttl", "text": "comment following PNAME_NS"} +{"id": "w3c-turtle-1.1-number_sign_following_PNAME_NS", "kind": "TestTurtleEval", "ref": "number_sign_following_PNAME_NS.ttl", "text": "number sign following PNAME_NS"} +{"id": "w3c-turtle-1.1-LITERAL_LONG2_with_REVERSE_SOLIDUS", "kind": "TestTurtleEval", "ref": "LITERAL_LONG2_with_REVERSE_SOLIDUS.ttl", "text": "REVERSE SOLIDUS at end of LITERAL_LONG2"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-LITERAL2_with_langtag_and_datatype", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-LITERAL2_with_langtag_and_datatype.ttl", "text": "Bad number format (negative test)"} +{"id": "w3c-turtle-1.1-two_LITERAL_LONG2s", "kind": "TestTurtleEval", "ref": "two_LITERAL_LONG2s.ttl", "text": "two LITERAL_LONG2s testing quote delimiter overrun"} +{"id": "w3c-turtle-1.1-langtagged_LONG_with_subtag", "kind": "TestTurtleEval", "ref": "langtagged_LONG_with_subtag.ttl", "text": "langtagged LONG with subtag \"\"\"Cheers\"\"\"@en-UK"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-blank-label-dot-end", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-blank-label-dot-end.ttl", "text": "Blank node label must not end in dot"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-number-dot-in-anon", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-number-dot-in-anon.ttl", "text": "Dot delimeter may not appear in anonymous nodes"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-ln-dash-start", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-ln-dash-start.ttl", "text": "Local name must not begin with dash"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-ln-escape", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-ln-escape.ttl", "text": "Bad hex escape in local name"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-ln-escape-start", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-ln-escape-start.ttl", "text": "Bad hex escape at start of local name"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-ns-dot-end", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-ns-dot-end.ttl", "text": "Prefix must not end in dot"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-ns-dot-start", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-ns-dot-start.ttl", "text": "Prefix must not start with dot"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-missing-ns-dot-end", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-missing-ns-dot-end.ttl", "text": "Prefix must not end in dot (error in triple, not prefix directive like turtle-syntax-bad-ns-dot-end)"} +{"id": "w3c-turtle-1.1-turtle-syntax-bad-missing-ns-dot-start", "kind": "TestTurtleNegativeSyntax", "ref": "turtle-syntax-bad-missing-ns-dot-start.ttl", "text": "Prefix must not start with dot (error in triple, not prefix directive like turtle-syntax-bad-ns-dot-end)"} +{"id": "w3c-turtle-1.1-turtle-syntax-ln-dots", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-ln-dots.ttl", "text": "Dots in pname local names"} +{"id": "w3c-turtle-1.1-turtle-syntax-ln-colons", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-ln-colons.ttl", "text": "Colons in pname local names"} +{"id": "w3c-turtle-1.1-turtle-syntax-ns-dots", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-ns-dots.ttl", "text": "Dots in namespace names"} +{"id": "w3c-turtle-1.1-turtle-syntax-blank-label", "kind": "TestTurtlePositiveSyntax", "ref": "turtle-syntax-blank-label.ttl", "text": "Characters allowed in blank node labels"} diff --git a/test/standards/requirements.json b/test/standards/requirements.json index d84e547a..245c5e2f 100644 --- a/test/standards/requirements.json +++ b/test/standards/requirements.json @@ -13138,6 +13138,1754 @@ "text": "used procedure" } ], + "w3c-turtle-1.1": [ + { + "id": "w3c-turtle-1.1-HYPHEN_MINUS_in_localName", + "kind": "TestTurtleEval", + "ref": "HYPHEN_MINUS_in_localName.ttl", + "text": "HYPHEN-MINUS in local name" + }, + { + "id": "w3c-turtle-1.1-IRIREF_datatype", + "kind": "TestTurtleEval", + "ref": "IRIREF_datatype.ttl", + "text": "IRIREF datatype \"\"^^" + }, + { + "id": "w3c-turtle-1.1-IRI_subject", + "kind": "TestTurtleEval", + "ref": "IRI_subject.ttl", + "text": "IRI subject" + }, + { + "id": "w3c-turtle-1.1-IRI_with_all_punctuation", + "kind": "TestTurtleEval", + "ref": "IRI_with_all_punctuation.ttl", + "text": "IRI with all punctuation" + }, + { + "id": "w3c-turtle-1.1-IRI_with_eight_digit_numeric_escape", + "kind": "TestTurtleEval", + "ref": "IRI_with_eight_digit_numeric_escape.ttl", + "text": "IRI with eight digit numeric escape (\\U)" + }, + { + "id": "w3c-turtle-1.1-IRI_with_four_digit_numeric_escape", + "kind": "TestTurtleEval", + "ref": "IRI_with_four_digit_numeric_escape.ttl", + "text": "IRI with four digit numeric escape (\\u)" + }, + { + "id": "w3c-turtle-1.1-LITERAL1", + "kind": "TestTurtleEval", + "ref": "LITERAL1.ttl", + "text": "LITERAL1 'x'" + }, + { + "id": "w3c-turtle-1.1-LITERAL1_all_controls", + "kind": "TestTurtleEval", + "ref": "LITERAL1_all_controls.ttl", + "text": "LITERAL1_all_controls '\\x00\\x01\\x02\\x03\\x04...'" + }, + { + "id": "w3c-turtle-1.1-LITERAL1_all_punctuation", + "kind": "TestTurtleEval", + "ref": "LITERAL1_all_punctuation.ttl", + "text": "LITERAL1_all_punctuation '!\"#$%&()...'" + }, + { + "id": "w3c-turtle-1.1-LITERAL1_ascii_boundaries", + "kind": "TestTurtleEval", + "ref": "LITERAL1_ascii_boundaries.ttl", + "text": "LITERAL1_ascii_boundaries '\\x00\\x09\\x0b\\x0c\\x0e\\x26\\x28...'" + }, + { + "id": "w3c-turtle-1.1-LITERAL1_with_UTF8_boundaries", + "kind": "TestTurtleEval", + "ref": "LITERAL1_with_UTF8_boundaries.ttl", + "text": "LITERAL1_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" + }, + { + "id": "w3c-turtle-1.1-LITERAL2", + "kind": "TestTurtleEval", + "ref": "LITERAL2.ttl", + "text": "LITERAL2 \"x\"" + }, + { + "id": "w3c-turtle-1.1-LITERAL2_ascii_boundaries", + "kind": "TestTurtleEval", + "ref": "LITERAL2_ascii_boundaries.ttl", + "text": "LITERAL2_ascii_boundaries '\\x00\\x09\\x0b\\x0c\\x0e\\x21\\x23...'" + }, + { + "id": "w3c-turtle-1.1-LITERAL2_with_UTF8_boundaries", + "kind": "TestTurtleEval", + "ref": "LITERAL2_with_UTF8_boundaries.ttl", + "text": "LITERAL2_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" + }, + { + "id": "w3c-turtle-1.1-LITERAL_LONG1", + "kind": "TestTurtleEval", + "ref": "LITERAL_LONG1.ttl", + "text": "LITERAL_LONG1 '''x'''" + }, + { + "id": "w3c-turtle-1.1-LITERAL_LONG1_ascii_boundaries", + "kind": "TestTurtleEval", + "ref": "LITERAL_LONG1_ascii_boundaries.ttl", + "text": "LITERAL_LONG1_ascii_boundaries '\\x00\\x26\\x28...'" + }, + { + "id": "w3c-turtle-1.1-LITERAL_LONG1_with_1_squote", + "kind": "TestTurtleEval", + "ref": "LITERAL_LONG1_with_1_squote.ttl", + "text": "LITERAL_LONG1 with 1 squote '''a'b'''" + }, + { + "id": "w3c-turtle-1.1-LITERAL_LONG1_with_2_squotes", + "kind": "TestTurtleEval", + "ref": "LITERAL_LONG1_with_2_squotes.ttl", + "text": "LITERAL_LONG1 with 2 squotes '''a''b'''" + }, + { + "id": "w3c-turtle-1.1-LITERAL_LONG1_with_UTF8_boundaries", + "kind": "TestTurtleEval", + "ref": "LITERAL_LONG1_with_UTF8_boundaries.ttl", + "text": "LITERAL_LONG1_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" + }, + { + "id": "w3c-turtle-1.1-LITERAL_LONG2", + "kind": "TestTurtleEval", + "ref": "LITERAL_LONG2.ttl", + "text": "LITERAL_LONG2 \"\"\"x\"\"\"" + }, + { + "id": "w3c-turtle-1.1-LITERAL_LONG2_ascii_boundaries", + "kind": "TestTurtleEval", + "ref": "LITERAL_LONG2_ascii_boundaries.ttl", + "text": "LITERAL_LONG2_ascii_boundaries '\\x00\\x21\\x23...'" + }, + { + "id": "w3c-turtle-1.1-LITERAL_LONG2_with_1_squote", + "kind": "TestTurtleEval", + "ref": "LITERAL_LONG2_with_1_squote.ttl", + "text": "LITERAL_LONG2 with 1 squote \"\"\"a\"b\"\"\"" + }, + { + "id": "w3c-turtle-1.1-LITERAL_LONG2_with_2_squotes", + "kind": "TestTurtleEval", + "ref": "LITERAL_LONG2_with_2_squotes.ttl", + "text": "LITERAL_LONG2 with 2 squotes \"\"\"a\"\"b\"\"\"" + }, + { + "id": "w3c-turtle-1.1-LITERAL_LONG2_with_REVERSE_SOLIDUS", + "kind": "TestTurtleEval", + "ref": "LITERAL_LONG2_with_REVERSE_SOLIDUS.ttl", + "text": "REVERSE SOLIDUS at end of LITERAL_LONG2" + }, + { + "id": "w3c-turtle-1.1-LITERAL_LONG2_with_UTF8_boundaries", + "kind": "TestTurtleEval", + "ref": "LITERAL_LONG2_with_UTF8_boundaries.ttl", + "text": "LITERAL_LONG2_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" + }, + { + "id": "w3c-turtle-1.1-SPARQL_style_base", + "kind": "TestTurtleEval", + "ref": "SPARQL_style_base.ttl", + "text": "SPARQL-style base" + }, + { + "id": "w3c-turtle-1.1-SPARQL_style_prefix", + "kind": "TestTurtleEval", + "ref": "SPARQL_style_prefix.ttl", + "text": "SPARQL-style prefix" + }, + { + "id": "w3c-turtle-1.1-anonymous_blank_node_object", + "kind": "TestTurtleEval", + "ref": "anonymous_blank_node_object.ttl", + "text": "anonymous blank node object" + }, + { + "id": "w3c-turtle-1.1-anonymous_blank_node_subject", + "kind": "TestTurtleEval", + "ref": "anonymous_blank_node_subject.ttl", + "text": "anonymous blank node subject" + }, + { + "id": "w3c-turtle-1.1-bareword_a_predicate", + "kind": "TestTurtleEval", + "ref": "bareword_a_predicate.ttl", + "text": "bareword a predicate" + }, + { + "id": "w3c-turtle-1.1-bareword_decimal", + "kind": "TestTurtleEval", + "ref": "bareword_decimal.ttl", + "text": "bareword decimal" + }, + { + "id": "w3c-turtle-1.1-bareword_double", + "kind": "TestTurtleEval", + "ref": "bareword_double.ttl", + "text": "bareword double" + }, + { + "id": "w3c-turtle-1.1-bareword_integer", + "kind": "TestTurtleEval", + "ref": "bareword_integer.ttl", + "text": "bareword integer" + }, + { + "id": "w3c-turtle-1.1-blankNodePropertyList_as_object", + "kind": "TestTurtleEval", + "ref": "blankNodePropertyList_as_object.ttl", + "text": "blankNodePropertyList as object

[ … ] ." + }, + { + "id": "w3c-turtle-1.1-blankNodePropertyList_as_subject", + "kind": "TestTurtleEval", + "ref": "blankNodePropertyList_as_subject.ttl", + "text": "blankNodePropertyList as subject [ … ]

." + }, + { + "id": "w3c-turtle-1.1-blankNodePropertyList_containing_collection", + "kind": "TestTurtleEval", + "ref": "blankNodePropertyList_containing_collection.ttl", + "text": "blankNodePropertyList containing collection [ ( … ) ]" + }, + { + "id": "w3c-turtle-1.1-blankNodePropertyList_with_multiple_triples", + "kind": "TestTurtleEval", + "ref": "blankNodePropertyList_with_multiple_triples.ttl", + "text": "blankNodePropertyList with multiple triples [

; ]" + }, + { + "id": "w3c-turtle-1.1-collection_object", + "kind": "TestTurtleEval", + "ref": "collection_object.ttl", + "text": "collection object" + }, + { + "id": "w3c-turtle-1.1-collection_subject", + "kind": "TestTurtleEval", + "ref": "collection_subject.ttl", + "text": "collection subject" + }, + { + "id": "w3c-turtle-1.1-comment_following_PNAME_NS", + "kind": "TestTurtleEval", + "ref": "comment_following_PNAME_NS.ttl", + "text": "comment following PNAME_NS" + }, + { + "id": "w3c-turtle-1.1-comment_following_localName", + "kind": "TestTurtleEval", + "ref": "comment_following_localName.ttl", + "text": "comment following localName" + }, + { + "id": "w3c-turtle-1.1-default_namespace_IRI", + "kind": "TestTurtleEval", + "ref": "default_namespace_IRI.ttl", + "text": "default namespace IRI (:ln)" + }, + { + "id": "w3c-turtle-1.1-double_lower_case_e", + "kind": "TestTurtleEval", + "ref": "double_lower_case_e.ttl", + "text": "double lower case e" + }, + { + "id": "w3c-turtle-1.1-empty_collection", + "kind": "TestTurtleEval", + "ref": "empty_collection.ttl", + "text": "empty collection ()" + }, + { + "id": "w3c-turtle-1.1-first", + "kind": "TestTurtleEval", + "ref": "first.ttl", + "text": "first, not last, non-empty nested collection" + }, + { + "id": "w3c-turtle-1.1-labeled_blank_node_object", + "kind": "TestTurtleEval", + "ref": "labeled_blank_node_object.ttl", + "text": "labeled blank node object" + }, + { + "id": "w3c-turtle-1.1-labeled_blank_node_subject", + "kind": "TestTurtleEval", + "ref": "labeled_blank_node_subject.ttl", + "text": "labeled blank node subject" + }, + { + "id": "w3c-turtle-1.1-labeled_blank_node_with_PN_CHARS_BASE_character_boundaries", + "kind": "TestTurtleEval", + "ref": "labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.ttl", + "text": "labeled blank node with PN_CHARS_BASE character boundaries (_:AZazÀÖØöø...)" + }, + { + "id": "w3c-turtle-1.1-labeled_blank_node_with_leading_digit", + "kind": "TestTurtleEval", + "ref": "labeled_blank_node_with_leading_digit.ttl", + "text": "labeled blank node with_leading_digit (_:0)" + }, + { + "id": "w3c-turtle-1.1-labeled_blank_node_with_leading_underscore", + "kind": "TestTurtleEval", + "ref": "labeled_blank_node_with_leading_underscore.ttl", + "text": "labeled blank node with_leading_underscore (_:_)" + }, + { + "id": "w3c-turtle-1.1-labeled_blank_node_with_non_leading_extras", + "kind": "TestTurtleEval", + "ref": "labeled_blank_node_with_non_leading_extras.ttl", + "text": "labeled blank node with_non_leading_extras (_:a·̀ͯ‿.⁀)" + }, + { + "id": "w3c-turtle-1.1-langtagged_LONG", + "kind": "TestTurtleEval", + "ref": "langtagged_LONG.ttl", + "text": "langtagged LONG \"\"\"x\"\"\"@en" + }, + { + "id": "w3c-turtle-1.1-langtagged_LONG_with_subtag", + "kind": "TestTurtleEval", + "ref": "langtagged_LONG_with_subtag.ttl", + "text": "langtagged LONG with subtag \"\"\"Cheers\"\"\"@en-UK" + }, + { + "id": "w3c-turtle-1.1-langtagged_non_LONG", + "kind": "TestTurtleEval", + "ref": "langtagged_non_LONG.ttl", + "text": "langtagged non-LONG \"x\"@en" + }, + { + "id": "w3c-turtle-1.1-lantag_with_subtag", + "kind": "TestTurtleEval", + "ref": "lantag_with_subtag.ttl", + "text": "lantag with subtag \"x\"@en-us" + }, + { + "id": "w3c-turtle-1.1-last", + "kind": "TestTurtleEval", + "ref": "last.ttl", + "text": "last, not first, non-empty nested collection" + }, + { + "id": "w3c-turtle-1.1-literal_false", + "kind": "TestTurtleEval", + "ref": "literal_false.ttl", + "text": "literal false" + }, + { + "id": "w3c-turtle-1.1-literal_true", + "kind": "TestTurtleEval", + "ref": "literal_true.ttl", + "text": "literal true" + }, + { + "id": "w3c-turtle-1.1-literal_with_BACKSPACE", + "kind": "TestTurtleEval", + "ref": "literal_with_BACKSPACE.ttl", + "text": "literal with BACKSPACE" + }, + { + "id": "w3c-turtle-1.1-literal_with_CARRIAGE_RETURN", + "kind": "TestTurtleEval", + "ref": "literal_with_CARRIAGE_RETURN.ttl", + "text": "literal with CARRIAGE RETURN" + }, + { + "id": "w3c-turtle-1.1-literal_with_CHARACTER_TABULATION", + "kind": "TestTurtleEval", + "ref": "literal_with_CHARACTER_TABULATION.ttl", + "text": "literal with CHARACTER TABULATION" + }, + { + "id": "w3c-turtle-1.1-literal_with_FORM_FEED", + "kind": "TestTurtleEval", + "ref": "literal_with_FORM_FEED.ttl", + "text": "literal with FORM FEED" + }, + { + "id": "w3c-turtle-1.1-literal_with_LINE_FEED", + "kind": "TestTurtleEval", + "ref": "literal_with_LINE_FEED.ttl", + "text": "literal with LINE FEED" + }, + { + "id": "w3c-turtle-1.1-literal_with_REVERSE_SOLIDUS", + "kind": "TestTurtleEval", + "ref": "literal_with_REVERSE_SOLIDUS.ttl", + "text": "literal with REVERSE SOLIDUS" + }, + { + "id": "w3c-turtle-1.1-literal_with_escaped_BACKSPACE", + "kind": "TestTurtleEval", + "ref": "literal_with_escaped_BACKSPACE.ttl", + "text": "literal with escaped BACKSPACE" + }, + { + "id": "w3c-turtle-1.1-literal_with_escaped_CARRIAGE_RETURN", + "kind": "TestTurtleEval", + "ref": "literal_with_escaped_CARRIAGE_RETURN.ttl", + "text": "literal with escaped CARRIAGE RETURN" + }, + { + "id": "w3c-turtle-1.1-literal_with_escaped_CHARACTER_TABULATION", + "kind": "TestTurtleEval", + "ref": "literal_with_escaped_CHARACTER_TABULATION.ttl", + "text": "literal with escaped CHARACTER TABULATION" + }, + { + "id": "w3c-turtle-1.1-literal_with_escaped_FORM_FEED", + "kind": "TestTurtleEval", + "ref": "literal_with_escaped_FORM_FEED.ttl", + "text": "literal with escaped FORM FEED" + }, + { + "id": "w3c-turtle-1.1-literal_with_escaped_LINE_FEED", + "kind": "TestTurtleEval", + "ref": "literal_with_escaped_LINE_FEED.ttl", + "text": "literal with escaped LINE FEED" + }, + { + "id": "w3c-turtle-1.1-literal_with_numeric_escape4", + "kind": "TestTurtleEval", + "ref": "literal_with_numeric_escape4.ttl", + "text": "literal with numeric escape4 \\u" + }, + { + "id": "w3c-turtle-1.1-literal_with_numeric_escape8", + "kind": "TestTurtleEval", + "ref": "literal_with_numeric_escape8.ttl", + "text": "literal with numeric escape8 \\U" + }, + { + "id": "w3c-turtle-1.1-localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries", + "kind": "TestTurtleEval", + "ref": "localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.ttl", + "text": "localName with assigned, NFC-normalized PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" + }, + { + "id": "w3c-turtle-1.1-localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries", + "kind": "TestTurtleEval", + "ref": "localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries.ttl", + "text": "localName with assigned, NFC-normalized, basic-multilingual-plane PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" + }, + { + "id": "w3c-turtle-1.1-localName_with_leading_digit", + "kind": "TestTurtleEval", + "ref": "localName_with_leading_digit.ttl", + "text": "localName with leading digit (p:_)" + }, + { + "id": "w3c-turtle-1.1-localName_with_leading_underscore", + "kind": "TestTurtleEval", + "ref": "localName_with_leading_underscore.ttl", + "text": "localName with leading underscore (p:_)" + }, + { + "id": "w3c-turtle-1.1-localName_with_nfc_PN_CHARS_BASE_character_boundaries", + "kind": "TestTurtleEval", + "ref": "localName_with_nfc_PN_CHARS_BASE_character_boundaries.ttl", + "text": "localName with nfc-normalize PN CHARS BASE character boundaries (p:AZazÀÖØöø...)" + }, + { + "id": "w3c-turtle-1.1-localName_with_non_leading_extras", + "kind": "TestTurtleEval", + "ref": "localName_with_non_leading_extras.ttl", + "text": "localName with_non_leading_extras (_:a·̀ͯ‿.⁀)" + }, + { + "id": "w3c-turtle-1.1-localname_with_COLON", + "kind": "TestTurtleEval", + "ref": "localname_with_COLON.ttl", + "text": "localname with COLON" + }, + { + "id": "w3c-turtle-1.1-negative_numeric", + "kind": "TestTurtleEval", + "ref": "negative_numeric.ttl", + "text": "negative numeric" + }, + { + "id": "w3c-turtle-1.1-nested_blankNodePropertyLists", + "kind": "TestTurtleEval", + "ref": "nested_blankNodePropertyLists.ttl", + "text": "nested blankNodePropertyLists [ [ ] ; ]" + }, + { + "id": "w3c-turtle-1.1-nested_collection", + "kind": "TestTurtleEval", + "ref": "nested_collection.ttl", + "text": "nested collection (())" + }, + { + "id": "w3c-turtle-1.1-number_sign_following_PNAME_NS", + "kind": "TestTurtleEval", + "ref": "number_sign_following_PNAME_NS.ttl", + "text": "number sign following PNAME_NS" + }, + { + "id": "w3c-turtle-1.1-number_sign_following_localName", + "kind": "TestTurtleEval", + "ref": "number_sign_following_localName.ttl", + "text": "number sign following localName" + }, + { + "id": "w3c-turtle-1.1-numeric_with_leading_0", + "kind": "TestTurtleEval", + "ref": "numeric_with_leading_0.ttl", + "text": "numeric with leading 0" + }, + { + "id": "w3c-turtle-1.1-objectList_with_two_objects", + "kind": "TestTurtleEval", + "ref": "objectList_with_two_objects.ttl", + "text": "objectList with two objects … ," + }, + { + "id": "w3c-turtle-1.1-old_style_base", + "kind": "TestTurtleEval", + "ref": "old_style_base.ttl", + "text": "old-style base" + }, + { + "id": "w3c-turtle-1.1-old_style_prefix", + "kind": "TestTurtleEval", + "ref": "old_style_prefix.ttl", + "text": "old-style prefix" + }, + { + "id": "w3c-turtle-1.1-percent_escaped_localName", + "kind": "TestTurtleEval", + "ref": "percent_escaped_localName.ttl", + "text": "percent-escaped local name" + }, + { + "id": "w3c-turtle-1.1-positive_numeric", + "kind": "TestTurtleEval", + "ref": "positive_numeric.ttl", + "text": "positive numeric" + }, + { + "id": "w3c-turtle-1.1-predicateObjectList_with_two_objectLists", + "kind": "TestTurtleEval", + "ref": "predicateObjectList_with_two_objectLists.ttl", + "text": "predicateObjectList with two objectLists … ," + }, + { + "id": "w3c-turtle-1.1-prefix_only_IRI", + "kind": "TestTurtleEval", + "ref": "prefix_only_IRI.ttl", + "text": "prefix-only IRI (p:)" + }, + { + "id": "w3c-turtle-1.1-prefix_reassigned_and_used", + "kind": "TestTurtleEval", + "ref": "prefix_reassigned_and_used.ttl", + "text": "prefix reassigned and used" + }, + { + "id": "w3c-turtle-1.1-prefix_with_PN_CHARS_BASE_character_boundaries", + "kind": "TestTurtleEval", + "ref": "prefix_with_PN_CHARS_BASE_character_boundaries.ttl", + "text": "prefix with PN CHARS BASE character boundaries (prefix: AZazÀÖØöø...:)" + }, + { + "id": "w3c-turtle-1.1-prefix_with_non_leading_extras", + "kind": "TestTurtleEval", + "ref": "prefix_with_non_leading_extras.ttl", + "text": "prefix with_non_leading_extras (_:a·̀ͯ‿.⁀)" + }, + { + "id": "w3c-turtle-1.1-prefixed_IRI_object", + "kind": "TestTurtleEval", + "ref": "prefixed_IRI_object.ttl", + "text": "prefixed IRI object" + }, + { + "id": "w3c-turtle-1.1-prefixed_IRI_predicate", + "kind": "TestTurtleEval", + "ref": "prefixed_IRI_predicate.ttl", + "text": "prefixed IRI predicate" + }, + { + "id": "w3c-turtle-1.1-prefixed_name_datatype", + "kind": "TestTurtleEval", + "ref": "prefixed_name_datatype.ttl", + "text": "prefixed name datatype \"\"^^p:t" + }, + { + "id": "w3c-turtle-1.1-repeated_semis_at_end", + "kind": "TestTurtleEval", + "ref": "repeated_semis_at_end.ttl", + "text": "repeated semis at end

;; ." + }, + { + "id": "w3c-turtle-1.1-repeated_semis_not_at_end", + "kind": "TestTurtleEval", + "ref": "repeated_semis_not_at_end.ttl", + "text": "repeated semis not at end

;;." + }, + { + "id": "w3c-turtle-1.1-reserved_escaped_localName", + "kind": "TestTurtleEval", + "ref": "reserved_escaped_localName.ttl", + "text": "reserved-escaped local name" + }, + { + "id": "w3c-turtle-1.1-sole_blankNodePropertyList", + "kind": "TestTurtleEval", + "ref": "sole_blankNodePropertyList.ttl", + "text": "sole blankNodePropertyList [

] ." + }, + { + "id": "w3c-turtle-1.1-turtle-eval-bad-01", + "kind": "TestTurtleNegativeEval", + "ref": "turtle-eval-bad-01.ttl", + "text": "Bad IRI : good escape, bad charcater (negative evaluation test)" + }, + { + "id": "w3c-turtle-1.1-turtle-eval-bad-02", + "kind": "TestTurtleNegativeEval", + "ref": "turtle-eval-bad-02.ttl", + "text": "Bad IRI : hex 3C is < (negative evaluation test)" + }, + { + "id": "w3c-turtle-1.1-turtle-eval-bad-03", + "kind": "TestTurtleNegativeEval", + "ref": "turtle-eval-bad-03.ttl", + "text": "Bad IRI : hex 3E is (negative evaluation test)" + }, + { + "id": "w3c-turtle-1.1-turtle-eval-bad-04", + "kind": "TestTurtleNegativeEval", + "ref": "turtle-eval-bad-04.ttl", + "text": "Bad IRI : {abc} (negative evaluation test)" + }, + { + "id": "w3c-turtle-1.1-turtle-eval-struct-01", + "kind": "TestTurtleEval", + "ref": "turtle-eval-struct-01.ttl", + "text": "triple with IRIs" + }, + { + "id": "w3c-turtle-1.1-turtle-eval-struct-02", + "kind": "TestTurtleEval", + "ref": "turtle-eval-struct-02.ttl", + "text": "triple with IRIs and embedded whitespace" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-01", + "kind": "TestTurtleEval", + "ref": "turtle-subm-01.ttl", + "text": "Blank subject" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-02", + "kind": "TestTurtleEval", + "ref": "turtle-subm-02.ttl", + "text": "@prefix and qnames" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-03", + "kind": "TestTurtleEval", + "ref": "turtle-subm-03.ttl", + "text": ", operator" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-04", + "kind": "TestTurtleEval", + "ref": "turtle-subm-04.ttl", + "text": "; operator" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-05", + "kind": "TestTurtleEval", + "ref": "turtle-subm-05.ttl", + "text": "empty [] as subject and object" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-06", + "kind": "TestTurtleEval", + "ref": "turtle-subm-06.ttl", + "text": "non-empty [] as subject and object" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-07", + "kind": "TestTurtleEval", + "ref": "turtle-subm-07.ttl", + "text": "'a' as predicate" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-08", + "kind": "TestTurtleEval", + "ref": "turtle-subm-08.ttl", + "text": "simple collection" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-09", + "kind": "TestTurtleEval", + "ref": "turtle-subm-09.ttl", + "text": "empty collection" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-10", + "kind": "TestTurtleEval", + "ref": "turtle-subm-10.ttl", + "text": "integer datatyped literal" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-11", + "kind": "TestTurtleEval", + "ref": "turtle-subm-11.ttl", + "text": "decimal integer canonicalization" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-12", + "kind": "TestTurtleEval", + "ref": "turtle-subm-12.ttl", + "text": "- and _ in names and qnames" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-13", + "kind": "TestTurtleEval", + "ref": "turtle-subm-13.ttl", + "text": "tests for rdf:_ and other qnames starting with _" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-14", + "kind": "TestTurtleEval", + "ref": "turtle-subm-14.ttl", + "text": "bare : allowed" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-15", + "kind": "TestTurtleEval", + "ref": "turtle-subm-15.ttl", + "text": "simple long literal" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-16", + "kind": "TestTurtleEval", + "ref": "turtle-subm-16.ttl", + "text": "long literals with escapes" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-17", + "kind": "TestTurtleEval", + "ref": "turtle-subm-17.ttl", + "text": "floating point number" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-18", + "kind": "TestTurtleEval", + "ref": "turtle-subm-18.ttl", + "text": "empty literals, normal and long variant" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-19", + "kind": "TestTurtleEval", + "ref": "turtle-subm-19.ttl", + "text": "positive integer, decimal and doubles" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-20", + "kind": "TestTurtleEval", + "ref": "turtle-subm-20.ttl", + "text": "negative integer, decimal and doubles" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-21", + "kind": "TestTurtleEval", + "ref": "turtle-subm-21.ttl", + "text": "long literal ending in double quote" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-22", + "kind": "TestTurtleEval", + "ref": "turtle-subm-22.ttl", + "text": "boolean literals" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-23", + "kind": "TestTurtleEval", + "ref": "turtle-subm-23.ttl", + "text": "comments" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-24", + "kind": "TestTurtleEval", + "ref": "turtle-subm-24.ttl", + "text": "no final mewline" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-25", + "kind": "TestTurtleEval", + "ref": "turtle-subm-25.ttl", + "text": "repeating a @prefix changes pname definition" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-26", + "kind": "TestTurtleEval", + "ref": "turtle-subm-26.ttl", + "text": "Variations on decimal canonicalization" + }, + { + "id": "w3c-turtle-1.1-turtle-subm-27", + "kind": "TestTurtleEval", + "ref": "turtle-subm-27.ttl", + "text": "Repeating @base changes base for relative IRI lookup" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-LITERAL2_with_langtag_and_datatype", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-LITERAL2_with_langtag_and_datatype.ttl", + "text": "Bad number format (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-base-01", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-base-01.ttl", + "text": "@base without URI (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-base-02", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-base-02.ttl", + "text": "@base in wrong case (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-base-03", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-base-03.ttl", + "text": "BASE without URI (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-blank-label-dot-end", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-blank-label-dot-end.ttl", + "text": "Blank node label must not end in dot" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-esc-01", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-esc-01.ttl", + "text": "Bad string escape (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-esc-02", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-esc-02.ttl", + "text": "Bad string escape (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-esc-03", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-esc-03.ttl", + "text": "Bad string escape (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-esc-04", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-esc-04.ttl", + "text": "Bad string escape (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-kw-01", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-kw-01.ttl", + "text": "'A' is not a keyword (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-kw-02", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-kw-02.ttl", + "text": "'a' cannot be used as subject (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-kw-03", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-kw-03.ttl", + "text": "'a' cannot be used as object (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-kw-04", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-kw-04.ttl", + "text": "'true' cannot be used as subject (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-kw-05", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-kw-05.ttl", + "text": "'true' cannot be used as object (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-lang-01", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-lang-01.ttl", + "text": "langString with bad lang (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-ln-dash-start", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-ln-dash-start.ttl", + "text": "Local name must not begin with dash" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-ln-escape", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-ln-escape.ttl", + "text": "Bad hex escape in local name" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-ln-escape-start", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-ln-escape-start.ttl", + "text": "Bad hex escape at start of local name" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-missing-ns-dot-end", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-missing-ns-dot-end.ttl", + "text": "Prefix must not end in dot (error in triple, not prefix directive like turtle-syntax-bad-ns-dot-end)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-missing-ns-dot-start", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-missing-ns-dot-start.ttl", + "text": "Prefix must not start with dot (error in triple, not prefix directive like turtle-syntax-bad-ns-dot-end)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-01", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-n3-extras-01.ttl", + "text": "{} fomulae not in Turtle (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-02", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-n3-extras-02.ttl", + "text": "= is not Turtle (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-03", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-n3-extras-03.ttl", + "text": "N3 paths not in Turtle (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-04", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-n3-extras-04.ttl", + "text": "N3 paths not in Turtle (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-05", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-n3-extras-05.ttl", + "text": "N3 is...of not in Turtle (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-06", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-n3-extras-06.ttl", + "text": "N3 paths not in Turtle (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-07", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-n3-extras-07.ttl", + "text": "@keywords is not Turtle (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-08", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-n3-extras-08.ttl", + "text": "@keywords is not Turtle (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-09", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-n3-extras-09.ttl", + "text": "=> is not Turtle (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-10", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-n3-extras-10.ttl", + "text": "<= is not Turtle (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-11", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-n3-extras-11.ttl", + "text": "@forSome is not Turtle (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-12", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-n3-extras-12.ttl", + "text": "@forAll is not Turtle (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-n3-extras-13", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-n3-extras-13.ttl", + "text": "@keywords is not Turtle (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-ns-dot-end", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-ns-dot-end.ttl", + "text": "Prefix must not end in dot" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-ns-dot-start", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-ns-dot-start.ttl", + "text": "Prefix must not start with dot" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-num-01", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-num-01.ttl", + "text": "Bad number format (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-num-02", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-num-02.ttl", + "text": "Bad number format (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-num-03", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-num-03.ttl", + "text": "Bad number format (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-num-04", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-num-04.ttl", + "text": "Bad number format (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-num-05", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-num-05.ttl", + "text": "Bad number format (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-number-dot-in-anon", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-number-dot-in-anon.ttl", + "text": "Dot delimeter may not appear in anonymous nodes" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-pname-01", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-pname-01.ttl", + "text": "'~' must be escaped in pname (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-pname-02", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-pname-02.ttl", + "text": "Bad %-sequence in pname (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-pname-03", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-pname-03.ttl", + "text": "Bad unicode escape in pname (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-prefix-01", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-prefix-01.ttl", + "text": "No prefix (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-prefix-02", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-prefix-02.ttl", + "text": "No prefix (2) (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-prefix-03", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-prefix-03.ttl", + "text": "@prefix without URI (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-prefix-04", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-prefix-04.ttl", + "text": "@prefix without prefix name (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-prefix-05", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-prefix-05.ttl", + "text": "@prefix without ':' (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-string-01", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-string-01.ttl", + "text": "mismatching string literal open/close (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-string-02", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-string-02.ttl", + "text": "mismatching string literal open/close (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-string-03", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-string-03.ttl", + "text": "mismatching string literal long/short (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-string-04", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-string-04.ttl", + "text": "mismatching long string literal open/close (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-string-05", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-string-05.ttl", + "text": "Long literal with missing end (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-string-06", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-string-06.ttl", + "text": "Long literal with extra quote (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-string-07", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-string-07.ttl", + "text": "Long literal with extra squote (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-struct-01", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-struct-01.ttl", + "text": "Turtle is not TriG (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-struct-02", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-struct-02.ttl", + "text": "Turtle is not N3 (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-struct-03", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-struct-03.ttl", + "text": "Turtle is not NQuads (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-struct-04", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-struct-04.ttl", + "text": "Turtle does not allow literals-as-subjects (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-struct-05", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-struct-05.ttl", + "text": "Turtle does not allow literals-as-predicates (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-struct-06", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-struct-06.ttl", + "text": "Turtle does not allow bnodes-as-predicates (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-struct-07", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-struct-07.ttl", + "text": "Turtle does not allow labeled bnodes-as-predicates (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-struct-08", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-struct-08.ttl", + "text": "missing '.' (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-struct-09", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-struct-09.ttl", + "text": "extra '.' (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-struct-10", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-struct-10.ttl", + "text": "extra '.' (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-struct-11", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-struct-11.ttl", + "text": "trailing ';' no '.' (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-struct-12", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-struct-12.ttl", + "text": "subject, predicate, no object (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-struct-13", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-struct-13.ttl", + "text": "subject, predicate, no object (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-struct-14", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-struct-14.ttl", + "text": "literal as subject (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-struct-15", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-struct-15.ttl", + "text": "literal as predicate (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-struct-16", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-struct-16.ttl", + "text": "bnode as predicate (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-struct-17", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-struct-17.ttl", + "text": "labeled bnode as predicate (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-uri-01", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-uri-01.ttl", + "text": "Bad IRI : space (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-uri-02", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-uri-02.ttl", + "text": "Bad IRI : bad escape (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-uri-03", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-uri-03.ttl", + "text": "Bad IRI : bad long escape (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-uri-04", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-uri-04.ttl", + "text": "Bad IRI : character escapes not allowed (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bad-uri-05", + "kind": "TestTurtleNegativeSyntax", + "ref": "turtle-syntax-bad-uri-05.ttl", + "text": "Bad IRI : character escapes not allowed (2) (negative test)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-base-01", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-base-01.ttl", + "text": "@base" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-base-02", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-base-02.ttl", + "text": "BASE" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-base-03", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-base-03.ttl", + "text": "@base with relative IRIs" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-base-04", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-base-04.ttl", + "text": "base with relative IRIs" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-blank-label", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-blank-label.ttl", + "text": "Characters allowed in blank node labels" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bnode-01", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-bnode-01.ttl", + "text": "bnode subject" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bnode-02", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-bnode-02.ttl", + "text": "bnode object" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bnode-03", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-bnode-03.ttl", + "text": "bnode property list object" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bnode-04", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-bnode-04.ttl", + "text": "bnode property list object (2)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bnode-05", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-bnode-05.ttl", + "text": "bnode property list subject" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bnode-06", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-bnode-06.ttl", + "text": "labeled bnode subject" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bnode-07", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-bnode-07.ttl", + "text": "labeled bnode subject and object" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bnode-08", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-bnode-08.ttl", + "text": "bare bnode property list" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bnode-09", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-bnode-09.ttl", + "text": "bnode property list" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-bnode-10", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-bnode-10.ttl", + "text": "mixed bnode property list and triple" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-datatypes-01", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-datatypes-01.ttl", + "text": "xsd:byte literal" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-datatypes-02", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-datatypes-02.ttl", + "text": "integer as xsd:string" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-file-01", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-file-01.ttl", + "text": "Empty file" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-file-02", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-file-02.ttl", + "text": "Only comment" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-file-03", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-file-03.ttl", + "text": "One comment, one empty line" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-kw-01", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-kw-01.ttl", + "text": "boolean literal (true)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-kw-02", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-kw-02.ttl", + "text": "boolean literal (false)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-kw-03", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-kw-03.ttl", + "text": "'a' as keyword" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-lists-01", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-lists-01.ttl", + "text": "empty list" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-lists-02", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-lists-02.ttl", + "text": "mixed list" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-lists-03", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-lists-03.ttl", + "text": "isomorphic list as subject and object" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-lists-04", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-lists-04.ttl", + "text": "lists of lists" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-lists-05", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-lists-05.ttl", + "text": "mixed lists with embedded lists" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-ln-colons", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-ln-colons.ttl", + "text": "Colons in pname local names" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-ln-dots", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-ln-dots.ttl", + "text": "Dots in pname local names" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-ns-dots", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-ns-dots.ttl", + "text": "Dots in namespace names" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-number-01", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-number-01.ttl", + "text": "integer literal" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-number-02", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-number-02.ttl", + "text": "negative integer literal" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-number-03", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-number-03.ttl", + "text": "positive integer literal" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-number-04", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-number-04.ttl", + "text": "decimal literal" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-number-05", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-number-05.ttl", + "text": "decimal literal (no leading digits)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-number-06", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-number-06.ttl", + "text": "negative decimal literal" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-number-07", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-number-07.ttl", + "text": "positive decimal literal" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-number-08", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-number-08.ttl", + "text": "integer literal with decimal lexical confusion" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-number-09", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-number-09.ttl", + "text": "double literal" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-number-10", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-number-10.ttl", + "text": "negative double literal" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-number-11", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-number-11.ttl", + "text": "double literal no fraction" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-pname-esc-01", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-pname-esc-01.ttl", + "text": "pname with back-slash escapes" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-pname-esc-02", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-pname-esc-02.ttl", + "text": "pname with back-slash escapes (2)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-pname-esc-03", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-pname-esc-03.ttl", + "text": "pname with back-slash escapes (3)" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-prefix-01", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-prefix-01.ttl", + "text": "@prefix" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-prefix-02", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-prefix-02.ttl", + "text": "PreFIX" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-prefix-03", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-prefix-03.ttl", + "text": "Empty PREFIX" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-prefix-04", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-prefix-04.ttl", + "text": "Empty @prefix with % escape" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-prefix-05", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-prefix-05.ttl", + "text": "@prefix with no suffix" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-prefix-06", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-prefix-06.ttl", + "text": "colon is a legal pname character" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-prefix-07", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-prefix-07.ttl", + "text": "dash is a legal pname character" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-prefix-08", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-prefix-08.ttl", + "text": "underscore is a legal pname character" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-prefix-09", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-prefix-09.ttl", + "text": "percents in pnames" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-str-esc-01", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-str-esc-01.ttl", + "text": "string literal with escaped newline" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-str-esc-02", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-str-esc-02.ttl", + "text": "string literal with Unicode escape" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-str-esc-03", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-str-esc-03.ttl", + "text": "string literal with long Unicode escape" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-string-01", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-string-01.ttl", + "text": "string literal" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-string-02", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-string-02.ttl", + "text": "langString literal" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-string-03", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-string-03.ttl", + "text": "langString literal with region" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-string-04", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-string-04.ttl", + "text": "squote string literal" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-string-05", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-string-05.ttl", + "text": "squote langString literal" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-string-06", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-string-06.ttl", + "text": "squote langString literal with region" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-string-07", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-string-07.ttl", + "text": "long string literal with embedded single- and double-quotes" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-string-08", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-string-08.ttl", + "text": "long string literal with embedded newline" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-string-09", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-string-09.ttl", + "text": "squote long string literal with embedded single- and double-quotes" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-string-10", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-string-10.ttl", + "text": "long langString literal with embedded newline" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-string-11", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-string-11.ttl", + "text": "squote long langString literal with embedded newline" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-struct-01", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-struct-01.ttl", + "text": "object list" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-struct-02", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-struct-02.ttl", + "text": "predicate list with object list" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-struct-03", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-struct-03.ttl", + "text": "predicate list with object list and dangling ';'" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-struct-04", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-struct-04.ttl", + "text": "predicate list with multiple ;;" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-struct-05", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-struct-05.ttl", + "text": "predicate list with multiple ;;" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-uri-01", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-uri-01.ttl", + "text": "Only IRIs" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-uri-02", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-uri-02.ttl", + "text": "IRIs with Unicode escape" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-uri-03", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-uri-03.ttl", + "text": "IRIs with long Unicode escape" + }, + { + "id": "w3c-turtle-1.1-turtle-syntax-uri-04", + "kind": "TestTurtlePositiveSyntax", + "ref": "turtle-syntax-uri-04.ttl", + "text": "Legal IRIs" + }, + { + "id": "w3c-turtle-1.1-two_LITERAL_LONG2s", + "kind": "TestTurtleEval", + "ref": "two_LITERAL_LONG2s.ttl", + "text": "two LITERAL_LONG2s testing quote delimiter overrun" + }, + { + "id": "w3c-turtle-1.1-underscore_in_localName", + "kind": "TestTurtleEval", + "ref": "underscore_in_localName.ttl", + "text": "underscore in local name" + } + ], "wai-aria-1.2": [ { "id": "wai-aria-1.2-aria-activedescendant", diff --git a/tools/guests/gen.py b/tools/guests/gen.py index d0a4a1fe..6267f969 100644 --- a/tools/guests/gen.py +++ b/tools/guests/gen.py @@ -45,7 +45,7 @@ def vectors(g): """The acceptance vectors: the prompt's examples, or a raw-request spec's.""" v = g["vectors"] if v.startswith("spec:"): - return [tuple(e) for e in json.loads((APP / f"specs/{v[5:]}/spec.json").read_text())["examples"]] + return [tuple(e) for p in v[5:].split("+") for e in json.loads((APP / f"specs/{p}/spec.json").read_text())["examples"]] return [(e["request"], e["response"]) for e in json.loads((APP / f"prompts/{v}.prompt.json").read_text())["app"]["examples"]]