<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example.org/isA> <http://example.org/List> .
_:genid1 <http://example.org/isA> <http://example.org/Blank> .
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example.org/sameAs> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
_:genid2 <http://example.org/sameAs> _:genid3 .
_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid5 .
_:genid5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "banana" .
_:genid5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid6 .
_:genid6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "pear" .
_:genid6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/List> .
_:genid7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid8 .
_:genid8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example.org/a> .
_:genid8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid9 .
_:genid9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example.org/b> .
_:genid9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
_:genid7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid10 .
_:genid10 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid11 .
_:genid11 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example.org/c> .
_:genid11 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid12 .
_:genid12 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example.org/d> .
_:genid12 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
_:genid10 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
_:genid7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/List> .
_:genid13 <http://example.org/list> _:genid14 .
_:genid14 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
_:genid14 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid15 .
_:genid15 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "banana" .
_:genid15 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid16 .
_:genid16 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "pear" .
_:genid16 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
_:genid17 <http://example.org/a> <http://example.org/b> .
_:genid17 <http://example.org/a> <http://example.org/c> .
_:genid17 <http://example.org/a> <http://example.org/d> .
_:genid18 <http://example.org/a> _:genid19 .
_:genid19 <http://example.org/b> <http://example.org/c> .
_:genid19 <http://example.org/d> <http://example.org/e> .
_:genid18 <http://example.org/a> _:genid20 .
_:genid20 <http://example.org/f> <http://example.org/g> .
_:genid21 <http://example.org/list> _:genid22 .
_:genid22 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid23 .
_:genid23 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Apple> .
_:genid22 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid24 .
_:genid24 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid25 .
_:genid25 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Banana> .
_:genid24 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .