@@ -8,27 +8,26 @@ php-json-ld
8
8
Introduction
9
9
------------
10
10
11
- JSON, as specified in RFC4627, is a simple language for representing
11
+ This library is an implementation of the [ JSON-LD] [ ] specification in [ PHP] [ ] .
12
+
13
+ JSON, as specified in [ RFC7159] [ ] , is a simple language for representing
12
14
objects on the Web. Linked Data is a way of describing content across
13
15
different documents or Web sites. Web resources are described using
14
16
IRIs, and typically are dereferencable entities that may be used to find
15
- more information, creating a "Web of Knowledge". JSON-LD is intended to
16
- be a simple publishing method for expressing not only Linked Data in
17
+ more information, creating a "Web of Knowledge". [ JSON-LD] [ ] is intended
18
+ to be a simple publishing method for expressing not only Linked Data in
17
19
JSON, but for adding semantics to existing JSON.
18
20
19
- This library is an implementation of the [ JSON-LD] specification
20
- in [ PHP] .
21
-
22
21
JSON-LD is designed as a light-weight syntax that can be used to express
23
22
Linked Data. It is primarily intended to be a way to express Linked Data
24
- in Javascript and other Web-based programming environments. It is also
23
+ in JavaScript and other Web-based programming environments. It is also
25
24
useful when building interoperable Web Services and when storing Linked
26
25
Data in JSON-based document storage engines. It is practical and
27
26
designed to be as simple as possible, utilizing the large number of JSON
28
27
parsers and existing code that is in use today. It is designed to be
29
- able to express key-value pairs, RDF data, RDFa [ RDFA-CORE ] data,
30
- Microformats [ MICROFORMATS ] data, and Microdata [ MICRODATA ] . That is, it
31
- supports every major Web-based structured data model in use today.
28
+ able to express key-value pairs, RDF data, [ RDFa] [ ] data,
29
+ [ Microformats] [ ] data, and [ Microdata] [ ] . That is, it supports every
30
+ major Web-based structured data model in use today.
32
31
33
32
The syntax does not require many applications to change their JSON, but
34
33
easily add meaning by adding context in a way that is either in-band or
@@ -105,7 +104,7 @@ Commercial Support
105
104
------------------
106
105
107
106
Commercial support for this library is available upon request from
108
-
107
+ [ Digital Bazaar
] [ ] :
[email protected]
109
108
110
109
Source
111
110
------
@@ -115,11 +114,14 @@ is available at:
115
114
116
115
http://github.com/digitalbazaar/php-json-ld
117
116
117
+ Tests
118
+ -----
119
+
118
120
This library includes a sample testing utility which may be used to verify
119
121
that changes to the processor maintain the correct output.
120
122
121
123
To run the sample tests you will need to get the test suite files by cloning
122
- the [ json-ld.org repository] [ json-ld.org ] hosted on GitHub.
124
+ the [ json-ld.org repository] [ json-ld.org ] hosted on GitHub:
123
125
124
126
https://github.com/json-ld/json-ld.org
125
127
@@ -128,7 +130,11 @@ containing the tests.
128
130
129
131
phpunit test.php -d {PATH_TO_JSON_LD_ORG/test-suite}
130
132
131
- [ PHP ] : http://php.net
133
+ [ Digital Bazaar ] : http://digitalbazaar.com/
132
134
[ JSON-LD ] : http://json-ld.org/
135
+ [ Microdata ] : http://www.w3.org/TR/microdata/
136
+ [ Microformats ] : http://microformats.org/
137
+ [ PHP ] : http://php.net
138
+ [ RDFa ] : http://www.w3.org/TR/rdfa-core/
139
+ [ RFC7159 ] : http://tools.ietf.org/html/rfc7159
133
140
[ json-ld.org ] : https://github.com/json-ld/json-ld.org
134
-
0 commit comments