15 lines
1.4 KiB
Plaintext
15 lines
1.4 KiB
Plaintext
|
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').
|