rdf('http://example.org/basket', 'http://example.org/stuff/1.0/hasFruit', '_:List1').
rdf('#l1', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement').
rdf('#l1', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#subject', 'http://example.org/basket').
rdf('#l1', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate', 'http://example.org/stuff/1.0/hasFruit').
rdf('#l1', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#object', '_:List1').
rdf('_:List1', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#List').
rdf('_:List1', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#first', 'http://example.org/banana').
rdf('_:List1', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#rest', '_:List2').
rdf('_:List2', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#List').
rdf('_:List2', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#first', 'http://example.org/apple').
rdf('_:List2', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#rest', '_:List3').
rdf('_:List3', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#List').
rdf('_:List3', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#first', 'http://example.org/pear').
rdf('_:List3', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#rest', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#nil').
