This example is part of the RAP - Rdf API for PHP documentation.
|
|
Output:
Model 1|
Base URI: http://www.bizer.de# |
Size: 3 | ||
|
No. |
Subject |
Predicate |
Object |
|
1. |
Resource: http://www.bizer.de/welcome.ht |
Resource: http://purl.org/dc/elements/1. |
Resource: mailto:chris@bizer.de |
|
2. |
Resource: http://www.bizer.de/welcome.ht |
Resource: http://www.example.org/terms/c |
Literal: August 16, 2002 |
|
3. |
Resource: http://www.bizer.de/welcome.ht |
Resource: http://www.example.org/terms/l |
Literal: Deutsch (xml:lang="de") |
|
Base URI: http://www.bizer.de/zwei# |
Size: 3 | ||
|
No. |
Subject |
Predicate |
Object |
|
1. |
Resource: http://www.bizer.de/welcome.ht |
Resource: http://purl.org/dc/elements/1. |
Resource: mailto:chris@bizer.de |
|
2. |
Resource: http://www.bizer.de/welcome.ht |
Resource: http://www.example.org/terms/c |
Literal: August 16, 2002 |
|
3. |
Resource: mailto:chris@bizer.de |
Resource: http://www.example.org/terms/N |
Literal: Chris Bizer |
|
|
Output:
Test: Model 2 contains any statements from model 1 :1
Test: Model 1 contains any statements from model 2 :1
Test: Model 2 contains all statements from model 1 :
Test: Model 1 contains all statements from model 2 :
Test: Model 1 equals model 2 :
|
|
Output:
|
Base URI: http://www.bizer.de# |
Size: 4 | ||
|
No. |
Subject |
Predicate |
Object |
|
1. |
Resource: http://www.bizer.de/welcome.ht |
Resource: http://purl.org/dc/elements/1. |
Resource: mailto:chris@bizer.de |
|
2. |
Resource: http://www.bizer.de/welcome.ht |
Resource: http://www.example.org/terms/c |
Literal: August 16, 2002 |
|
3. |
Resource: http://www.bizer.de/welcome.ht |
Resource: http://www.example.org/terms/l |
Literal: Deutsch (xml:lang="de") |
|
4. |
Resource: mailto:chris@bizer.de |
Resource: http://www.example.org/terms/N |
Literal: Chris Bizer |
|
|
Output:
|
Base URI: http://www.bizer.de# |
Size: 2 | ||
|
No. |
Subject |
Predicate |
Object |
|
1. |
Resource: http://www.bizer.de/welcome.ht |
Resource: http://purl.org/dc/elements/1. |
Resource: mailto:chris@bizer.de |
|
2. |
Resource: http://www.bizer.de/welcome.ht |
Resource: http://www.example.org/terms/c |
Literal: August 16, 2002 |
|
|
Output:
|
Base URI: http://www.bizer.de# |
Size: 1 | ||
|
No. |
Subject |
Predicate |
Object |
|
1. |
Resource: http://www.bizer.de/welcome.ht |
Resource: http://www.example.org/terms/l |
Literal: Deutsch (xml:lang="de") |
|
|
Output:
|
Base URI: http://www.bizer.de# |
Size: 12 | ||
|
No. |
Subject |
Predicate |
Object |
|
1. |
Blank Node: bNode1 |
RDF NS Node:
http://www.w3.org/1999/02/2 |
RDF NS Node:
http://www.w3.org/1999/02/2 |
|
2. |
Blank Node: bNode1 |
RDF NS Node:
http://www.w3.org/1999/02/2 |
Resource: http://www.bizer.de/welcome.ht |
|
3. |
Blank Node: bNode1 |
RDF NS Node:
http://www.w3.org/1999/02/2 |
Resource: http://purl.org/dc/elements/1. |
|
4. |
Blank Node: bNode1 |
RDF NS Node:
http://www.w3.org/1999/02/2 |
Resource: mailto:chris@bizer.de |
|
5. |
Blank Node: bNode2 |
RDF NS Node:
http://www.w3.org/1999/02/2 |
RDF NS Node:
http://www.w3.org/1999/02/2 |
|
6. |
Blank Node: bNode2 |
RDF NS Node:
http://www.w3.org/1999/02/2 |
Resource: http://www.bizer.de/welcome.ht |
|
7. |
Blank Node: bNode2 |
RDF NS Node:
http://www.w3.org/1999/02/2 |
Resource: http://www.example.org/terms/c |
|
8. |
Blank Node: bNode2 |
RDF NS Node:
http://www.w3.org/1999/02/2 |
Literal: August 16, 2002 |
|
9. |
Blank Node: bNode3 |
RDF NS Node:
http://www.w3.org/1999/02/2 |
RDF NS Node:
http://www.w3.org/1999/02/2 |
|
10. |
Blank Node: bNode3 |
RDF NS Node:
http://www.w3.org/1999/02/2 |
Resource: http://www.bizer.de/welcome.ht |
|
11. |
Blank Node: bNode3 |
RDF NS Node:
http://www.w3.org/1999/02/2 |
Resource: http://www.example.org/terms/l |
|
12. |
Blank Node: bNode3 |
RDF NS Node:
http://www.w3.org/1999/02/2 |
Literal: Deutsch
(xml:lang="de") |