Skip to content

Commit

Permalink
Fix #67
Browse files Browse the repository at this point in the history
Added comment about specifying the "default" encodingFormat and changed 2 examples (application/sparql-query is request Media type, not response).
  • Loading branch information
coret committed Sep 14, 2022
1 parent c51c085 commit c3596fe
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ OAI-PMH endpoints or other APIs.
{
"@context": "https://schema.org/",
"@type": "DataDownload",
"encodingFormat": "application/sparql-query",
"encodingFormat": "application/sparql-results+xml",
"contentUrl": "http://vocab.getty.edu/sparql"
}
</pre>
Expand All @@ -364,7 +364,7 @@ The distributions are then included under the `distribution` attribute with the
{
"@id": "http://vocab.getty.edu/aat/sparql",
"@type": "DataDownload",
"encodingFormat": "application/sparql-query",
"encodingFormat": "application/sparql-results+json",
"contentUrl": "http://vocab.getty.edu/sparql"
},
{
Expand Down Expand Up @@ -646,7 +646,9 @@ This is an overview of required and recommended attributes.
<tr>
<th scope="row">[schema:encodingFormat](https://schema.org/encodingFormat)</th>
<td>The distribution’s MIME format, for example `application/sparql-query` for a SPARL endpoint
or `application/ld+json` for a data dump serialized as JSON-LD. Use a value from the [[IANA-MEDIA-TYPES]] list.</td>
or `application/ld+json` for a data dump serialized as JSON-LD. Use a value from the [[IANA-MEDIA-TYPES]] list.
The value should indicate the Media type of the response of the schema:contentUrl when no Accept header is included in the request.
It is recommended to provide an URL of documentation via the schema:usageInfo property in which the supported encoding formats which can be requested via an Accept HTTP header are listed.</td>
<td>1..n</td>
<td>Required</td>
</tr>
Expand Down

0 comments on commit c3596fe

Please sign in to comment.