openMusiXplora

Research and data access

API: working with relationships and sources

Investigate teaching relationships and follow an individual assertion to its source.

Examples from data edition 1, issued on 20 November 2026.

Who is linked to whom?

Josef Focht has 229 recorded relationships. They include teaching relationships. In his record, Jürgen Eppelsheim (e0274) appears in a teaching role and Ryoto Akiyama (a1204) in a pupil role. Read the two endpoints, the recorded role and the source reference together.

Read all result pages

The Python example follows next to the last page. It filters by the vocabulary identifier for training. Each output row gives the two original identifiers in source order and the recorded role, where present.

import json
from urllib.parse import urljoin
from urllib.request import urlopen

origin = "https://musixplora.modavis.org"
url = origin + "/version/1/api/v1/entities/f0394/relationships?limit=50"
while url:
    with urlopen(url, timeout=20) as response:
        page = json.load(response)
    for row in page["items"]:
        term = row.get("controlled_term", {})
        if term.get("id") == "/vocab/relationship-type/6":
            print(row["subject"]["id"], row["object"]["id"], row.get("source_role", ""))
    url = urljoin(origin, page["next"]) if page.get("next") else None

What does the reference establish?

The evidence array links to the references behind each assertion. A row number locates a statement within the surviving export. The checksums identify the source file and the version of that row. Assessing a historical teaching relationship requires examining the sources cited in the catalogue and any further testimony.