Skip to content
Alpha: see what works today →
Menu

Named question about pod

Which reference versions are current

The matcher compares codes using reference tables, and each table comes in versions. The newest is the one no other revises; a matcher judgment made with an older one stops counting, unless the newest one's rows join its records too.

The query

PREFIX cascade: <https://ns.cascadeprotocol.org/cascade#>
PREFIX pav: <http://purl.org/pav/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT ?series ?seriesLabel ?version ?versionLabel
WHERE {
  ?series a cascade:ReferenceSeries ; pav:hasCurrentVersion ?version .
  OPTIONAL { ?series rdfs:label ?seriesLabel }
  OPTIONAL { ?version rdfs:label ?versionLabel }
}
ORDER BY ?series ?version

Terms it reads

cascade:ReferenceSeries · pav:hasCurrentVersion · rdfs:label

Rules and decision notes that name it

No rule or decision note writes its path.

Its rows on Alex Rivera's pod

2 rows, as Alex Rivera's explorer shows them.

seriesversion
CDC CVX vaccine groupsCDC CVX vaccine groups · 2026-09-17 (builder 3)
Matcher rulesMatcher rules · 19

queries/questions/pod/Which reference versions are current.rq on GitHub ↗