Skip to content

Commit 7fa5dce

Browse files
committed
Add notes
1 parent cecba2a commit 7fa5dce

2 files changed

Lines changed: 12 additions & 10 deletions

File tree

README.ja.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ Core NGSI-LD の `@context` は、`name` = `https://uri.etsi.org/ngsi-ld/name`
589589
> **注**: 比較のために、標準のチュートリアル JSON-LD `@context` ファイルはこちらにあります。:
590590
> `https://fiware.github.io/tutorials.Step-by-Step/tutorials-context.jsonld`
591591

592-
#### :one: リクエスト:
592+
#### 1️⃣ リクエスト:
593593

594594
データ・エンティティを作成する際、日本語の JSON-LD `@context` にマッピングされたすべての URI の短縮名は、リクエストの
595595
ペイロードで自由に使用できます。
@@ -640,7 +640,7 @@ JSON-LD `@context` ファイルは、**Building** エンティティに使用さ
640640
`@context` で指定された短縮名を使用して返すことができます。これは、`Link` ヘッダは、tutorial JSON-LD の`@context`
641641
ファイルを指しています。
642642

643-
#### :two: リクエスト:
643+
#### 2️⃣ リクエスト:
644644

645645
```bash
646646
curl -L -X GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Building:store005' \
@@ -691,7 +691,7 @@ curl -L -X GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Building:s
691691
既存の **Building** エンティティを読み取り、日本語の `@context` を適用できます。使用する `@context` は、`Link` ヘッダで
692692
提供されます。
693693

694-
#### :three: リクエスト:
694+
#### 3️⃣ リクエスト:
695695

696696
```bash
697697
curl -L -X GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Building:store003' \
@@ -770,7 +770,7 @@ function translateRequest(req, res) {
770770
}
771771
```
772772

773-
#### :four: リクエスト:
773+
#### 4️⃣ リクエスト:
774774

775775
リクエストを Context Broker に転送してから展開/圧縮操作を適用する `/japanese` エンドポイントが作成されました。
776776

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ application runs on the following URLs:
131131
- `http://localhost:3000/app/store/urn:ngsi-ld:Building:store003`
132132
- `http://localhost:3000/app/store/urn:ngsi-ld:Building:store004`
133133

134-
> :information_source: **Tip** Additionally, you can also watch the status of recent requests yourself by following the
134+
> [!TIP]
135+
> Additionally, you can also watch the status of recent requests yourself by following the
135136
> container logs or viewing information on `localhost:3000/app/monitor` on a web browser.
136137
>
137138
> ![FIWARE Monitor](https://fiware.github.io/tutorials.Working-with-Linked-Data/img/monitor.png)
@@ -569,10 +570,11 @@ An alternative Japanese JSON-LD `@context` file has been created and published t
569570
found here: `https://fiware.github.io/tutorials.Step-by-Step/japanese-context.jsonld`. Alternate data mappings can be
570571
found for all attribute names used within the tutorials.
571572

572-
> :information_source: **Note**: For comparison the standard tutorial JSON-LD `@context` file can be found here:
573+
> [!NOTE]
574+
> For comparison the standard tutorial JSON-LD `@context` file can be found here:
573575
> `https://fiware.github.io/tutorials.Step-by-Step/tutorials-context.jsonld`
574576

575-
#### :one: Request:
577+
#### 1️⃣ Request:
576578

577579
When creating a data entity, short names for all of the URIs mapped in the Japanese JSON-LD `@context` can be used
578580
freely in the payload of the request.
@@ -623,7 +625,7 @@ Therefore it is possible to request the new **Building** (created using the Japa
623625
using the short names specified in the standard tutorial JSON-LD `@context`, this is done by supplying the `Link` header
624626
is pointing to the tutorial JSON-LD `@context` file.
625627

626-
#### :two: Request:
628+
#### 2️⃣ Request:
627629

628630
```console
629631
curl -L -X GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Building:store005' \
@@ -672,7 +674,7 @@ With one exception, there is no hierarchy defined within NGSI-LD `@context` file
672674
possible to read any of the existing **Building** entities and apply the Japanese `@context`. The `@context` to used is
673675
supplied in the `Link` header.
674676

675-
#### :three: Request:
677+
#### 3️⃣ Request:
676678

677679
```console
678680
curl -L -X GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Building:store003' \
@@ -751,7 +753,7 @@ function translateRequest(req, res) {
751753
}
752754
```
753755

754-
#### :four: Request:
756+
#### 4️⃣ Request:
755757

756758
A `/japanese` endpoint has been created which forwards a request to the context broker and then applies an
757759
expansion/compaction operation.

0 commit comments

Comments
 (0)