---
title: "Computes the alignment between two given ontologies/knowledge graphs."
method: POST
path: "/match"
tags: ["match"]
---

# Computes the alignment between two given ontologies/knowledge graphs.

`POST /match`

The ontologies can either be uploaded via files (multipart/form-data) which is the default or via public URLs (application/x-www-form-urlencoded) which means that the ontologies need to be provided on a public server and only the URL is transmitted to the matcher. <br><br> Switch between them via the drop down list at the `request body` level. <br><br> To try out the `multipart/form-data` you can use the following curl command (`cmt-rdf` and `conference.rdf` are local paths to ontology files): <br><br> ``` curl -F 'source=@cmt.rdf' -F 'target=@conference.rdf' {URL_of_the_matcher} ```

## Response `200`

The alignment in the [alignment format](https://moex.gitlabpages.inria.fr/alignapi/format.html) either as file (application/xml in case of multipart request) or as file URL (represented as a string in case of form-urlencoded request)

## Other responses

- `400` — Some errors on the client side(like not providing a source or target OR formatted in the wrong way).
- `500` — Any server errors.

## Changes

- **2021-06-08** `65186a328d26` — 1 info
  - api tag `match` added
- **2021-06-01** `743042ea6c6e` — 1 info
  - api tag `match` removed

[Change history](https://skmtc.dev/dwslab/apis/ontology-knowledge-graph-matcher/changes/match/post.md)

---

[API](https://skmtc.dev/dwslab/apis/ontology-knowledge-graph-matcher.md) · [All operations](https://skmtc.dev/dwslab/apis/ontology-knowledge-graph-matcher/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dwslab/ontology-knowledge-graph-matcher/revisions/98186ebe7543/schema)
