Skip to content

jsonld: replace remaining @id-only refs with Thing/inline (chain + alt pages) - #1443

Merged
Flotapponnier merged 1 commit into
mainfrom
fix/inline-cross-node-datasets-remaining
Jul 25, 2026
Merged

jsonld: replace remaining @id-only refs with Thing/inline (chain + alt pages)#1443
Flotapponnier merged 1 commit into
mainfrom
fix/inline-cross-node-datasets-remaining

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to #1442. Grepped for remaining @id-only refs to Datasets/Articles and found 4 more spots that could trigger the same Google validation issue (standalone incomplete Dataset item):

  • chain page TechArticle: about + isPartOf (cross-page refs to parent)
  • bench page TechArticle: about (same-page, but same-graph refs also flag)
  • alternatives Article: about (same-page)

Replaced about with {@type: Thing, name: metric} (semantically correct + Google-safe). Inlined chain page isPartOf with name+url.

Test plan

  • pnpm typecheck
  • After deploy: Rich Results Test on ws-head-latency-ethereum → 2 Datasets, both valid
  • Same test on a chain page (e.g. /benchmarks/ethereum-rpc/ethereum)
  • GSC Validate Fix

…+ alt pages)

Deep-check after PR #1442 caught 4 more @id-only refs Google could
flag as standalone incomplete Datasets:

- benchmarks/[slug]/[chain] TechArticle: about + isPartOf (cross-page
  refs to parent bench Dataset + Article). about becomes {@type:Thing,
  name: metric}; isPartOf gets name+url inlined.
- benchmarks/[slug] TechArticle: about (same-page but Google flagged
  even same-graph refs). Becomes {@type:Thing, name: metric}.
- alternatives/[slug] Article: about (same-page). Becomes {@type:Thing,
  name: bench.metric}.

Semantically cleaner too: 'about' on an article should describe the
topic (Thing), not a data source. Matches the pattern already used by
StatisticalReport.about.
@Flotapponnier
Flotapponnier merged commit ad91103 into main Jul 25, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant