| Did you know ... | Search Documentation: |
| Pack logtalk -- logtalk-3.98.0/library/json_ld/test_files/NOTES.md |
This file is part of Logtalk https://logtalk.org/ SPDX-FileCopyrightText: 1998-2026 Paulo Moura <pmoura@logtalk.org> SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
The JSON-LD test files in this directory are used to test the json_ld
library parsing, generating, expanding, and compacting functionality.
The test files are either synthetic examples or based on patterns from the following freely available sources:
All test files have been created specifically for this test suite and are not direct copies of any copyrighted material.
simple_person.jsonld - basic person with inline @context and simple properties (W3C spec Example 1 pattern)context_vocab.jsonld - using @vocab for default vocabulary mappingcontext_base.jsonld - using @base for base IRI resolutiontyped_value.jsonld - typed value with @value and @type (xsd:date)language_tagged.jsonld - language-tagged strings with @languagemultiple_types.jsonld - node with multiple @type valuesgraph.jsonld - @graph with multiple node objectsreverse_property.jsonld - @reverse for inverse relationshipslist.jsonld - @list for ordered collectionsset.jsonld - @set for unordered setscompact_iri.jsonld - compact IRI notation (prefix:suffix)blank_node.jsonld - blank node identifiers (_:name)expanded.jsonld - pre-expanded form (full IRIs, no context)direction.jsonld - @direction for text directionincluded.jsonld - @included for auxiliary node definitionsindex.jsonld - @index for data indexingmultiple_contexts.jsonld - context arrays (multiple contexts)type_coercion.jsonld - @type coercion in term definitions (@id, typed literals)schema_org_event.jsonld - schema.org Event with nested Place and Organizationdefault_language.jsonld - default @language in contextempty_context.jsonld - empty context with plain IRI propertynested_objects.jsonld - deeply nested objects sharing the same contextexpanded_term_definition.jsonld - expanded term definitions with @id and @type