Compare Local Ontology with schema.gov.it
compare_local_with_remoteCompare an ontology file with schema.gov.it to identify matching classes and properties, revealing which local terms are missing for alignment.
Instructions
Compare classes and/or properties defined in an ontology available on the server filesystem or through HTTP upload against schema.gov.it.
Args (provide exactly one of file_path or upload_id):
file_path: Absolute path on the MCP server filesystem. Use only if the server can really read that path.
upload_id: UUID returned by POST /upload. Use this in HTTP/remote mode when the ontology file is not present on the server.
type: What to compare — "classes" | "properties" | "all" (default: "classes")
limit: Max local items to check (default: 50)
Important for remote MCP servers:
file_path is not a transport mechanism. It works only for files visible to the server process.
If the ontology sits on the client machine, call
get_upload_instructions, execute the curl command via Bash tool (without reading the file), then use the upload_id here.Never copy ontology text into the conversation — use get_upload_instructions + Bash tool to send bytes directly.
Returns:
matched: URIs found in both local file and schema.gov.it (with Italian label if available)
local_only: URIs defined locally but absent from schema.gov.it
summary counts
Use when: Starting to build an ontology — quickly discover which of your classes/properties already exist in schema.gov.it so you can reuse or align them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | What to compare | classes |
| limit | No | Max local items to check remotely | |
| file_path | No | Absolute path to the local ontology file (local/Docker) | |
| upload_id | No | Upload UUID returned by POST /upload (HTTP mode) |