Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Describe included maps with examples. #207

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
GIT
remote: https://github.com/ruby-rdf/json-ld.git
revision: 74095b73cdb722b681f34d0f165599c9cb48d844
revision: 031d3e7b958d39f7ecd001aa3f617bb8c2e65d44
branch: develop
specs:
json-ld (3.0.2)
htmlentities (~> 4.3)
json-canonicalization (~> 0.1)
link_header (~> 0.0, >= 0.0.8)
multi_json (~> 1.13)
Expand Down Expand Up @@ -36,7 +37,7 @@ GEM
i18n (1.6.0)
concurrent-ruby (~> 1.0)
json-canonicalization (0.1.0)
json-ld-preloaded (3.0.2)
json-ld-preloaded (3.0.3)
json-ld (~> 3.0)
multi_json (~> 1.12)
rdf (~> 3.0)
Expand Down Expand Up @@ -74,15 +75,15 @@ GEM
sparql-client (~> 3.0)
mini_portile2 (2.4.0)
multi_json (1.13.1)
net-http-persistent (3.0.1)
net-http-persistent (3.1.0)
connection_pool (~> 2.2)
nokogiri (1.10.3)
mini_portile2 (~> 2.4.0)
nokogumbo (1.5.0)
nokogiri
public_suffix (3.1.1)
rack (2.0.7)
rake (12.3.2)
rake (12.3.3)
rdf (3.0.12)
hamster (~> 3.0)
link_header (~> 0.0, >= 0.0.8)
Expand Down Expand Up @@ -134,7 +135,7 @@ GEM
rdf-turtle (3.0.6)
ebnf (~> 1.1)
rdf (~> 3.0)
rdf-vocab (3.0.7)
rdf-vocab (3.0.8)
rdf (~> 3.0, >= 3.0.11)
rdf-xsd (3.0.1)
rdf (~> 3.0)
Expand Down
8 changes: 7 additions & 1 deletion common/terms.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,12 @@
A <a>named graph</a> created from the value of a <a>map entry</a>
having an <a>expanded term definition</a>
where <code>@container</code> is set to <code>@graph</code>.</dd>
<dt class="changed"><dfn data-cite="JSON-LD11#dfn-included-map">included map</dfn></dt><dd class="changed">
An <a>included map</a> is a <a>map</a> of <a>entries</a> where the key
is interpreted as a vocabulary-<a>relative IRI</a>, and the value is a <a>node object</a>, <a>value object</a>,
<a>list object</a>, or an array of any of the above.
An <a>included map</a> contains values which may be referenced by terms of type `@included`,
for which the references are replaced with values from that map when expanding a document.</dd>
<dt><dfn data-cite="JSON-LD11#dfn-index-map">index map</dfn></dt><dd>
An <a>index map</a> is a <a>map</a> value of a <a>term</a>
defined with <code>@container</code> set to <code>@index</code>,
Expand Down Expand Up @@ -331,7 +337,7 @@
or an <a>expanded term definition</a>.
</dd>
<dt class="changed"><dfn data-cite="JSON-LD11#dfn-type-map">type map</dfn></dt><dd class="changed">
An <a>type map</a> is a <a>map</a> value of a <a>term</a>
A <a>type map</a> is a <a>map</a> value of a <a>term</a>
defined with <code>@container</code> set to <code>@type</code>,
whose keys are interpreted as <a>IRIs</a>
representing the <code>@type</code> of the associated <a>node object</a>;
Expand Down
Loading