Skip to content

Commit

Permalink
Inline DictionaryEntry nodes
Browse files Browse the repository at this point in the history
This manual revision is done to reduce IRI repetitions.

No effects were observed on Make-managed files.

Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed Jun 4, 2024
1 parent c63a636 commit f9d273b
Showing 1 changed file with 24 additions and 42 deletions.
66 changes: 24 additions & 42 deletions tests/examples/dictionary_PASS.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,75 +10,57 @@
"@type": "types:Dictionary",
"types:entry": [
{
"@id": "kb:DictionaryEntry-314212eb-39c4-4bf3-be3a-f07c38f0eae8"
"@id": "kb:DictionaryEntry-314212eb-39c4-4bf3-be3a-f07c38f0eae8",
"@type": "types:DictionaryEntry",
"types:key": "x",
"types:value": "1"
},
{
"@id": "kb:DictionaryEntry-9ec24a1a-7e99-41c9-ba7d-9d23f11babb4"
"@id": "kb:DictionaryEntry-9ec24a1a-7e99-41c9-ba7d-9d23f11babb4",
"@type": "types:DictionaryEntry",
"types:key": "y",
"types:value": "2"
}
]
},
{
"@id": "kb:DictionaryEntry-314212eb-39c4-4bf3-be3a-f07c38f0eae8",
"@type": "types:DictionaryEntry",
"types:key": "x",
"types:value": "1"
},
{
"@id": "kb:DictionaryEntry-9ec24a1a-7e99-41c9-ba7d-9d23f11babb4",
"@type": "types:DictionaryEntry",
"types:key": "y",
"types:value": "2"
},
{
"@id": "kb:Dictionary-a8e5e8e1-b3de-4ac4-99dd-e36f96beea4d",
"@type": "types:Dictionary",
"rdfs:comment": "This dictionary will trigger a warning from having two entries keyed with value 'x'.",
"types:entry": [
{
"@id": "kb:DictionaryEntry-55786f64-534d-4e8c-8a64-616f708ea4d3"
"@id": "kb:DictionaryEntry-55786f64-534d-4e8c-8a64-616f708ea4d3",
"@type": "types:DictionaryEntry",
"types:key": "x",
"types:value": "1"
},
{
"@id": "kb:DictionaryEntry-d1a83c3d-cbe6-40b0-bb26-3527c47a01d8"
"@id": "kb:DictionaryEntry-d1a83c3d-cbe6-40b0-bb26-3527c47a01d8",
"@type": "types:DictionaryEntry",
"types:key": "x",
"types:value": "2"
}
]
},
{
"@id": "kb:DictionaryEntry-55786f64-534d-4e8c-8a64-616f708ea4d3",
"@type": "types:DictionaryEntry",
"types:key": "x",
"types:value": "1"
},
{
"@id": "kb:DictionaryEntry-d1a83c3d-cbe6-40b0-bb26-3527c47a01d8",
"@type": "types:DictionaryEntry",
"types:key": "x",
"types:value": "2"
},
{
"@id": "kb:Dictionary-e9adf6c1-0287-4290-95a9-c94a128d7ff6",

"@type": "types:Dictionary",
"rdfs:comment": "This dictionary will trigger a warning from having two entries keyed with value 'x'.",
"types:entry": [
{
"@id": "kb:DictionaryEntry-20431f00-64a3-4c0f-94a4-1eb09f8a6b6a"
"@id": "kb:DictionaryEntry-20431f00-64a3-4c0f-94a4-1eb09f8a6b6a",
"@type": "types:DictionaryEntry",
"types:key": "x",
"types:value": "1"
},
{
"@id": "kb:DictionaryEntry-f187ee7f-12fb-4580-966d-47bf1afd4975"
"@id": "kb:DictionaryEntry-f187ee7f-12fb-4580-966d-47bf1afd4975",
"@type": "types:DictionaryEntry",
"types:key": "x",
"types:value": "1"
}
]
},
{
"@id": "kb:DictionaryEntry-20431f00-64a3-4c0f-94a4-1eb09f8a6b6a",
"@type": "types:DictionaryEntry",
"types:key": "x",
"types:value": "1"
},
{
"@id": "kb:DictionaryEntry-f187ee7f-12fb-4580-966d-47bf1afd4975",
"@type": "types:DictionaryEntry",
"types:key": "x",
"types:value": "1"
}
]
}

0 comments on commit f9d273b

Please sign in to comment.