Skip to content

SPARQL competency queries for TROV vocabulary verification #23

@tmcphillips

Description

@tmcphillips

Summary

Write SPARQL competency queries that exercise every term in the TROV vocabulary against TRO fragments and complete TRO declarations. These queries serve as automated smoke tests of the vocabulary files, verifying that the .ttl defines what the specification documents say it defines, and confirming that the vocabulary supports the use cases for TROs.

Approach

  • Each query targets one or more vocabulary terms (classes, properties, named individuals)
  • Queries run against both minimal TRO fragments (testing individual terms) and complete TRO declarations (testing terms in context)
  • Start with the pre-release vocabulary (smaller, frozen, known term set) to get the test infrastructure working, then expand to 0.1
  • Tests run automatically on pushes to the trov repo

Steps

  • Define competency queries for all pre-release terms
  • Create minimal TRO fragments as test fixtures for pre-release
  • Include at least one complete pre-release TRO declaration as an integration test
  • Set up automated test execution on push
  • Expand queries and fixtures to cover TROV 0.1 terms

Related

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions