Commit graph

275 commits

Author SHA1 Message Date
Dave Longley 599e2352d1 Always use @value in expanded form. 2012-05-08 18:07:28 -04:00
Dave Longley 4c847440c7 Implement JSON-LD context URL resolution. 2012-05-07 17:12:10 -04:00
Dave Longley 52fa975894 Use RDF statements in normalization.
Remove special compaction of null-mapped IRIs.
2012-05-05 16:03:30 -04:00
Dave Longley 657edcec47 Remove unnecessary lines. 2012-05-02 16:49:42 -04:00
Dave Longley 080dec516e Fix whitespace regex. 2012-05-01 16:33:41 -04:00
Dave Longley 18e2934981 Sort RDF statement output. 2012-04-30 22:15:09 -04:00
Dave Longley 566991cb47 Remove unnecessary value assignment. 2012-04-30 21:22:05 -04:00
Dave Longley 25d86fc0db Handle strings in @graph [] case. 2012-04-30 19:55:26 -04:00
Dave Longley ad531248c6 Implement toRDF. 2012-04-30 17:43:38 -04:00
Dave Longley 273c9c88de Implement fromRDF. 2012-04-30 17:10:27 -04:00
Dave Longley 28e8502122 Use %1.15e for double strings, fix base handling. 2012-04-30 15:14:32 -04:00
Dave Longley 7941387631 Allow null @id mappings, use null mapping in compact IRI. 2012-04-27 17:28:51 -04:00
Dave Longley 2135f34a72 Update to latest spec changes. 2012-04-27 16:18:05 -04:00
Dave Longley 0e6040c9e1 Remove unnecessary var. 2012-04-27 00:48:19 -04:00
Dave Longley f1ad4a7936 Fix method signature. 2012-04-27 00:16:17 -04:00
Dave Longley 5f2b5a246c Remove unnecessary output line. 2012-04-26 23:57:14 -04:00
Dave Longley 60994879d6 Remove unused var. 2012-04-26 21:07:19 -04:00
Dave Longley 3f494ac765 Naming convention fixes. 2012-04-26 20:46:41 -04:00
Dave Longley 75526669b8 Follow naming conventions. 2012-04-26 19:53:55 -04:00
Dave Longley 6254519b40 Code clean up/renaming. 2012-04-26 16:31:55 -04:00
Dave Longley d0c73ec99d Some formatting changes. 2012-04-26 13:34:24 -04:00
Dave Longley ae46860dab Some code clean up/reorganization. 2012-04-24 20:29:40 -04:00
Dave Longley 265689c92f Remove unused function, some clean up. 2012-04-24 14:37:21 -04:00
Dave Longley 75bda64cfb Update README. 2012-04-24 13:37:43 -04:00
Dave Longley 30622b2aeb Fix remaining bugs with framing and test harness. 2012-04-23 16:06:42 -04:00
Dave Longley 084727c586 Fix remaining expansion, normalize, compact bugs. 2012-04-23 15:52:56 -04:00
Dave Longley 1b8a833bd1 Fix number checks. 2012-04-23 15:15:26 -04:00
Dave Longley b763bdde10 Fix various bugs that cropped up during port. 2012-04-23 15:00:13 -04:00
Dave Longley a1a5a4cb34 Various syntax/logic fixes. 2012-04-23 14:01:56 -04:00
Dave Longley cdce63a99c New port of jsonld.js. 2012-04-23 12:57:06 -04:00
Dave Longley de770b30fd Sort all properties except @id in normalization. 2012-03-04 15:35:44 -05:00
Dave Longley ab71b33c3f Fix error message. 2012-03-04 02:30:35 -05:00
Dave Longley 809a4d31ce Remove duplicate objects when normalizing. 2012-01-16 15:53:49 -05:00
Dave Longley eb7a99a45e Use keyword alias in compact output. 2012-01-12 13:41:23 -05:00
Dave Longley c091c4cc7b Rename @literal to @value, bug fixes, use json-ld.org test-suite. 2012-01-11 22:56:26 -05:00
Dave Longley 9b87179143 Do not do @id expansion for @id/@type even if aliased. 2012-01-11 19:32:30 -05:00
Dave Longley 7d06cd0c92 Convert @subject and @iri to @id. Remove @vocab. 2011-12-19 21:29:11 -05:00
Dave Longley 7124a88b7a Remove expandSubjects option. 2011-12-18 15:14:25 -05:00
Dave Longley 215ceeb331 Use new type coercion format. 2011-12-18 14:43:10 -05:00
Dave Longley aee96b1ec6 Change @datatype to @type. 2011-12-17 21:08:58 -05:00
Dave Longley 31181efa26 Remove unnecessary @type check. 2011-12-17 21:01:13 -05:00
Dave Longley a024be9607 Removed obsolete use of rdf:type. 2011-11-28 23:12:11 -05:00
Dave Longley fb11cb945f Remove dependent dangling embeds. 2011-11-28 22:51:30 -05:00
Dave Longley ac210d60e3 Fixed bugs with replacement embeds. 2011-11-23 20:24:38 -05:00
Dave Longley 7e65429375 Made sort optimization more effective. 2011-11-09 13:58:47 -05:00
Dave Longley af25c067de Added optimization to avoid extra bnode sorting. 2011-11-09 13:02:18 -05:00
Dave Longley ff35e9796f Support @context in frame arrays. 2011-11-09 12:46:03 -05:00
Dave Longley 4eb2832c11 Use @context property with external contexts. 2011-10-28 16:52:05 -04:00
Dave Longley a7206c8331 Added resolve method for @context URLs. 2011-10-27 19:00:01 -04:00
Dave Longley 093e3277d8 Fixed @embed=false bug. 2011-10-20 20:31:38 -04:00