Find OKG Alignments for a schema.gov.it Resource
find_okg_alignmentsIdentifies equivalent resources in the Open Knowledge Graphs catalog for a schema.gov.it concept, using Wikidata alignments and label search to confirm matches or suggest candidates.
Instructions
Given a schema.gov.it URI, find related resources in the Open Knowledge Graphs catalog.
How it works (3 steps):
Queries schema.gov.it for the resource's label and any Wikidata alignments (owl:sameAs, skos:exactMatch)
Searches OKG using the resource label
Cross-references OKG results: those whose wikidataId matches a known alignment are "confirmed matches"; the rest are "candidates" (label-based, need manual review)
Args:
uri: URI of a schema.gov.it concept, class, or vocabulary
Returns:
label: The label used for OKG search
wikidata_alignments: Wikidata URIs already present in schema.gov.it for this resource
okg_matches: OKG resources with a confirmed Wikidata alignment (high confidence)
okg_candidates: OKG resources found by label search only (lower confidence)
Use when: Discovering international equivalents of a local ontology or vocabulary, or checking whether a schema.gov.it concept is represented in global semantic standards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | URI of a schema.gov.it resource |