@@ -530,7 +530,7 @@ <h2>Expansion</h2>
530
530
and regular way of expressing of values in JSON-LD; all contextual
531
531
information from the document is instead stored locally with each value.
532
532
Running the < a href ="#expansion-algorithm "> Expansion algorithm</ a >
533
- (< a data-link-for ="JsonLdProcessor "> expand</ a > )
533
+ (< a data-link-for ="JsonLdProcessor "> expand() </ a > )
534
534
operation) against the above examples results in the following output:</ p >
535
535
536
536
< pre class ="example nohighlight " data-transform ="updateExample "
@@ -627,7 +627,7 @@ <h2>Compaction</h2>
627
627
</ pre >
628
628
629
629
< p > Running the < a href ="#compaction-algorithm "> Compaction Algorithm</ a >
630
- (< a data-link-for ="JsonLdProcessor "> compact</ a > )
630
+ (< a data-link-for ="JsonLdProcessor "> compact() </ a > )
631
631
operation) given the context supplied above against the JSON-LD input
632
632
document provided above would result in the following output:</ p >
633
633
@@ -710,7 +710,7 @@ <h2>Flattening</h2>
710
710
</ pre >
711
711
712
712
< p > Running the < a href ="#flattening-algorithm "> Flattening Algorithm</ a >
713
- (< a data-link-for ="JsonLdProcessor "> flatten</ a > )
713
+ (< a data-link-for ="JsonLdProcessor "> flatten() </ a > )
714
714
operation) with a context set to < a > null</ a > to prevent compaction
715
715
returns the following document:</ p >
716
716
@@ -4772,7 +4772,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
4772
4772
</ pre >
4773
4773
4774
4774
< dl data-sort >
4775
- < dt > < dfn data-dfn-for ="JsonLdProcessor "> compact</ dfn > </ dt >
4775
+ < dt > < dfn data-dfn-for ="JsonLdProcessor "> compact() </ dfn > </ dt >
4776
4776
< dd class ="algorithm ">
4777
4777
< p > < a > Compacts</ a > the given < a data-lt ="jsonldprocessor-compact-input "> input</ a > using the
4778
4778
< var > context</ var > according to the steps in the < a href ="#compaction-algorithm "> Compaction algorithm</ a > :</ p >
@@ -4781,7 +4781,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
4781
4781
< li > Create a new < a > Promise</ a > < var > promise</ var > and return it.
4782
4782
The following steps are then executed asynchronously.</ li >
4783
4783
< li > Set < var > expanded input</ var > to the result of
4784
- using the < a data-link-for ="JsonLdProcessor "> expand</ a > method
4784
+ using the < a data-link-for ="JsonLdProcessor "> expand() </ a > method
4785
4785
using < a data-lt ="jsonldprocessor-compact-input "> input</ a >
4786
4786
and < a data-lt ="jsonldprocessor-compact-options "> options</ a > ,
4787
4787
< span class ="changed "> with < a data-link-for ="JsonldOptions "> ordered</ a > set to < code > false</ code > </ span > ,
@@ -4823,7 +4823,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
4823
4823
</ dl >
4824
4824
</ dd >
4825
4825
4826
- < dt > < dfn data-dfn-for ="JsonLdProcessor "> expand</ dfn > </ dt >
4826
+ < dt > < dfn data-dfn-for ="JsonLdProcessor "> expand() </ dfn > </ dt >
4827
4827
< dd class ="algorithm ">
4828
4828
< p > < a href ="#expansion "> Expands</ a > the given < a data-lt ="jsonldprocessor-expand-input "> input</ a >
4829
4829
according to the steps in the < a href ="#expansion-algorithm "> Expansion algorithm</ a > :</ p >
@@ -4919,7 +4919,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
4919
4919
</ dl >
4920
4920
</ dd >
4921
4921
4922
- < dt > < dfn data-dfn-for ="JsonLdProcessor "> flatten</ dfn > </ dt >
4922
+ < dt > < dfn data-dfn-for ="JsonLdProcessor "> flatten() </ dfn > </ dt >
4923
4923
< dd class ="algorithm ">
4924
4924
< p > < a href ="#flattening "> Flattens</ a > the given < a data-lt ="jsonldprocessor-flatten-input "> input</ a >
4925
4925
and < a > compacts</ a > it using the passed < a data-lt ="jsonldprocessor-flatten-context "> context</ a >
@@ -4928,7 +4928,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
4928
4928
< ol >
4929
4929
< li > Create a new < a > Promise</ a > < var > promise</ var > and return it.
4930
4930
The following steps are then executed asynchronously.</ li >
4931
- < li > Set < var > expanded input</ var > to the result of using the < a data-link-for ="JsonLdProcessor "> expand</ a > method
4931
+ < li > Set < var > expanded input</ var > to the result of using the < a data-link-for ="JsonLdProcessor "> expand() </ a > method
4932
4932
using < a data-lt ="jsonldprocessor-flatten-input "> input</ a >
4933
4933
and < a data-lt ="jsonldprocessor-flatten-options "> options</ a >
4934
4934
< span class ="changed "> with < a data-link-for ="JsonldOptions "> ordered</ a > set to < code > false</ code > </ span > ,
@@ -4972,14 +4972,14 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
4972
4972
</ dl >
4973
4973
</ dd >
4974
4974
4975
- < dt > < dfn data-dfn-for ="JsonLdProcessor " class ="changed "> fromRdf</ dfn > </ dt >
4975
+ < dt > < dfn data-dfn-for ="JsonLdProcessor " class ="changed "> fromRdf() </ dfn > </ dt >
4976
4976
< dd class ="algorithm changed ">
4977
4977
< p > Transforms the given < a data-lt ="jsonldprocessor-fromRdf-input "> input</ a >
4978
4978
into a < a > JSON-LD document</ a > in < a > expanded form</ a >
4979
4979
according to the steps in the < a href ="#serialize-rdf-as-json-ld-algorithm "> Serialize RDF as JSON-LD Algorithm</ a > :</ p >
4980
4980
4981
4981
< p class ="note "> This interface does not define a means of creating an < a > RdfDataset</ a >
4982
- from an arbitrary input, other than the < a data-link-for ="JsonLdProcessor "> toRdf</ a > method.</ p >
4982
+ from an arbitrary input, other than the < a data-link-for ="JsonLdProcessor "> toRdf() </ a > method.</ p >
4983
4983
4984
4984
< ol >
4985
4985
< li > Create a new < a > Promise</ a > < var > promise</ var > and return it.
@@ -5018,7 +5018,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5018
5018
</ dl >
5019
5019
</ dd >
5020
5020
5021
- < dt > < dfn data-dfn-for ="JsonLdProcessor " class ="changed "> toRdf</ dfn > </ dt >
5021
+ < dt > < dfn data-dfn-for ="JsonLdProcessor " class ="changed "> toRdf() </ dfn > </ dt >
5022
5022
< dd class ="algorithm changed ">
5023
5023
< p > Transforms the given < a data-lt ="jsonldprocessor-toRdf-input "> input</ a > into an < a > RdfDataset</ a >
5024
5024
according to the steps in the < a href ="#deserialize-json-ld-to-rdf-algorithm "> Deserialize JSON-LD to RDF Algorithm</ a > :</ p >
@@ -5027,7 +5027,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5027
5027
< li > Create a new < a > Promise</ a > < var > promise</ var > and return it.
5028
5028
The following steps are then executed asynchronously.</ li >
5029
5029
< li > Set < var > expanded input</ var > to the result of using the
5030
- < a data-link-for ="JsonLdProcessor "> expand</ a > method
5030
+ < a data-link-for ="JsonLdProcessor "> expand() </ a > method
5031
5031
using < a data-lt ="jsonldprocessor-toRdf-input "> input</ a >
5032
5032
and < a data-lt ="jsonldprocessor-toRdf-options "> options</ a >
5033
5033
< span class ="changed "> with < a data-link-for ="JsonldOptions "> ordered</ a > set to < code > false</ code > </ span > ,
@@ -5091,8 +5091,8 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5091
5091
< h3 > RDF Dataset Interfaces</ h3 >
5092
5092
5093
5093
< p > The < dfn > RdfDataset</ dfn > interface describes operations on an < a > RDF dataset</ a >
5094
- used by the < a data-link-for ="JsonLdProcessor "> fromRdf</ a >
5095
- and < a data-link-for ="JsonLdProcessor "> toRdf</ a > methods
5094
+ used by the < a data-link-for ="JsonLdProcessor "> fromRdf() </ a >
5095
+ and < a data-link-for ="JsonLdProcessor "> toRdf() </ a > methods
5096
5096
in the < a > JsonLdProcessor</ a > interface.
5097
5097
The interface may be used for constructing a new < a > RDF dataset</ a > ,
5098
5098
which has a < a > default graph</ a > accessible via the < a data-link-for ="RdfDataset "> defaultGraph</ a > attribute.</ p >
@@ -5109,7 +5109,7 @@ <h3>RDF Dataset Interfaces</h3>
5109
5109
< dl data-sort >
5110
5110
< dt > < dfn data-dfn-for ="RdfDataset "> defaultGraph</ dfn > </ dt >
5111
5111
< dd > Provides access to the < a > default graph</ a > associated with the < a > RDF dataset</ a > .</ dd >
5112
- < dt > < dfn data-dfn-for ="RdfDataset "> add</ dfn > </ dt >
5112
+ < dt > < dfn data-dfn-for ="RdfDataset "> add() </ dfn > </ dt >
5113
5113
< dd class ="algorithm ">
5114
5114
< p > Adds an < a > RdfGraph</ a > and its associated < a > graph name</ a > to the < a > RdfDataset</ a > .
5115
5115
Used by the < a href ="#deserialize-json-ld-to-rdf-algorithm "> Deserialize JSON-LD to RDF Algorithm</ a > .</ p >
@@ -5133,8 +5133,8 @@ <h3>RDF Dataset Interfaces</h3>
5133
5133
and graph an < a > RdfGraph</ a > instance.</ dd >
5134
5134
</ dl >
5135
5135
5136
- < p > The < dfn > RdfGraph</ dfn > interface describes operations on an < a > RDF graph</ a > used by the < a data-link-for ="JsonLdProcessor "> fromRdf</ a >
5137
- and < a data-link-for ="JsonLdProcessor "> toRdf</ a > methods
5136
+ < p > The < dfn > RdfGraph</ dfn > interface describes operations on an < a > RDF graph</ a > used by the < a data-link-for ="JsonLdProcessor "> fromRdf() </ a >
5137
+ and < a data-link-for ="JsonLdProcessor "> toRdf() </ a > methods
5138
5138
in the < a > JsonLdProcessor</ a > interface.
5139
5139
The interface may be used for constructing a new < a > RDF graph</ a > ,
5140
5140
which is composed of zero or more < a > RdfTriple</ a > instances.</ p >
@@ -5148,7 +5148,7 @@ <h3>RDF Dataset Interfaces</h3>
5148
5148
</ pre >
5149
5149
5150
5150
< dl data-sort >
5151
- < dt > < dfn data-dfn-for ="RdfGraph "> add</ dfn > </ dt >
5151
+ < dt > < dfn data-dfn-for ="RdfGraph "> add() </ dfn > </ dt >
5152
5152
< dd class ="algorithm ">
5153
5153
< p > Adds an < a > RdfTriple</ a > to the < a > RdfGraph</ a > .
5154
5154
Used by the < a href ="#deserialize-json-ld-to-rdf-algorithm "> Deserialize JSON-LD to RDF Algorithm</ a > .</ p >
0 commit comments