Commit Graph

195 Commits (83d974a06f8de1444f4fe40a8a18c62e01d331e1)

Author SHA1 Message Date
Dave Longley 5847ac58b1 Do not change IRIs if base is empty.
10 years ago
Dave Longley e112743436 Bump version.
10 years ago
Dave Longley baa3cdf2f6 Do not remove relative '../' with empty base.
10 years ago
Dave Longley 24fa461705 Fix bugs w/expanding/compacting with empty base.
10 years ago
Dave Longley b57d0797e8 Allow empty string for @base.
10 years ago
Dave Longley cb03711585 Add @base support.
10 years ago
Dave Longley eb3c8ba42d Bump version.
10 years ago
Dave Longley a3369ffb21 Fix bugs with hashes and queries when compacting to relative IRIs.
10 years ago
Dave Longley f0746b22c0 Return keywords immediately when expanding.
10 years ago
Dave Longley 8bad8e2d24 Remove optimize option; add compactArrays option to compaction.
10 years ago
Dave Longley 232afca21d Ensure @language and @vocab are copied from active context.
10 years ago
Dave Longley 9653a673d5 Bump version.
10 years ago
Dave Longley 21c0934d8f Use RDF datasets for RDF conversion instead of RDF statements.
10 years ago
Dave Longley 623d43b6e5 Bump version.
10 years ago
Dave Longley 41ee90f02c Add secure context loader that require https even when redirecting.
10 years ago
Dave Longley dfbea38c6f Remove unnecessary initialization.
10 years ago
Dave Longley 607575d0d4 Use context loader terminology.
10 years ago
Dave Longley 5961e603aa Do not compact to @language map when @index is present.
10 years ago
Dave Longley fda8545943 Use '_:b' instead of '_:t' for bnode prefixes.
10 years ago
Dave Longley d80c0acb4f Bump version.
10 years ago
Dave Longley b53300d179 Rename default jsonld url client method.
10 years ago
Dave Longley 47e4a04f57 Rename url resolver to url client.
10 years ago
Dave Longley fdc08dc903 Ensure vocab relative flag is passed when expanding properties.
10 years ago
Dave Longley bea64fee03 Ensure named graph blank node IDs are relabeled.
10 years ago
Dave Longley fbfb6c9fcb Do not compact to relative IRIs if vocab relative flag is true.
10 years ago
Dave Longley e5f1e28ada Drop duplicates when creating node maps.
10 years ago
Dave Longley 505202c213 Compact absolute IRIs to relative IRIs.
10 years ago
Dave Longley 6e7f7a3b9a Only compact to terms when relative flag is set.
10 years ago
Dave Longley 12e18a8384 Implement @type: @vocab compaction.
10 years ago
Dave Longley 6d5934398d Reorganize and simplify value expansion.
10 years ago
Dave Longley 447aa88d61 Do not expand values that are terms unless they are vocab relative.
10 years ago
Dave Longley 2c8b2ef18d Expand @type: @vocab.
10 years ago
Dave Longley d1ecc90e8a Skip @context key.
10 years ago
Dave Longley 5466070d7d Disallow keywords in property generator, allow alias in context.
10 years ago
Dave Longley d7bb4b3cba Remove term definition inheritance.
10 years ago
Dave Longley 6e2b78c722 Move container var outside of loop.
10 years ago
Dave Longley 7692f6f087 Remove active_property to item_active_property.
10 years ago
Dave Longley d1d437b9b7 Remove unused base flag.
10 years ago
Dave Longley 1bcef39068 Remove extra parameter.
10 years ago
Dave Longley 4948365c1a Remove now superfluous flag and step.
10 years ago
Dave Longley 5c5ab819d7 Simplify term definition creation, disallow @type in property generator.
10 years ago
Dave Longley b7cf6df479 Use correct blank node namer when sharing context.
10 years ago
Dave Longley 42903065d9 Use array to add compacted item when expanded property is @list.
10 years ago
Dave Longley 1b676e47fe Remove unnecessary extra object check.
10 years ago
Dave Longley 1dab2c9987 Check for subject references within lists.
10 years ago
Dave Longley 5a6f3bc5dd Do not require a matching empty array when selecting a property generator.
10 years ago
Dave Longley 31dafae2ec Ensure property generator values are compared during term selection.
10 years ago
Dave Longley 7c2aceed28 Set some defaults for parsed url.
10 years ago
Dave Longley 612f56aa6c Fix bugs w/prepend base.
10 years ago
Dave Longley 61e1140b3b Fix bugs to pass unit tests, do JSON comparison in test runner.
10 years ago
Dave Longley 3831d5336a Fix bugs to pass compaction tests.
10 years ago
Dave Longley a8ce5ba4a2 Fix bugs to pass expansion tests.
10 years ago
Dave Longley 6fbdfaa3b6 Various bug fixes to pass more tests.
10 years ago
Dave Longley 89dd522d45 Initial update to port over changes from jsonld.js.
10 years ago
Dave Longley 3309e2bd2b Bump version.
10 years ago
Dave Longley 002740bc69 Add version.
10 years ago
Dave Longley fece013733 Use base IRI when expanding @type.
11 years ago
Dave Longley 4c76b11a67 Make default url resolver a separate function.
11 years ago
Dave Longley 7b20e349af Add relative @context URL resolution.
11 years ago
Dave Longley ef8769fe5a Fixes to comply with updates to the spec(s).
11 years ago
Dave Longley 9b557af763 Add global declarations.
11 years ago
Dave Longley 2ff57e973e Fix typo.
11 years ago
Dave Longley 5299404f62 Fix list term check.
11 years ago
Dave Longley 084c9e4db1 Remove duplicate RDF statements.
11 years ago
Dave Longley 0a1058d4c0 Change addValue to allow duplicates by default.
11 years ago
Dave Longley 599e507bcc Use available aliases for @value, @language when compacting.
11 years ago
Dave Longley 7cf02461cc Fix nquads output for graph w/bnode ID.
11 years ago
Dave Longley 2760055bd2 Update to fix value compaction when there is a default language.
11 years ago
Dave Longley f17859714b Update flatten algorithm, fix @list merge bugs.
11 years ago
Dave Longley 160c1b379a Handle @type blank node IRIs.
11 years ago
Dave Longley a1f83aaba3 Fix blank node check in _flatten.
11 years ago
Dave Longley 5149bf383c Add escaping to N-Quads.
11 years ago
Dave Longley 00c18e853e Check input for non-array in from_rdf.
11 years ago
Dave Longley aef8eb3e72 Check for existing RDF parser before removal.
11 years ago
Dave Longley a4d73b0bb7 Make nquad methods public.
11 years ago
Dave Longley f1f8c46542 Remove unused var.
11 years ago
Dave Longley 29bd617417 Add ability to register global or processor RDF parsers.
11 years ago
Dave Longley 599e2352d1 Always use @value in expanded form.
11 years ago
Dave Longley 4c847440c7 Implement JSON-LD context URL resolution.
11 years ago
Dave Longley 52fa975894 Use RDF statements in normalization.
11 years ago
Dave Longley 657edcec47 Remove unnecessary lines.
11 years ago
Dave Longley 080dec516e Fix whitespace regex.
11 years ago
Dave Longley 18e2934981 Sort RDF statement output.
11 years ago
Dave Longley 566991cb47 Remove unnecessary value assignment.
11 years ago
Dave Longley 25d86fc0db Handle strings in @graph [] case.
11 years ago
Dave Longley ad531248c6 Implement toRDF.
11 years ago
Dave Longley 273c9c88de Implement fromRDF.
11 years ago
Dave Longley 28e8502122 Use %1.15e for double strings, fix base handling.
11 years ago
Dave Longley 7941387631 Allow null @id mappings, use null mapping in compact IRI.
11 years ago
Dave Longley 2135f34a72 Update to latest spec changes.
11 years ago
Dave Longley 0e6040c9e1 Remove unnecessary var.
11 years ago
Dave Longley f1ad4a7936 Fix method signature.
11 years ago
Dave Longley 60994879d6 Remove unused var.
11 years ago
Dave Longley 3f494ac765 Naming convention fixes.
11 years ago
Dave Longley 75526669b8 Follow naming conventions.
11 years ago
Dave Longley 6254519b40 Code clean up/renaming.
11 years ago
Dave Longley d0c73ec99d Some formatting changes.
11 years ago
Dave Longley ae46860dab Some code clean up/reorganization.
11 years ago
Dave Longley 265689c92f Remove unused function, some clean up.
11 years ago
Dave Longley 30622b2aeb Fix remaining bugs with framing and test harness.
11 years ago