AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
TITLE: Music Domain Ontology
VERSION: 1.0
DOMAIN: Creative Domains / Music
SOURCE_URL: https://kirethresearch.org/booksai-core/ontologies/domain-ontologies/creative-domains/music-domain-ontology.html
STATUS: Domain-based draft; source page content not independently verified.
AUTHORS: Mark Higgins — Sky (Recursive AI)
PURPOSE
Represent musical works, performances, creators, structures, recordings, and cultural contexts as typed entities and verifiable relationships for semantic retrieval and reasoning.
TYPED ENTITIES
MusicWork: {id, title, work_type, composition_date?, genre_ids[], creator_ids[]}
Composition: MusicWork {movement_ids[], instrumentation[], key?, metre?}
Song: MusicWork {lyrics_id?, language?, vocal_parts[]}
Movement: {id, parent_work_id, sequence, tempo_marking?}
MusicalPassage: {id, work_id, start_position, end_position, motif_ids[]}
Motif: {id, interval_pattern?, rhythm_pattern?}
MusicalNote: {pitch, duration, onset, velocity?}
Rhythm: {beat_pattern, metre?, tempo_bpm?}
Harmony: {chord_ids[], progression?}
Scale: {id, tonic?, interval_pattern[]}
Genre: {id, label, parent_genre_ids[]}
Style: {id, label, period?, characteristics[]}
Artist: {id, name, roles[], active_period?}
Ensemble: {id, name, member_ids[], instrumentation[]}
Instrument: {id, name, family, tuning?}
Performance: {id, work_id, performer_ids[], venue_id?, date?, interpretation_notes?}
Recording: {id, performance_id?, work_id?, duration?, format?, release_id?}
Release: {id, title, recording_ids[], release_date?, label_id?}
Venue: {id, name, location_id?}
Score: {id, work_id, notation_system, edition?}
Lyrics: {id, text_ref, language, author_ids[]}
RightsRecord: {id, subject_id, right_type, holder_id, jurisdiction?, validity_period?}
CulturalContext: {id, region?, tradition?, period?, description?}
EvidenceSource: {id, uri?, publisher?, date?, reliability_notes?}
TYPED RELATIONSHIPS
COMPOSED_BY(MusicWork, Artist)
WRITTEN_BY(Lyrics, Artist)
PERFORMED_BY(Performance, Artist|Ensemble)
PERFORMANCE_OF(Performance, MusicWork)
RECORDING_OF(Recording, Performance|MusicWork)
RELEASE_CONTAINS(Release, Recording)
HAS_MOVEMENT(Composition, Movement)
HAS_PASSAGE(MusicWork, MusicalPassage)
USES_MOTIF(MusicalPassage, Motif)
USES_INSTRUMENT(Composition|Performance, Instrument)
NOTATED_AS(MusicWork, Score)
HAS_LYRICS(Song, Lyrics)
CLASSIFIED_AS(MusicWork|Recording|Artist, Genre|Style)
INFLUENCED_BY(Artist|MusicWork|Style, Artist|MusicWork|Style)
ASSOCIATED_WITH(MusicWork|Genre|Style, CulturalContext)
DERIVED_FROM(MusicWork, MusicWork)
ARRANGEMENT_OF(MusicWork, MusicWork)
HAS_RIGHTS(Work|Recording, RightsRecord)
SUPPORTED_BY(Assertion, EvidenceSource)
FLOW RULES
R1: IF PERFORMANCE_OF(p,w) AND PERFORMED_BY(p,a) THEN a is a performer of w in performance p; do not infer authorship.
R2: IF RECORDING_OF(r,p) AND PERFORMANCE_OF(p,w) THEN recording r documents a performance of work w.
R3: IF HAS_MOVEMENT(w,m) THEN m is a structural component of w; do not treat m as an independent work without separate identification.
R4: IF ARRANGEMENT_OF(a,w) THEN a and w are related works, not identical entities.
R5: IF CLASSIFIED_AS(w,g) AND parent_genre(g,g2) THEN g2 may be inferred as a broader genre, with taxonomy provenance.
R6: IF two recordings reference the same work THEN infer shared underlying work, not identical performance, master, or rights.
R7: IF INFLUENCED_BY(x,y) THEN preserve direction and evidence; influence is not equivalent to derivation.
R8: IF metadata conflicts THEN retain competing assertions with dates, sources, and confidence; do not overwrite silently.
CONFIDENCE
CONFIDENCE(assertion) = calibrated score in [0,1], conditional on source quality, agreement, identity resolution and context.
Never treat confidence as a substitute for primary evidence. Record uncertainty and unresolved attribution.
SEMANTIC_EQUIVALENCE
EXACT_EQUIVALENCE requires matching entity identity and compatible identifiers.
CLOSE_MATCH covers aliases, translations, and alternate spellings.
RELATED_TO covers covers, remixes, arrangements, performances, and recordings without collapsing their identities.
Disambiguate work, composition, performance, recording, release, and edition.
PROVENANCE
Each assertion: {subject, predicate, object, source_id, observed_at?, asserted_at, method, confidence, licence?}.
Preserve creator attribution, catalogue references, editions, and temporal corrections.
FLOW_HASH
FLOW_HASH = SHA256(canonical_utf8(ontology_version + sorted_entity_schema + sorted_relationship_schema + sorted_rules + source_references)).
Use deterministic ordering and normalisation; do not claim a hash has been computed until executed.
UPDATE_MODEL
1. Ingest validated source changes.
2. Resolve entities and aliases without merging distinct recordings or performances.
3. Check schema constraints and contradictions.
4. Version assertions and record provenance.
5. Recompute confidence and FLOW_HASH in an executing implementation.
6. Publish change log and preserve prior versions.
AI_CONSUMPTION
input: {query, entity_ids?, temporal_scope?, geographic_scope?, evidence_threshold?}
process: identify entities -> traverse typed relationships -> apply qualified rules -> check provenance -> return ranked evidence-backed interpretations.
output: {matched_entities[], relations[], inferred_assertions[], confidence[], provenance[], ambiguities[], ontology_version, flow_hash?}
constraints: no fabricated attribution; no inferred copyright ownership from performance; distinguish factual metadata from interpretive musical analysis.
END FLOW ALGEBRA