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;

<
p
2
>

<
o
2
>

.
r
e
p
e
a
t
e
d

s
e
m
i
s

n
o
t

a
t

e
n
d

<
s
>

<
p
>

<
o
>

;
;
.
tests/IRI_subject.ttl111 1 1
tests/IRI_with_four_digit_numeric_escape.ttl1111 1 1
tests/IRI_with_eight_digit_numeric_escape.ttl111 1 1 1
tests/IRI_with_all_punctuation.ttl111 1 1 1
tests/bareword_a_predicate.ttl1 1 1 1 1
tests/old_style_prefix.ttl 11 1 1 11 1 1
tests/SPARQL_style_prefix.ttl 11 1 1 11 1 1
tests/prefixed_IRI_predicate.ttl1 1 1 1 11 1 1
tests/prefixed_IRI_object.ttl11 1 1 11 1 1
tests/prefix_only_IRI.ttl 11 1 1 1 1
tests/default_namespace_IRI.ttl 11 1 1 1 1
tests/prefix_reassigned_and_used.ttl 11 2 1 111 1 1
tests/reserved_escaped_local_name.ttl 11 1 1 11 11 1 1
tests/percent_escaped_local_name.ttl 11 1 1 11 1 1 1
tests/HYPHEN_MINUS_in_local_name.ttl 11 1 1 11 1 1 1
tests/underscore_in_local_name.ttl 11 1 1 11 11 1
tests/localname_with_COLON.ttl 11 1 1 11 1 1
tests/old_style_base.ttl111 1 1
tests/SPARQL_style_base.ttl111 1 1
tests/labeled_blank_node_subject.ttl 11 1 11
tests/labeled_blank_node_object.ttl11 1 1 1
tests/anonymous_blank_node_subject.ttl 11 1 1 1
tests/anonymous_blank_node_object.ttl11 1 1 1
tests/sole_blankNodePropertyList.ttl 11 1 1 1 1
tests/blankNodePropertyList_as_subject.ttl 22 1 1 1 1
tests/blankNodePropertyList_as_object.ttl122 1 1 1 1
tests/blankNodePropertyList_with_multiple_triples.ttl 33 1 1 1 1 1
tests/nested_blankNodePropertyLists.ttl 33 1 1 2 1 11 1
tests/blankNodePropertyList_containing_collection.ttl 1 1 1 1 1 1 1 1 1
tests/collection_subject.ttl 11 1 1 1 1 1
tests/collection_object.ttl11 1 1 1 1 1
tests/empty_collection.ttl11 1 1 11
tests/nested_collection.ttl11 1 1 2 21 1
tests/first.ttl11 1 1 2 211 2
tests/last.ttl11 1 1 2 21 1 2
tests/LITERAL1.ttl11 1 1 1
tests/LITERAL_LONG1.ttl11 1 1 1
tests/LITERAL_LONG1_with_1_squote.ttl11 1 1 11
tests/LITERAL_LONG1_with_2_squotes.ttl11 1 1 111
tests/LITERAL2.ttl11 1 1 1
tests/LITERAL_LONG2.ttl11 1 1 1
tests/LITERAL_LONG2_with_1_squote.ttl11 1 1 11
tests/LITERAL_LONG2_with_2_squotes.ttl11 1 1 111
tests/literal_with_CHARACTER_TABULATION.ttl11 1 1 1 1
tests/literal_with_BACKSPACE.ttl11 1 1 1 1
tests/literal_with_LINE_FEED.ttl11 1 1 1 1
tests/literal_with_CARRIAGE_RETURN.ttl11 1 1 1 1
tests/literal_with_FORM_FEED.ttl11 1 1 1 1
tests/literal_with_REVERSE_SOLIDUS.ttl11 1 1 1 1 1
tests/literal_with_escaped_CHARACTER_TABULATION.ttl11 1 1 1 11
tests/literal_with_escaped_BACKSPACE.ttl11 1 1 1 1 1
tests/literal_with_escaped_LINE_FEED.ttl11 1 1 1 1 1
tests/literal_with_escaped_CARRIAGE_RETURN.ttl11 1 1 1 1 1
tests/literal_with_escaped_FORM_FEED.ttl11 1 1 1 1 1
tests/literal_with_numeric_escape4.ttl11 1 1 1 1 1
tests/literal_with_numeric_escape8.ttl11 1 1 1 1 1
tests/IRIREF_datatype.ttl111 1 1 1 1
tests/prefixed_name_datatype.ttl11 1 1 11 1 1 1 1
tests/bareword_integer.ttl11 1 1 1
tests/bareword_decimal.ttl11 1 1 1
tests/bareword_double.ttl11 1 1 11
tests/double_lower_case_e.ttl11 1 1 1 1
tests/negative_numeric.ttl11 1 1 1 1
tests/positive_numeric.ttl11 1 1 1 1
tests/numeric_with_leading_0.ttl11 1 1 1 1
tests/literal_true.ttl11 1 1 1
tests/literal_false.ttl11 1 1 1
tests/langtagged_non_LONG.ttl11 1 1 1 1
tests/langtagged_LONG.ttl11 1 1 1 1
tests/lantag_with_subtag.ttl11 1 1 1 1 1
tests/objectList_with_two_objects.ttl112 1 1 1
tests/predicateObjectList_with_two_objectLists.ttl122 1 1 1
tests/repeated_semis_at_end.ttl122 1 1 11
tests/repeated_semis_not_at_end.ttl111 1 1 1
74568040111113161101211211112111111721111522321119193111252154211111181111111111121211111112111411

missing features

redundant tests

Facets

IRI subject

<http://a.example/s> <http://a.example/p> <http://a.example/o> .
<http://a.example/s> <http://a.example/p> <http://a.example/o> .

IRI predicate

<http://a.example/s> <http://a.example/p> <http://a.example/o> .
<http://a.example/s> <http://a.example/p> <http://a.example/o> .

IRI object

<http://a.example/s> <http://a.example/p> <http://a.example/o> .
<http://a.example/s> <http://a.example/p> <http://a.example/o> .

IRI with four digit numeric escape (\\u)

<http://a.example/\u0073> <http://a.example/p> <http://a.example/o> .
<http://a.example/s> <http://a.example/p> <http://a.example/o> .

IRI with eight digit numeric escape (\\U)

<http://a.example/\U00000073> <http://a.example/p> <http://a.example/o> .
<http://a.example/s> <http://a.example/p> <http://a.example/o> .

IRI with all punctuation

<scheme:!$%25&amp;'()*+,-./0123456789:/@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~?#> <http://a.example/p> <http://a.example/o> .
<scheme:!$%25&amp;'()*+,-./0123456789:/@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~?#> <http://a.example/p> <http://a.example/o> .

bareword a predicate

<http://a.example/s> a <http://a.example/o> .
<http://a.example/s> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://a.example/o> .

old-style prefix

@prefix p: <http://a.example/>.
p:s <http://a.example/p> <http://a.example/o> .
<http://a.example/s> <http://a.example/p> <http://a.example/o> .

SPARQL-style prefix

PREFIX p: <http://a.example/>
p:s <http://a.example/p> <http://a.example/o> .
<http://a.example/s> <http://a.example/p> <http://a.example/o> .

no prefix

<http://a.example/s> <http://a.example/p> <http://a.example/o> .
<http://a.example/s> <http://a.example/p> <http://a.example/o> .

prefixed IRI subject

@prefix p: <http://a.example/>.
p:s <http://a.example/p> <http://a.example/o> .
<http://a.example/s> <http://a.example/p> <http://a.example/o> .

prefixed IRI predicate

@prefix p: <http://a.example/>.
<http://a.example/s> p:p <http://a.example/o> .
<http://a.example/s> <http://a.example/p> <http://a.example/o> .

prefixed IRI object

@prefix p: <http://a.example/>.
<http://a.example/s> <http://a.example/p> p:o .
<http://a.example/s> <http://a.example/p> <http://a.example/o> .

prefix-only IRI (p:)

@prefix p: <http://a.example/s>.
p: <http://a.example/p> <http://a.example/o> .
<http://a.example/s> <http://a.example/p> <http://a.example/o> .

default namespace IRI (:ln)

@prefix : <http://a.example/>.
:s <http://a.example/p> <http://a.example/o> .
<http://a.example/s> <http://a.example/p> <http://a.example/o> .

prefix and localname IRI (p:ln)

@prefix p: <http://a.example/>.
p:s <http://a.example/p> <http://a.example/o> .
<http://a.example/s> <http://a.example/p> <http://a.example/o> .

prefix reassigned and used

@prefix p: <http://a.example/>.
@prefix p: <http://b.example/>.
p:s <http://a.example/p> <http://a.example/o> .
<http://b.example/s> <http://a.example/p> <http://a.example/o> .

reserved-escaped local name

@prefix p: <http://a.example/>.
p:\%00 <http://a.example/p> <http://a.example/o> .
<http://a.example/%00> <http://a.example/p> <http://a.example/o> .

percent-escaped local name

@prefix p: <http://a.example/>.
p:%25 <http://a.example/p> <http://a.example/o> .
<http://a.example/%25> <http://a.example/p> <http://a.example/o> .

HYPHEN-MINUS in local name

@prefix p: <http://a.example/>.
p:s- <http://a.example/p> <http://a.example/o> .
<http://a.example/s-> <http://a.example/p> <http://a.example/o> .

underscore in local name

@prefix p: <http://a.example/>.
p:s_ <http://a.example/p> <http://a.example/o> .
<http://a.example/s_> <http://a.example/p> <http://a.example/o> .

localname with COLON

@prefix p: <http://a.example/>.
p:s: <http://a.example/p> <http://a.example/o> .
<http://a.example/s:> <http://a.example/p> <http://a.example/o> .

old-style base

@base <http://a.example/>.
<s> <http://a.example/p> <http://a.example/o> .
<http://a.example/s> <http://a.example/p> <http://a.example/o> .

SPARQL-style base

BASE <http://a.example/>
<s> <http://a.example/p> <http://a.example/o> .
<http://a.example/s> <http://a.example/p> <http://a.example/o> .

no base

<http://a.example/s> <http://a.example/p> <http://a.example/o> .
<http://a.example/s> <http://a.example/p> <http://a.example/o> .

labeled blank node subject

_:s <http://a.example/p> <http://a.example/o> .
_:b1 <http://a.example/p> <http://a.example/o> .

labeled blank node object

<http://a.example/s> <http://a.example/p> _:o .
<http://a.example/s> <http://a.example/p> _:b1 .

anonymous blank node subject

[] <http://a.example/p> <http://a.example/o> .
_:b1 <http://a.example/p> <http://a.example/o> .

anonymous blank node object

<http://a.example/s> <http://a.example/p> [] .
<http://a.example/s> <http://a.example/p> _:b1 .

sole blankNodePropertyList [ <p> <o> ] .

[ <http://a.example/p> <http://a.example/o> ] .
_:b1 <http://a.example/p> <http://a.example/o> .

blankNodePropertyList as subject [ … ] <p> <o> .

[ <http://a.example/p> <http://a.example/o> ] <http://a.example/p2> <http://a.example/o2> .
_:b1 <http://a.example/p> <http://a.example/o>.
_:b1 <http://a.example/p2> <http://a.example/o2> .

blankNodePropertyList as object <s> <p> [ … ] .

<http://a.example/s> <http://a.example/p> [ <http://a.example/p2> <http://a.example/o2> ] .
<http://a.example/s> <http://a.example/p> _:b1 .
_:b1 <http://a.example/p2> <http://a.example/o2> .

blankNodePropertyList with sole triple [ <s> <p> ]

[ <http://a.example/p> <http://a.example/o> ] .
_:b1 <http://a.example/p> <http://a.example/o> .

blankNodePropertyList with multiple triples [ <s> <p> ; <s2> <p2> ]

[ <http://a.example/p1> <http://a.example/o1> ; <http://a.example/p2> <http://a.example/o2> ] <http://a.example/p> <http://a.example/o> .
_:b1 <http://a.example/p1> <http://a.example/o1> .
_:b1 <http://a.example/p2> <http://a.example/o2>
._:b1 <http://a.example/p> <http://a.example/o> .

nested blankNodePropertyLists [ <p1> [ <p2> <o2> ] ; <p3> <o3> ]

[ <http://a.example/p1> [ <http://a.example/p2> <http://a.example/o2> ] ; <http://a.example/p> <http://a.example/o> ].
_:b1 <http://a.example/p1> _:b2 .
_:b2 <http://a.example/p2> <http://a.example/o2> .
_:b1 <http://a.example/p> <http://a.example/o> .

blankNodePropertyList containing collection [ <p1> ( … ) ]

[ <http://a.example/p1> (1) ] .
_:b1 <http://a.example/p1> _:el1 .
_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .

collection subject

(1) <http://a.example/p> <http://a.example/o> .
_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
_:el1 <http://a.example/p> <http://a.example/o> .

collection object

<http://a.example/s> <http://a.example/p> (1) .
<http://a.example/s> <http://a.example/p> _:el1 .
_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .

empty collection ()

<http://a.example/s> <http://a.example/p> () .
<http://a.example/s> <http://a.example/p> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .

non-empty collection (1)

<http://a.example/s> <http://a.example/p> (1) .
<http://a.example/s> <http://a.example/p> _:el1 .
_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .

nested collection (())

<http://a.example/s> <http://a.example/p> ((1)) .
<http://a.example/s> <http://a.example/p> _:outerEl1 .
_:outerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:innerEl1 .
_:innerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
_:innerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
_:outerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .

first, not last, non-empty nested collection

<http://a.example/s> <http://a.example/p> ((1) 2) .
<http://a.example/s> <http://a.example/p> _:outerEl1 .
_:outerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:innerEl1 .
_:innerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
_:innerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
_:outerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:outerEl2 .
_:outerEl2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .
_:outerEl2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .

last, not first, non-empty nested collection

<http://a.example/s> <http://a.example/p> (1 (2)) .
<http://a.example/s> <http://a.example/p> _:outerEl1 .
_:outerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
_:outerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:outerEl2 .
_:outerEl2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:innerEl1 .
_:innerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .
_:innerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
_:outerEl2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .

LITERAL1 'x'

<http://a.example/s> <http://a.example/p> 'x' .
<http://a.example/s> <http://a.example/p> "x" .

LITERAL_LONG1 '''x'''

<http://a.example/s> <http://a.example/p> '''x''' .
<http://a.example/s> <http://a.example/p> "x" .

LITERAL_LONG1 with 1 squote '''a'b'''

<http://a.example/s> <http://a.example/p> '''x'y''' .
<http://a.example/s> <http://a.example/p> "x'y" .

LITERAL_LONG1 with 2 squotes '''a''b'''

<http://a.example/s> <http://a.example/p> '''x''y''' .
<http://a.example/s> <http://a.example/p> "x''y" .

LITERAL2 \"x\"

<http://a.example/s> <http://a.example/p> "x" .
<http://a.example/s> <http://a.example/p> "x" .

LITERAL_LONG2 \"\"\"x\"\"\"

<http://a.example/s> <http://a.example/p> """x""" .
<http://a.example/s> <http://a.example/p> "x" .

LITERAL_LONG2 with 1 squote \"\"\"a\"b\"\"\"

<http://a.example/s> <http://a.example/p> """x"y""" .
<http://a.example/s> <http://a.example/p> "x\"y" .

LITERAL_LONG2 with 2 squotes \"\"\"a\"\"b\"\"\"

<http://a.example/s> <http://a.example/p> """x""y""" .
<http://a.example/s> <http://a.example/p> "x\"\"y" .

literal with CHARACTER TABULATION

<http://a.example/s> <http://a.example/p> '	' .
<http://a.example/s> <http://a.example/p> "\t" .

literal with BACKSPACE

<http://a.example/s> <http://a.example/p> '' .
<http://a.example/s> <http://a.example/p> "\u0008" .

literal with LINE FEED

<http://a.example/s> <http://a.example/p> '''
''' .
<http://a.example/s> <http://a.example/p> "\n" .

literal with CARRIAGE RETURN

<http://a.example/s> <http://a.example/p> '''
''' .
<http://a.example/s> <http://a.example/p> "\r" .

literal with FORM FEED

<http://a.example/s> <http://a.example/p> '' .
<http://a.example/s> <http://a.example/p> "\u000C" .

literal with REVERSE SOLIDUS

<http://a.example/s> <http://a.example/p> '\\' .
<http://a.example/s> <http://a.example/p> "\\" .

literal with escaped CHARACTER TABULATION

<http://a.example/s> <http://a.example/p> '\t' .
<http://a.example/s> <http://a.example/p> "\t" .

literal with escaped BACKSPACE

<http://a.example/s> <http://a.example/p> '\b' .
<http://a.example/s> <http://a.example/p> "\u0008" .

literal with escaped LINE FEED

<http://a.example/s> <http://a.example/p> '\n' .
<http://a.example/s> <http://a.example/p> "\n" .

literal with escaped CARRIAGE RETURN

<http://a.example/s> <http://a.example/p> '\r' .
<http://a.example/s> <http://a.example/p> "\r" .

literal with escaped FORM FEED

<http://a.example/s> <http://a.example/p> '\f' .
<http://a.example/s> <http://a.example/p> "\u000C" .

literal with escaped REVERSE SOLIDUS

<http://a.example/s> <http://a.example/p> '\\' .
<http://a.example/s> <http://a.example/p> "\\" .

literal with numeric escape4 \\u

<http://a.example/s> <http://a.example/p> '\u006F' .
<http://a.example/s> <http://a.example/p> "o" .

literal with numeric escape8 \\U

<http://a.example/s> <http://a.example/p> '\U0000006F' .
<http://a.example/s> <http://a.example/p> "o" .

IRIREF datatype \"\"^^<t>

<http://a.example/s> <http://a.example/p> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
<http://a.example/s> <http://a.example/p> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .

prefixed name datatype \"\"^^p:t

@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://a.example/s> <http://a.example/p> "1"^^xsd:integer .
<http://a.example/s> <http://a.example/p> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .

bareword integer

<http://a.example/s> <http://a.example/p> 1 .
<http://a.example/s> <http://a.example/p> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .

bareword decimal

<http://a.example/s> <http://a.example/p> 1.0 .
<http://a.example/s> <http://a.example/p> "1.0"^^<http://www.w3.org/2001/XMLSchema#decimal> .

bareword double

<http://a.example/s> <http://a.example/p> 1E0 .
<http://a.example/s> <http://a.example/p> "1E0"^^<http://www.w3.org/2001/XMLSchema#double> .

double upper case E

<http://a.example/s> <http://a.example/p> 1E0 .
<http://a.example/s> <http://a.example/p> "1E0"^^<http://www.w3.org/2001/XMLSchema#double> .

double lower case e

<http://a.example/s> <http://a.example/p> 1e0 .
<http://a.example/s> <http://a.example/p> "1e0"^^<http://www.w3.org/2001/XMLSchema#double> .

negative numeric

<http://a.example/s> <http://a.example/p> -1 .
<http://a.example/s> <http://a.example/p> "-1"^^<http://www.w3.org/2001/XMLSchema#integer> .

positive numeric

<http://a.example/s> <http://a.example/p> +1 .
<http://a.example/s> <http://a.example/p> "+1"^^<http://www.w3.org/2001/XMLSchema#integer> .

numeric with leading 0

<http://a.example/s> <http://a.example/p> 01 .
<http://a.example/s> <http://a.example/p> "01"^^<http://www.w3.org/2001/XMLSchema#integer> .

literal true

<http://a.example/s> <http://a.example/p> true .
<http://a.example/s> <http://a.example/p> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .

literal false

<http://a.example/s> <http://a.example/p> false .
<http://a.example/s> <http://a.example/p> "false"^^<http://www.w3.org/2001/XMLSchema#boolean> .

langtagged non-LONG \"x\"@en

<http://a.example/s> <http://a.example/p> "chat"@en .
<http://a.example/s> <http://a.example/p> "chat"@en .

langtagged LONG \"\"\"x\"\"\"@en

<http://a.example/s> <http://a.example/p> """chat"""@en .
<http://a.example/s> <http://a.example/p> "chat"@en .

lantag with subtag \"x\"@en-us

<http://a.example/s> <http://a.example/p> "chat"@en-us .
<http://a.example/s> <http://a.example/p> "chat"@en-us .

objectList with two objects … <o1>,<o2>

<http://a.example/s> <http://a.example/p> <http://a.example/o1>, <http://a.example/o2> .
<http://a.example/s> <http://a.example/p> <http://a.example/o1> .
<http://a.example/s> <http://a.example/p> <http://a.example/o2> .

predicateObjectList with two objectLists … <o1>,<o2>

<http://a.example/s> <http://a.example/p1> <http://a.example/o1>; <http://a.example/p2> <http://a.example/o2> .
<http://a.example/s> <http://a.example/p1> <http://a.example/o1> .
<http://a.example/s> <http://a.example/p2> <http://a.example/o2> .

repeated semis at end <s> <p> <o> ;; <p2> <o2> .

<http://a.example/s> <http://a.example/p1> <http://a.example/o1>;; <http://a.example/p2> <http://a.example/o2> .
<http://a.example/s> <http://a.example/p1> <http://a.example/o1> .
<http://a.example/s> <http://a.example/p2> <http://a.example/o2> .

repeated semis not at end <s> <p> <o> ;;.

<http://a.example/s> <http://a.example/p1> <http://a.example/o1>;; .
<http://a.example/s> <http://a.example/p1> <http://a.example/o1> .