Compare schema.gov.it Coverage with OKG
compare_coverage_with_okgIdentify gaps in schema.gov.it coverage by comparing its semantic resources against the international OKG catalog for a specific domain, showing covered and missing standards.
Instructions
Gap analysis: compare schema.gov.it semantic resources against the international OKG catalog for a given domain.
How it works:
Fetches OKG resources for the given category
For resources that have a Wikidata ID, queries schema.gov.it for matching owl:sameAs / skos:exactMatch links
Classifies each OKG resource as "covered" (linked in schema.gov.it) or "gap" (not linked)
Args:
category: OKG thematic category to analyze
limit: Max OKG resources to fetch (default: 50)
Returns:
summary: total, covered count, gap count, coverage percentage
covered: OKG resources already linked in schema.gov.it (with local URI and relation type)
gaps: OKG resources with no corresponding link in schema.gov.it
without_wikidata: OKG resources without a Wikidata ID (cannot be cross-referenced automatically)
Available categories: fetched dynamically from api.openknowledgegraphs.com at runtime.
Use when: Assessing which international standards are missing in schema.gov.it for a specific domain, or prioritizing new ontology and vocabulary contributions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max OKG resources to fetch (default: 50) | |
| category | Yes | OKG thematic category to analyze |