\n",
+ "\n",
+ "\"\"\""
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 19,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "def generate_resource(subject: rdflib.URIRef):\n",
+ " name = str(subject).split(\"/\")[-1]\n",
+ " resource_graph = rdflib.ConjunctiveGraph()\n",
+ " resource_graph.parse(data=rdf_template)\n",
+ " resource_path = ontology_path/name\n",
+ " resource_path.mkdir(exist_ok=True)\n",
+ " label = pmo.value(subject=subject, predicate=rdflib.RDFS.label)\n",
+ " if label is None:\n",
+ " label = name\n",
+ " definition = pmo.value(subject=subject, predicate=SKOS.definition)\n",
+ " raw_html = html_template.format(name=name, label=label, definition=definition)\n",
+ " index_path = resource_path/\"index.html\"\n",
+ " index_path.write_text(raw_html)\n",
+ " # Populate resource graph\n",
+ " for pred, obj in pmo.predicate_objects(subject=subject):\n",
+ " resource_graph.add((subject, pred, obj))\n",
+ " # Write RDF XML and Turtle serialization\n",
+ " rdf_path = resource_path/f\"{name}.rdf\"\n",
+ " rdf_path.write_bytes(resource_graph.serialize(format='xml'))\n",
+ " ttl_path = resource_path/f\"{name}.ttl\"\n",
+ " ttl_path.write_bytes(resource_graph.serialize(format='turtle'))\n",
+ " \n",
+ " \n",
+ " "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 15,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "pmo.value(subject=rdflib.URIRef('http://performedmusicontology.org/ontology/Concert45'), predicate=rdflib.RDFS.label)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 20,
+ "metadata": {
+ "collapsed": true,
+ "jupyter": {
+ "outputs_hidden": true
+ }
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "@prefix : .\n",
+ "@prefix owl: .\n",
+ "@prefix rdfs: .\n",
+ "@prefix skos: .\n",
+ "\n",
+ ":Audition a owl:Class ;\n",
+ " rdfs:label \"Audition\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Event in which a performer or actor is applying for a position in an ensemble, cast, film, etc.\" .\n",
+ "\n",
+ ":BenefitConcert a owl:Class ;\n",
+ " rdfs:subClassOf :Concert ;\n",
+ " skos:definition \"Concert held for charitable purposes, i.e., to raise funds or awareness\" .\n",
+ "\n",
+ ":Ceremony a owl:Class ;\n",
+ " rdfs:label \"Ceremony\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Ritual event, performed on special occasions (e.g., death, baptism, wedding, graduation, equinox, coronation, victory)\" .\n",
+ "\n",
+ ":CommandPerformance a owl:Class ;\n",
+ " rdfs:label \"Command performance\" ;\n",
+ " rdfs:subClassOf :Concert ;\n",
+ " skos:definition \"Concert or Performance done at the request of a monarch or other head of state.\" .\n",
+ "\n",
+ ":ConcertSeries a owl:Class ;\n",
+ " rdfs:label \"Concert series\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Group of concerts in the same geographic area by a single performer or brought together by a common theme, usually available for sale as a package. e.g., an orchestra concert season, a series featuring chamber ensembles.\" .\n",
+ "\n",
+ ":ConcertTour a owl:Class ;\n",
+ " rdfs:label \"Concert tour\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Series of concerts by a performer or group of performers in different cities, countries, or locations.\" .\n",
+ "\n",
+ ":DeclaredMedium a owl:Class ;\n",
+ " rdfs:label \"Declared medium\" ;\n",
+ " skos:definition \"Intended overall medium of performance of a musical work, as declared by the composer, a reference source, or other source.\" .\n",
+ "\n",
+ ":DiscCutting a owl:Class ;\n",
+ " rdfs:label \"Disc cutting process\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Recording process in which a stylus cuts a vertical or lateral groove into an audio disc.\" .\n",
+ "\n",
+ ":Discogs a owl:Class ;\n",
+ " rdfs:label \"Discogs ID\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Identifier from Discogs.\" .\n",
+ "\n",
+ ":DramaticRole a owl:Class ;\n",
+ " rdfs:label \"Dramatic role\" ;\n",
+ " rdfs:comment \"Example: the role of Carmen in the opera Carmen.\" ;\n",
+ " skos:definition \"Character of a performer in a dramatic work, such as an opera or play, as realized in a sound recording, a video, in text, etc.\" .\n",
+ "\n",
+ ":EnsembleMediumOfPerformance a owl:Class ;\n",
+ " rdfs:label \"Ensemble type\" ;\n",
+ " rdfs:comment \"Examples: orchestra, jazz combo, string quartet, percussion ensemble\" ;\n",
+ " rdfs:subClassOf :MediumOfPerformance ;\n",
+ " skos:definition \"Named group of like or unlike mediums of performance intended to be played by multiple performers.\" .\n",
+ "\n",
+ ":EventName a owl:Class ;\n",
+ " rdfs:label \"Event name\" ;\n",
+ " skos:definition \"Name given to an event.\" .\n",
+ "\n",
+ ":FirstPerformance a owl:Class ;\n",
+ " rdfs:label \"First performance\" ;\n",
+ " rdfs:subClassOf :Performance ;\n",
+ " skos:definition \"The first known performance of a work.\" .\n",
+ "\n",
+ ":IndividualMediumOfPerformance a owl:Class ;\n",
+ " rdfs:label \"Individual medium of performance\" ;\n",
+ " rdfs:comment \"Examples: flute, keyboard, pi pa, typewriter\",\n",
+ " \"Individual musical instrument, voice, or other object used as a medium of performance.\" ;\n",
+ " rdfs:subClassOf :MediumOfPerformance .\n",
+ "\n",
+ ":KeyMode a owl:Class ;\n",
+ " rdfs:label \"Music key and mode\" ;\n",
+ " rdfs:comment \"Examples: C major; B-flat minor\" ;\n",
+ " skos:definition \"Key and mode of a music work when used in combination.\" .\n",
+ "\n",
+ ":LivePerformance a owl:Class ;\n",
+ " rdfs:label \"Live performance\" ;\n",
+ " rdfs:subClassOf :Performance ;\n",
+ " skos:definition \"Live Performance that is recorded at a public event or in a single recording session.\" .\n",
+ "\n",
+ ":MasterClass a owl:Class ;\n",
+ " rdfs:label \"Master class\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Event in which a recognized performer critiques the performances of one or more other performers.\" .\n",
+ "\n",
+ ":MediumPartType a owl:Class ;\n",
+ " rdfs:label \"Part type\" ;\n",
+ " rdfs:comment \"Examples: solo, ad lib, optional, offstage, amplified\",\n",
+ " \"Use with MediumPart\" ;\n",
+ " skos:definition \"Specific role or type of a medium part\" .\n",
+ "\n",
+ ":MusicBrainz a owl:Class ;\n",
+ " rdfs:label \"MusicBrainz ID\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Identifier from MusicBrainz\" .\n",
+ "\n",
+ ":MusicPart a owl:Class ;\n",
+ " rdfs:label \"Music part\" ;\n",
+ " rdfs:comment \"Use with MediumPart\" ;\n",
+ " skos:definition \"Specific element within an overall declared or performed medium, e.g., Violin 1, Trumpet 2.\" .\n",
+ "\n",
+ ":OpenMicPerformance a owl:Class ;\n",
+ " rdfs:label \"Open mic performance\" ;\n",
+ " rdfs:subClassOf :Performance ;\n",
+ " skos:definition \"Live performance at a coffee house, night club, or other venue by amateur performers.\" .\n",
+ "\n",
+ ":OpusNumber a owl:Class ;\n",
+ " rdfs:label \"Opus number\" ;\n",
+ " rdfs:comment \"Example: The number 45 of Op. 45. No. 1\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Primary opus number for a musical work.\" .\n",
+ "\n",
+ ":OpusNumberPart a owl:Class ;\n",
+ " rdfs:label \"Opus number part\" ;\n",
+ " rdfs:comment \"Example: The number 1 of Op. 45, no. 1\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Number for a portion of an opus number.\" .\n",
+ "\n",
+ ":OpusNumberStatement a owl:Class ;\n",
+ " rdfs:label \"Opus number statement\" ;\n",
+ " rdfs:comment \"Example: Op. 45, no. 1\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Statement about the opus number for a musical work.\" .\n",
+ "\n",
+ ":PerformedMedium a owl:Class ;\n",
+ " rdfs:label \"Performed medium\" ;\n",
+ " skos:definition \"The overall medium of performance used in the performance of a musical work. This may or may not be the same as the declared medium of performance.\" .\n",
+ "\n",
+ ":RecordingSession a owl:Class ;\n",
+ " rdfs:label \"Recording session\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Event in which one or more performances are recorded with the aim of producing a recording for issue.\" .\n",
+ "\n",
+ ":Rehearsal a owl:Class ;\n",
+ " rdfs:label \"Rehearsal\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Event in which a performer or group of performers prepare for a performance.\" .\n",
+ "\n",
+ ":RismNumber a owl:Class ;\n",
+ " rdfs:label \"RISM number\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Number from the Repertoire Internationale des Sources Musicales (RISM) online version.\" .\n",
+ "\n",
+ ":Tempo a owl:Class ;\n",
+ " rdfs:label \"Tempo\" ;\n",
+ " skos:definition \"The speed or pace of a music work, whether declared (in a score) or performed.\" .\n",
+ "\n",
+ ":ThematicCatalogNumber a owl:Class ;\n",
+ " rdfs:label \"Thematic catalog number\" ;\n",
+ " rdfs:comment \"Example: 485 from BWV 485; 52:d1 from TWV 52:d1\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Numeric or alphanumeric designation of a musical work as found in a thematic index for the composer (without the identifying prefix).\" .\n",
+ "\n",
+ ":ThematicCatalogPrefix a owl:Class ;\n",
+ " rdfs:label \"Thematic catalog prefix\" ;\n",
+ " rdfs:comment \"Examples: BWV from BWV 485 (Bach); M.S. from M.S. 35 (Paganini).\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Prefix assigned to a thematic catalog number denoting thework from which the number originated.\" .\n",
+ "\n",
+ ":ThematicCatalogStatement a owl:Class ;\n",
+ " rdfs:label \"Thematic catalog number statement\" ;\n",
+ " rdfs:comment \"Example: BWV 485 (Bach); TWV 52:d1 (Telemann)\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Statement about the thematic catalog number for a musical work, including both the prefix and the numeric or alphanumeric parts.\" .\n",
+ "\n",
+ ":TonalCenter a owl:Class ;\n",
+ " rdfs:label \"Tonal center\" ;\n",
+ " rdfs:comment \"Examples: D, C##\" ;\n",
+ " skos:definition \"The tonal center of a music work, without mode\" .\n",
+ "\n",
+ ":VideogamePlatformIdentifier a owl:Class ;\n",
+ " rdfs:label \"Videogame platform identifier\" ;\n",
+ " rdfs:comment \"Example: CUSA 54321 (a PlayStation 4 number)\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Identifier assigned to a video game platform.\" .\n",
+ "\n",
+ ":WorkComponent a owl:Class ;\n",
+ " rdfs:label \"Work component\" ;\n",
+ " rdfs:comment \"Examples: A rondo from a 3-movement piano concerto; the first movement of a symphony; chapter 4 of a 10 chapter book\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"A work that is an integral part of another work, even when separated from it\" .\n",
+ "\n",
+ ":aggregatedIn a owl:ObjectProperty ;\n",
+ " owl:inverseOf :aggregates ;\n",
+ " skos:definition \"Property connecting an individual aggregated Instance to the Instance in which it is aggregated.\" .\n",
+ "\n",
+ ":asMemberOf a owl:ObjectProperty ;\n",
+ " rdfs:label \"as Member of\" ;\n",
+ " rdfs:comment \"Use with bf:Contribution\" ;\n",
+ " skos:definition \"Organization through which a person makes a contribution to a work or instance.\" .\n",
+ "\n",
+ ":associatedWith a owl:ObjectProperty,\n",
+ " owl:SymmetricProperty ;\n",
+ " rdfs:label \"associated with\" ;\n",
+ " rdfs:comment \"Example: the Bible used at a presidential inauguration\" ;\n",
+ " rdfs:subPropertyOf ;\n",
+ " skos:definition \"Event or Work that is associated in a general way with another event or work, instance or item.\" .\n",
+ "\n",
+ ":composedOf a owl:ObjectProperty ;\n",
+ " rdfs:label \"composed of\" ;\n",
+ " rdfs:comment \"Use with Thematic Identifer Statement, Opus Number Statement\" ;\n",
+ " skos:definition \"Portion of a multi-level identifier, such as a prefix or part number\" .\n",
+ "\n",
+ ":createdFor a owl:ObjectProperty ;\n",
+ " rdfs:label \"created for\" ;\n",
+ " rdfs:comment \"Example: a laudatory motet intended to be sung at the inauguration of a pope.\" ;\n",
+ " rdfs:domain ;\n",
+ " rdfs:subPropertyOf ;\n",
+ " skos:definition \"Event for which a work is created.\" .\n",
+ "\n",
+ ":hasDistinctPartCount a owl:DatatypeProperty ;\n",
+ " rdfs:label \"Number of distinct parts\" ;\n",
+ " rdfs:comment \"Example: A work for 2 flutes has a distinct part count of 2.\" ;\n",
+ " rdfs:range rdfs:Literal ;\n",
+ " skos:definition \"Number of distinct music parts in a Performed Medium, Declared Medium, or Medium Part that is not a named ensemble.\" .\n",
+ "\n",
+ ":hasDoublingMediumOfPerformance a owl:ObjectProperty ;\n",
+ " rdfs:label \"has Doubling Medium of Performance\" ;\n",
+ " rdfs:comment \"Use with MediumPart\" ;\n",
+ " skos:definition \"2 (or more) mediums of performance intended to be performed alternately or at the same time by a single performer\" .\n",
+ "\n",
+ ":hasDramaticRole a owl:ObjectProperty ;\n",
+ " rdfs:label \"has Dramatic Role\" ;\n",
+ " rdfs:comment \"Example: the role of Carmen in the opera Carmen.\" ;\n",
+ " skos:definition \"Property connecting a Contribution to the character of a performer in a dramatic work, such as an opera, play, or film.\" .\n",
+ "\n",
+ ":hasEnsembleCount a owl:DatatypeProperty ;\n",
+ " rdfs:label \"Number of ensembles\" ;\n",
+ " rdfs:comment \"Example: a work for 2 choruses and orchestra has an ensemble count of 3.\" ;\n",
+ " rdfs:range rdfs:Literal ;\n",
+ " skos:definition \"Number of named ensembles in a specified Declared Medium, Performed Medium, or Medium Part.\" .\n",
+ "\n",
+ ":hasEventName a owl:ObjectProperty ;\n",
+ " rdfs:label \"has Event Name\" ;\n",
+ " rdfs:domain ;\n",
+ " rdfs:subPropertyOf owl:topObjectProperty ;\n",
+ " skos:definition \"Name of an event, whether formal or created for metadata purposes\" .\n",
+ "\n",
+ ":hasInspiration a owl:ObjectProperty ;\n",
+ " rdfs:label \"has as Inspiration\" ;\n",
+ " rdfs:subPropertyOf ;\n",
+ " owl:inverseOf :inspirationFor ;\n",
+ " skos:definition \"Event that inspired the creation of a work.\" .\n",
+ "\n",
+ ":hasKeyMode a owl:ObjectProperty ;\n",
+ " rdfs:label \"has key and mode\" ;\n",
+ " rdfs:comment \"Example: E major, F minor\" ;\n",
+ " skos:definition \"Property linking a Work to a combination of a musical key and mode.\" .\n",
+ "\n",
+ ":hasMedium a owl:ObjectProperty ;\n",
+ " rdfs:label \"has Medium\" ;\n",
+ " skos:definition \"Property that links a Work or Performance to the Declared or Performed Medium.\" .\n",
+ "\n",
+ ":hasMediumOfPerformance a owl:ObjectProperty ;\n",
+ " rdfs:label \"has Medium Of Performance\" ;\n",
+ " rdfs:comment \"Examples: bass guitar; er hu; soprano; computer\" ;\n",
+ " skos:definition \"Specific medium of performance.\" .\n",
+ "\n",
+ ":hasMediumPart a owl:ObjectProperty ;\n",
+ " rdfs:label \"has Medium Part\" ;\n",
+ " rdfs:comment \"Examples: er hu, mixed chorus\",\n",
+ " \"Use with :DeclaredMedium or :PerformedMedium\" ;\n",
+ " rdfs:range :MediumPart ;\n",
+ " skos:definition \"Specific element within an overall declared or performed medium.\" .\n",
+ "\n",
+ ":hasMediumPartType a owl:ObjectProperty ;\n",
+ " rdfs:label \"has Medium Part Type\" ;\n",
+ " rdfs:comment \"Examples: solo, ad lib, optional, offstage, amplified\" ;\n",
+ " rdfs:domain :MediumPart ;\n",
+ " rdfs:subPropertyOf owl:topObjectProperty ;\n",
+ " skos:definition \"Property that links a a pmo:MediumPart to a specific role or type of part.\" .\n",
+ "\n",
+ ":hasMode a owl:ObjectProperty ;\n",
+ " rdfs:label \"has Mode\" ;\n",
+ " rdfs:domain ;\n",
+ " rdfs:range :Mode ;\n",
+ " skos:definition \"Property that links a Work to a musical Mode.\" .\n",
+ "\n",
+ ":hasMusicPart a owl:ObjectProperty ;\n",
+ " rdfs:label \"has Music Part\" ;\n",
+ " rdfs:comment \"Use with MediumPart\" ;\n",
+ " skos:definition \"Property linking MediumPart or bf:Contribution to the specific music parts within a single medium part e.g., Violin 1, Clarinet 2.\" .\n",
+ "\n",
+ ":hasNumberOfHands a owl:DatatypeProperty ;\n",
+ " rdfs:label \"Number of hands\" ;\n",
+ " rdfs:range rdfs:Literal ;\n",
+ " skos:definition \"Number of hands required for performance in works where more than one performer shares an instrument, such as piano, 4 hands, or where an atypical number of hands is specified, such as viola, 1 hand.\" .\n",
+ "\n",
+ ":hasOrder a owl:DatatypeProperty ;\n",
+ " rdfs:label \"Order in sequence\" ;\n",
+ " rdfs:range rdfs:Literal ;\n",
+ " skos:definition \"Order an aggregated instance appears in an aggregating instance, or the order a work component appears in a work.\" .\n",
+ "\n",
+ ":hasPerformance a owl:ObjectProperty ;\n",
+ " rdfs:label \"has Performance\" ;\n",
+ " rdfs:range :Performance ;\n",
+ " rdfs:subPropertyOf ;\n",
+ " owl:inverseOf :performanceOf ;\n",
+ " skos:definition \"Event that is a performance, either improvised or of a pre-existing work.\" .\n",
+ "\n",
+ ":hasPerformerCount a owl:DatatypeProperty ;\n",
+ " rdfs:label \"Number of performers\" ;\n",
+ " rdfs:range rdfs:Literal ;\n",
+ " skos:definition \"Actual number of individual performers performing a Declared Medium, Performed Medium, Medium Part, or Music Part.\" .\n",
+ "\n",
+ ":hasRecording a owl:ObjectProperty ;\n",
+ " rdfs:label \"has Recording\" ;\n",
+ " rdfs:domain ;\n",
+ " rdfs:range ;\n",
+ " rdfs:subPropertyOf ;\n",
+ " owl:inverseOf :recordingOf ;\n",
+ " skos:definition \"Audio or video work created from the recording of event content.\" .\n",
+ "\n",
+ ":hasRequiredPerformerCount a owl:DatatypeProperty ;\n",
+ " rdfs:label \"Suggested number of performers\" ;\n",
+ " rdfs:comment \"Example: A string quartet has a required performer count of 4.\" ;\n",
+ " rdfs:range rdfs:Literal ;\n",
+ " skos:definition \"Minimum or suggested number of performers required to perform a Declared Medium, Performed Medium, Medium Part, or Music Part.\" .\n",
+ "\n",
+ ":hasTempo a owl:ObjectProperty ;\n",
+ " rdfs:label \"has Tempo\" ;\n",
+ " skos:definition \"The speed or pace of a music work, whether declared (in a score) or performed.\" .\n",
+ "\n",
+ ":hasTonalCenter a owl:ObjectProperty ;\n",
+ " rdfs:label \"has Tonal Center\" ;\n",
+ " skos:definition \"Property that links Work to its Tonal Center\" .\n",
+ "\n",
+ ":hasTrackNumber a owl:DatatypeProperty ;\n",
+ " rdfs:label \"Track number\" ;\n",
+ " rdfs:range rdfs:Literal ;\n",
+ " skos:definition \"Track number(s) of a compiled audio work on a sound recording.\" .\n",
+ "\n",
+ ":phonogramCopyrightDate a owl:DatatypeProperty ;\n",
+ " rdfs:label \"Phonogram copyright date\" ;\n",
+ " rdfs:subPropertyOf ;\n",
+ " skos:definition \"Phonogram copyright date for a sound recording.\" .\n",
+ "\n",
+ ": a owl:Ontology ;\n",
+ " owl:versionIRI : .\n",
+ "\n",
+ ":Mode a owl:Class ;\n",
+ " rdfs:label \"Music mode\" ;\n",
+ " rdfs:comment \"Examples: Dorian, Dhaivata\" ;\n",
+ " skos:definition \"Musical mode of a music work.\" .\n",
+ "\n",
+ ":aggregates a owl:ObjectProperty ;\n",
+ " rdfs:subPropertyOf owl:topObjectProperty ;\n",
+ " skos:definition \"Property connecting an aggregating instance to an individual instance that it aggregates.\" .\n",
+ "\n",
+ ":inspirationFor a owl:ObjectProperty ;\n",
+ " rdfs:label \"Inspiration for\" ;\n",
+ " rdfs:subPropertyOf ;\n",
+ " skos:definition \"Work that is inspired by an event.\" .\n",
+ "\n",
+ ":performanceOf a owl:ObjectProperty ;\n",
+ " rdfs:label \"Performance of\" ;\n",
+ " rdfs:domain :Performance ;\n",
+ " rdfs:range ;\n",
+ " rdfs:subPropertyOf ;\n",
+ " skos:definition \"Work that is realized through a performance.\" .\n",
+ "\n",
+ ":recordingOf a owl:ObjectProperty ;\n",
+ " rdfs:label \"Recording of\" ;\n",
+ " rdfs:domain ;\n",
+ " rdfs:range ;\n",
+ " rdfs:subPropertyOf ;\n",
+ " skos:definition \"Audio or video work created from the recording of event content.\" .\n",
+ "\n",
+ ":Concert a owl:Class ;\n",
+ " rdfs:label \"Concert\" ;\n",
+ " rdfs:subClassOf ;\n",
+ " skos:definition \"Live musical performance of one or more works in front of an audience or in a single recording session\" .\n",
+ "\n",
+ ":MediumOfPerformance a owl:Class ;\n",
+ " rdfs:label \"Medium of performance\" ;\n",
+ " skos:definition \"Instruments, voices, ensembles, choruses, and other participants (actors, dancers, etc.) required for, or performing in, an event or work, including electronics, computers, installations, etc.\" .\n",
+ "\n",
+ ":MediumPart a owl:Class ;\n",
+ " rdfs:label \"Medium part\" ;\n",
+ " rdfs:comment \"Example: a string quartet has 3 medium parts: the violins; the viola; the cello\",\n",
+ " \"Use with DeclaredMedium, PerformedMedium\" ;\n",
+ " skos:definition \"Medium of performance, type, etc., of a specific part of the declared or performed medium.\" .\n",
+ "\n",
+ ":Performance a owl:Class ;\n",
+ " rdfs:label \"Performance\" ;\n",
+ " rdfs:subClassOf ,\n",
+ " ;\n",
+ " skos:definition \"Event in which a performer or group of performers perform an improvisation or pre-existing work to an audience or in a recording studio.\" .\n",
+ "\n",
+ "\n"
+ ]
+ }
+ ],
+ "source": [
+ "print(pmo.serialize(format='turtle').decode())"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 33,
+ "metadata": {
+ "collapsed": true,
+ "jupyter": {
+ "outputs_hidden": true
+ }
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Adding http://www.w3.org/2002/07/owl#Class\n",
+ "Concert\n",
+ "EventName\n",
+ "BenefitConcert\n",
+ "PerformedMedium\n",
+ "Audition\n",
+ "MediumPartType\n",
+ "OpusNumberStatement\n",
+ "ThematicCatalogPrefix\n",
+ "Mode\n",
+ "LivePerformance\n",
+ "DeclaredMedium\n",
+ "MediumOfPerformance\n",
+ "RismNumber\n",
+ "ThematicCatalogStatement\n",
+ "VideogamePlatformIdentifier\n",
+ "MediumPart\n",
+ "Tempo\n",
+ "RecordingSession\n",
+ "ThematicCatalogNumber\n",
+ "OpenMicPerformance\n",
+ "IndividualMediumOfPerformance\n",
+ "ConcertSeries\n",
+ "CommandPerformance\n",
+ "OpusNumber\n",
+ "OpusNumberPart\n",
+ "ConcertTour\n",
+ "Rehearsal\n",
+ "FirstPerformance\n",
+ "WorkComponent\n",
+ "MasterClass\n",
+ "EnsembleMediumOfPerformance\n",
+ "MusicBrainz\n",
+ "Performance\n",
+ "DramaticRole\n",
+ "TonalCenter\n",
+ "DiscCutting\n",
+ "Ceremony\n",
+ "Discogs\n",
+ "KeyMode\n",
+ "MusicPart\n",
+ "Adding http://www.w3.org/2002/07/owl#ObjectProperty\n",
+ "hasMode\n",
+ "hasTempo\n",
+ "hasMediumPart\n",
+ "hasMediumOfPerformance\n",
+ "hasMedium\n",
+ "hasInspiration\n",
+ "aggregatedIn\n",
+ "hasDoublingMediumOfPerformance\n",
+ "hasEventName\n",
+ "hasDramaticRole\n",
+ "hasTonalCenter\n",
+ "recordingOf\n",
+ "inspirationFor\n",
+ "hasKeyMode\n",
+ "hasRecording\n",
+ "hasPerformance\n",
+ "performanceOf\n",
+ "createdFor\n",
+ "aggregates\n",
+ "composedOf\n",
+ "hasMediumPartType\n",
+ "associatedWith\n",
+ "hasMusicPart\n",
+ "asMemberOf\n",
+ "Adding http://www.w3.org/2002/07/owl#DatatypeProperty\n",
+ "hasTrackNumber\n",
+ "phonogramCopyrightDate\n",
+ "hasRequiredPerformerCount\n",
+ "hasNumberOfHands\n",
+ "hasOrder\n",
+ "hasPerformerCount\n",
+ "hasEnsembleCount\n",
+ "hasDistinctPartCount\n"
+ ]
+ }
+ ],
+ "source": [
+ "for rdf_type in [OWL.Class, OWL.ObjectProperty, OWL.DatatypeProperty]:\n",
+ " print(f\"Adding {rdf_type}\")\n",
+ " for s in pmo.subjects(object=rdf_type):\n",
+ " generate_resource(s)\n",
+ " print(str(s).split(\"/\")[-1])"
+ ]
+ },
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 71,
"metadata": {},
"outputs": [],
- "source": []
+ "source": [
+ "def generate_home_html():\n",
+ " base_html_template = \"\"\"\n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ "
\\n\"\n",
+ " base_html_template += \"\\n\\n
+
+
+ Event in which a performer or actor is applying for a position in an ensemble, cast, film, etc.
+
+ Audition
+
+
+
diff --git a/ontology/Audition/Audition.ttl b/ontology/Audition/Audition.ttl
new file mode 100644
index 0000000..129a866
--- /dev/null
+++ b/ontology/Audition/Audition.ttl
@@ -0,0 +1,8 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Audition" ;
+ rdfs:subClassOf ;
+ skos:definition "Event in which a performer or actor is applying for a position in an ensemble, cast, film, etc." .
+
diff --git a/ontology/Audition/index.html b/ontology/Audition/index.html
new file mode 100644
index 0000000..f0e5e85
--- /dev/null
+++ b/ontology/Audition/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Audition
+
Event in which a performer or actor is applying for a position in an ensemble, cast, film, etc.
+
+
+
\ No newline at end of file
diff --git a/ontology/CommandPerformance/CommandPerformance.rdf b/ontology/CommandPerformance/CommandPerformance.rdf
new file mode 100644
index 0000000..b946d5b
--- /dev/null
+++ b/ontology/CommandPerformance/CommandPerformance.rdf
@@ -0,0 +1,13 @@
+
+
+
+
+ Concert or Performance done at the request of a monarch or other head of state.
+ Command performance
+
+
+
diff --git a/ontology/CommandPerformance/CommandPerformance.ttl b/ontology/CommandPerformance/CommandPerformance.ttl
new file mode 100644
index 0000000..3cce4ef
--- /dev/null
+++ b/ontology/CommandPerformance/CommandPerformance.ttl
@@ -0,0 +1,8 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Command performance" ;
+ rdfs:subClassOf ;
+ skos:definition "Concert or Performance done at the request of a monarch or other head of state." .
+
diff --git a/ontology/CommandPerformance/index.html b/ontology/CommandPerformance/index.html
new file mode 100644
index 0000000..52af36c
--- /dev/null
+++ b/ontology/CommandPerformance/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Command performance
+
Concert or Performance done at the request of a monarch or other head of state.
+
+
+
\ No newline at end of file
diff --git a/ontology/Concert/Concert.rdf b/ontology/Concert/Concert.rdf
new file mode 100644
index 0000000..e9de39f
--- /dev/null
+++ b/ontology/Concert/Concert.rdf
@@ -0,0 +1,13 @@
+
+
+
+
+
+ Live musical performance of one or more works in front of an audience or in a single recording session
+ Concert
+
+
diff --git a/ontology/Concert/Concert.ttl b/ontology/Concert/Concert.ttl
new file mode 100644
index 0000000..4b38c63
--- /dev/null
+++ b/ontology/Concert/Concert.ttl
@@ -0,0 +1,8 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Concert" ;
+ rdfs:subClassOf ;
+ skos:definition "Live musical performance of one or more works in front of an audience or in a single recording session" .
+
diff --git a/ontology/Concert/index.html b/ontology/Concert/index.html
new file mode 100644
index 0000000..e488b94
--- /dev/null
+++ b/ontology/Concert/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Concert
+
Live musical performance of one or more works in front of an audience or in a single recording session
+
+
+
\ No newline at end of file
diff --git a/ontology/ConcertSeries/ConcertSeries.rdf b/ontology/ConcertSeries/ConcertSeries.rdf
new file mode 100644
index 0000000..790d687
--- /dev/null
+++ b/ontology/ConcertSeries/ConcertSeries.rdf
@@ -0,0 +1,13 @@
+
+
+
+ Concert series
+
+
+ Group of concerts in the same geographic area by a single performer or brought together by a common theme, usually available for sale as a package. e.g., an orchestra concert season, a series featuring chamber ensembles.
+
+
diff --git a/ontology/ConcertSeries/ConcertSeries.ttl b/ontology/ConcertSeries/ConcertSeries.ttl
new file mode 100644
index 0000000..38a1c57
--- /dev/null
+++ b/ontology/ConcertSeries/ConcertSeries.ttl
@@ -0,0 +1,8 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Concert series" ;
+ rdfs:subClassOf ;
+ skos:definition "Group of concerts in the same geographic area by a single performer or brought together by a common theme, usually available for sale as a package. e.g., an orchestra concert season, a series featuring chamber ensembles." .
+
diff --git a/ontology/ConcertSeries/index.html b/ontology/ConcertSeries/index.html
new file mode 100644
index 0000000..6a2485f
--- /dev/null
+++ b/ontology/ConcertSeries/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Concert series
+
Group of concerts in the same geographic area by a single performer or brought together by a common theme, usually available for sale as a package. e.g., an orchestra concert season, a series featuring chamber ensembles.
+
+
+
\ No newline at end of file
diff --git a/ontology/ConcertTour/ConcertTour.rdf b/ontology/ConcertTour/ConcertTour.rdf
new file mode 100644
index 0000000..d9c0b8f
--- /dev/null
+++ b/ontology/ConcertTour/ConcertTour.rdf
@@ -0,0 +1,13 @@
+
+
+
+ Series of concerts by a performer or group of performers in different cities, countries, or locations.
+
+ Concert tour
+
+
+
diff --git a/ontology/ConcertTour/ConcertTour.ttl b/ontology/ConcertTour/ConcertTour.ttl
new file mode 100644
index 0000000..5ae578d
--- /dev/null
+++ b/ontology/ConcertTour/ConcertTour.ttl
@@ -0,0 +1,8 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Concert tour" ;
+ rdfs:subClassOf ;
+ skos:definition "Series of concerts by a performer or group of performers in different cities, countries, or locations." .
+
diff --git a/ontology/ConcertTour/index.html b/ontology/ConcertTour/index.html
new file mode 100644
index 0000000..092f5df
--- /dev/null
+++ b/ontology/ConcertTour/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Concert tour
+
Series of concerts by a performer or group of performers in different cities, countries, or locations.
+
+ Documentation at Concert tour.
+ Other versions:
+
+
+
+
\ No newline at end of file
diff --git a/ontology/DeclaredMedium/DeclaredMedium.rdf b/ontology/DeclaredMedium/DeclaredMedium.rdf
new file mode 100644
index 0000000..e08364a
--- /dev/null
+++ b/ontology/DeclaredMedium/DeclaredMedium.rdf
@@ -0,0 +1,12 @@
+
+
+
+
+ Declared medium
+ Intended overall medium of performance of a musical work, as declared by the composer, a reference source, or other source.
+
+
diff --git a/ontology/DeclaredMedium/DeclaredMedium.ttl b/ontology/DeclaredMedium/DeclaredMedium.ttl
new file mode 100644
index 0000000..9e37e43
--- /dev/null
+++ b/ontology/DeclaredMedium/DeclaredMedium.ttl
@@ -0,0 +1,7 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Declared medium" ;
+ skos:definition "Intended overall medium of performance of a musical work, as declared by the composer, a reference source, or other source." .
+
diff --git a/ontology/DeclaredMedium/index.html b/ontology/DeclaredMedium/index.html
new file mode 100644
index 0000000..7983d47
--- /dev/null
+++ b/ontology/DeclaredMedium/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Declared medium
+
Intended overall medium of performance of a musical work, as declared by the composer, a reference source, or other source.
+
+
+
\ No newline at end of file
diff --git a/ontology/DramaticRole/DramaticRole.rdf b/ontology/DramaticRole/DramaticRole.rdf
new file mode 100644
index 0000000..5058162
--- /dev/null
+++ b/ontology/DramaticRole/DramaticRole.rdf
@@ -0,0 +1,13 @@
+
+
+
+ Character of a performer in a dramatic work, such as an opera or play, as realized in a sound recording, a video, in text, etc.
+ Example: the role of Carmen in the opera Carmen.
+ Dramatic role
+
+
+
diff --git a/ontology/DramaticRole/DramaticRole.ttl b/ontology/DramaticRole/DramaticRole.ttl
new file mode 100644
index 0000000..48a92f9
--- /dev/null
+++ b/ontology/DramaticRole/DramaticRole.ttl
@@ -0,0 +1,8 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Dramatic role" ;
+ rdfs:comment "Example: the role of Carmen in the opera Carmen." ;
+ skos:definition "Character of a performer in a dramatic work, such as an opera or play, as realized in a sound recording, a video, in text, etc." .
+
diff --git a/ontology/DramaticRole/index.html b/ontology/DramaticRole/index.html
new file mode 100644
index 0000000..be598ea
--- /dev/null
+++ b/ontology/DramaticRole/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Dramatic role
+
Character of a performer in a dramatic work, such as an opera or play, as realized in a sound recording, a video, in text, etc.
+
+ Documentation at Dramatic role.
+ Other versions:
+
+
+
+
\ No newline at end of file
diff --git a/ontology/EnsembleMediumOfPerformance/EnsembleMediumOfPerformance.rdf b/ontology/EnsembleMediumOfPerformance/EnsembleMediumOfPerformance.rdf
new file mode 100644
index 0000000..0b239bc
--- /dev/null
+++ b/ontology/EnsembleMediumOfPerformance/EnsembleMediumOfPerformance.rdf
@@ -0,0 +1,14 @@
+
+
+
+ Named group of like or unlike mediums of performance intended to be played by multiple performers.
+
+ Examples: orchestra, jazz combo, string quartet, percussion ensemble
+ Ensemble type
+
+
+
diff --git a/ontology/EnsembleMediumOfPerformance/EnsembleMediumOfPerformance.ttl b/ontology/EnsembleMediumOfPerformance/EnsembleMediumOfPerformance.ttl
new file mode 100644
index 0000000..4f3a10f
--- /dev/null
+++ b/ontology/EnsembleMediumOfPerformance/EnsembleMediumOfPerformance.ttl
@@ -0,0 +1,9 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Ensemble type" ;
+ rdfs:comment "Examples: orchestra, jazz combo, string quartet, percussion ensemble" ;
+ rdfs:subClassOf ;
+ skos:definition "Named group of like or unlike mediums of performance intended to be played by multiple performers." .
+
diff --git a/ontology/EnsembleMediumOfPerformance/index.html b/ontology/EnsembleMediumOfPerformance/index.html
new file mode 100644
index 0000000..84dddea
--- /dev/null
+++ b/ontology/EnsembleMediumOfPerformance/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Ensemble type
+
Named group of like or unlike mediums of performance intended to be played by multiple performers.
+
+ Documentation at Ensemble type.
+ Other versions:
+
+
+
+
\ No newline at end of file
diff --git a/ontology/IndividualMediumOfPerformance/IndividualMediumOfPerformance.rdf b/ontology/IndividualMediumOfPerformance/IndividualMediumOfPerformance.rdf
new file mode 100644
index 0000000..667bb18
--- /dev/null
+++ b/ontology/IndividualMediumOfPerformance/IndividualMediumOfPerformance.rdf
@@ -0,0 +1,13 @@
+
+
+
+ Individual musical instrument, voice, or other object used as a medium of performance.
+
+ Individual medium of performance
+
+ Examples: flute, keyboard, pi pa, typewriter
+
+
diff --git a/ontology/IndividualMediumOfPerformance/IndividualMediumOfPerformance.ttl b/ontology/IndividualMediumOfPerformance/IndividualMediumOfPerformance.ttl
new file mode 100644
index 0000000..95c838b
--- /dev/null
+++ b/ontology/IndividualMediumOfPerformance/IndividualMediumOfPerformance.ttl
@@ -0,0 +1,8 @@
+@prefix rdfs: .
+
+ a ;
+ rdfs:label "Individual medium of performance" ;
+ rdfs:comment "Examples: flute, keyboard, pi pa, typewriter",
+ "Individual musical instrument, voice, or other object used as a medium of performance." ;
+ rdfs:subClassOf .
+
diff --git a/ontology/IndividualMediumOfPerformance/index.html b/ontology/IndividualMediumOfPerformance/index.html
new file mode 100644
index 0000000..7938883
--- /dev/null
+++ b/ontology/IndividualMediumOfPerformance/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ontology/KeyMode/KeyMode.rdf b/ontology/KeyMode/KeyMode.rdf
new file mode 100644
index 0000000..f331290
--- /dev/null
+++ b/ontology/KeyMode/KeyMode.rdf
@@ -0,0 +1,13 @@
+
+
+
+
+ Key and mode of a music work when used in combination.
+ Music key and mode
+ Examples: C major; B-flat minor
+
+
diff --git a/ontology/KeyMode/KeyMode.ttl b/ontology/KeyMode/KeyMode.ttl
new file mode 100644
index 0000000..acbbe19
--- /dev/null
+++ b/ontology/KeyMode/KeyMode.ttl
@@ -0,0 +1,8 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Music key and mode" ;
+ rdfs:comment "Examples: C major; B-flat minor" ;
+ skos:definition "Key and mode of a music work when used in combination." .
+
diff --git a/ontology/KeyMode/index.html b/ontology/KeyMode/index.html
new file mode 100644
index 0000000..dce6af2
--- /dev/null
+++ b/ontology/KeyMode/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Music key and mode
+
Key and mode of a music work when used in combination.
+
+
+
\ No newline at end of file
diff --git a/ontology/LivePerformance/LivePerformance.rdf b/ontology/LivePerformance/LivePerformance.rdf
new file mode 100644
index 0000000..9250563
--- /dev/null
+++ b/ontology/LivePerformance/LivePerformance.rdf
@@ -0,0 +1,13 @@
+
+
+
+
+ Live Performance that is recorded at a public event or in a single recording session.
+
+ Live performance
+
+
diff --git a/ontology/LivePerformance/LivePerformance.ttl b/ontology/LivePerformance/LivePerformance.ttl
new file mode 100644
index 0000000..d07d3bc
--- /dev/null
+++ b/ontology/LivePerformance/LivePerformance.ttl
@@ -0,0 +1,8 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Live performance" ;
+ rdfs:subClassOf ;
+ skos:definition "Live Performance that is recorded at a public event or in a single recording session." .
+
diff --git a/ontology/LivePerformance/index.html b/ontology/LivePerformance/index.html
new file mode 100644
index 0000000..f2a7dfc
--- /dev/null
+++ b/ontology/LivePerformance/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Live performance
+
Live Performance that is recorded at a public event or in a single recording session.
+
+
+
\ No newline at end of file
diff --git a/ontology/MasterClass/MasterClass.rdf b/ontology/MasterClass/MasterClass.rdf
new file mode 100644
index 0000000..2e3862b
--- /dev/null
+++ b/ontology/MasterClass/MasterClass.rdf
@@ -0,0 +1,13 @@
+
+
+
+
+
+ Event in which a recognized performer critiques the performances of one or more other performers.
+ Master class
+
+
diff --git a/ontology/MasterClass/MasterClass.ttl b/ontology/MasterClass/MasterClass.ttl
new file mode 100644
index 0000000..f58650c
--- /dev/null
+++ b/ontology/MasterClass/MasterClass.ttl
@@ -0,0 +1,8 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Master class" ;
+ rdfs:subClassOf ;
+ skos:definition "Event in which a recognized performer critiques the performances of one or more other performers." .
+
diff --git a/ontology/MasterClass/index.html b/ontology/MasterClass/index.html
new file mode 100644
index 0000000..45b9ea0
--- /dev/null
+++ b/ontology/MasterClass/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Master class
+
Event in which a recognized performer critiques the performances of one or more other performers.
+
+ Documentation at Master class.
+ Other versions:
+
+
+
+
\ No newline at end of file
diff --git a/ontology/MediumOfPerformance/MediumOfPerformance.rdf b/ontology/MediumOfPerformance/MediumOfPerformance.rdf
new file mode 100644
index 0000000..276d773
--- /dev/null
+++ b/ontology/MediumOfPerformance/MediumOfPerformance.rdf
@@ -0,0 +1,12 @@
+
+
+
+
+ Instruments, voices, ensembles, choruses, and other participants (actors, dancers, etc.) required for, or performing in, an event or work, including electronics, computers, installations, etc.
+ Medium of performance
+
+
diff --git a/ontology/MediumOfPerformance/MediumOfPerformance.ttl b/ontology/MediumOfPerformance/MediumOfPerformance.ttl
new file mode 100644
index 0000000..b2781b4
--- /dev/null
+++ b/ontology/MediumOfPerformance/MediumOfPerformance.ttl
@@ -0,0 +1,7 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Medium of performance" ;
+ skos:definition "Instruments, voices, ensembles, choruses, and other participants (actors, dancers, etc.) required for, or performing in, an event or work, including electronics, computers, installations, etc." .
+
diff --git a/ontology/MediumOfPerformance/index.html b/ontology/MediumOfPerformance/index.html
new file mode 100644
index 0000000..a77a331
--- /dev/null
+++ b/ontology/MediumOfPerformance/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Medium of performance
+
Instruments, voices, ensembles, choruses, and other participants (actors, dancers, etc.) required for, or performing in, an event or work, including electronics, computers, installations, etc.
+
+
+
\ No newline at end of file
diff --git a/ontology/MediumPart/MediumPart.rdf b/ontology/MediumPart/MediumPart.rdf
new file mode 100644
index 0000000..d24784b
--- /dev/null
+++ b/ontology/MediumPart/MediumPart.rdf
@@ -0,0 +1,14 @@
+
+
+
+ Medium part
+ Use with DeclaredMedium, PerformedMedium
+
+ Example: a string quartet has 3 medium parts: the violins; the viola; the cello
+ Medium of performance, type, etc., of a specific part of the declared or performed medium.
+
+
diff --git a/ontology/MediumPart/MediumPart.ttl b/ontology/MediumPart/MediumPart.ttl
new file mode 100644
index 0000000..288103b
--- /dev/null
+++ b/ontology/MediumPart/MediumPart.ttl
@@ -0,0 +1,9 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Medium part" ;
+ rdfs:comment "Example: a string quartet has 3 medium parts: the violins; the viola; the cello",
+ "Use with DeclaredMedium, PerformedMedium" ;
+ skos:definition "Medium of performance, type, etc., of a specific part of the declared or performed medium." .
+
diff --git a/ontology/MediumPart/index.html b/ontology/MediumPart/index.html
new file mode 100644
index 0000000..26977b0
--- /dev/null
+++ b/ontology/MediumPart/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Medium part
+
Medium of performance, type, etc., of a specific part of the declared or performed medium.
+
+ Documentation at Medium part.
+ Other versions:
+
+
+
+
\ No newline at end of file
diff --git a/ontology/MediumPartType/MediumPartType.rdf b/ontology/MediumPartType/MediumPartType.rdf
new file mode 100644
index 0000000..76123c9
--- /dev/null
+++ b/ontology/MediumPartType/MediumPartType.rdf
@@ -0,0 +1,14 @@
+
+
+
+ Use with MediumPart
+ Specific role or type of a medium part
+ Examples: solo, ad lib, optional, offstage, amplified
+
+ Part type
+
+
diff --git a/ontology/MediumPartType/MediumPartType.ttl b/ontology/MediumPartType/MediumPartType.ttl
new file mode 100644
index 0000000..46c9de2
--- /dev/null
+++ b/ontology/MediumPartType/MediumPartType.ttl
@@ -0,0 +1,9 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Part type" ;
+ rdfs:comment "Examples: solo, ad lib, optional, offstage, amplified",
+ "Use with MediumPart" ;
+ skos:definition "Specific role or type of a medium part" .
+
diff --git a/ontology/MediumPartType/index.html b/ontology/MediumPartType/index.html
new file mode 100644
index 0000000..31d9842
--- /dev/null
+++ b/ontology/MediumPartType/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ontology/OpusNumberPart/OpusNumberPart.rdf b/ontology/OpusNumberPart/OpusNumberPart.rdf
new file mode 100644
index 0000000..00b56bf
--- /dev/null
+++ b/ontology/OpusNumberPart/OpusNumberPart.rdf
@@ -0,0 +1,14 @@
+
+
+
+
+ Example: The number 1 of Op. 45, no. 1
+
+ Opus number part
+ Number for a portion of an opus number.
+
+
diff --git a/ontology/OpusNumberPart/OpusNumberPart.ttl b/ontology/OpusNumberPart/OpusNumberPart.ttl
new file mode 100644
index 0000000..960cccd
--- /dev/null
+++ b/ontology/OpusNumberPart/OpusNumberPart.ttl
@@ -0,0 +1,9 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Opus number part" ;
+ rdfs:comment "Example: The number 1 of Op. 45, no. 1" ;
+ rdfs:subClassOf ;
+ skos:definition "Number for a portion of an opus number." .
+
diff --git a/ontology/OpusNumberPart/index.html b/ontology/OpusNumberPart/index.html
new file mode 100644
index 0000000..ef4d2ef
--- /dev/null
+++ b/ontology/OpusNumberPart/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ontology/Performance/Performance.rdf b/ontology/Performance/Performance.rdf
new file mode 100644
index 0000000..2ae72aa
--- /dev/null
+++ b/ontology/Performance/Performance.rdf
@@ -0,0 +1,14 @@
+
+
+
+ Performance
+
+
+ Event in which a performer or group of performers perform an improvisation or pre-existing work to an audience or in a recording studio.
+
+
+
diff --git a/ontology/Performance/Performance.ttl b/ontology/Performance/Performance.ttl
new file mode 100644
index 0000000..ed1352e
--- /dev/null
+++ b/ontology/Performance/Performance.ttl
@@ -0,0 +1,9 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Performance" ;
+ rdfs:subClassOf ,
+ ;
+ skos:definition "Event in which a performer or group of performers perform an improvisation or pre-existing work to an audience or in a recording studio." .
+
diff --git a/ontology/Performance/index.html b/ontology/Performance/index.html
new file mode 100644
index 0000000..fff1462
--- /dev/null
+++ b/ontology/Performance/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Performance
+
Event in which a performer or group of performers perform an improvisation or pre-existing work to an audience or in a recording studio.
+
+ Documentation at Performance.
+ Other versions:
+
+
+
+
\ No newline at end of file
diff --git a/ontology/PerformedMedium/PerformedMedium.rdf b/ontology/PerformedMedium/PerformedMedium.rdf
new file mode 100644
index 0000000..4adfe23
--- /dev/null
+++ b/ontology/PerformedMedium/PerformedMedium.rdf
@@ -0,0 +1,12 @@
+
+
+
+
+ The overall medium of performance used in the performance of a musical work. This may or may not be the same as the declared medium of performance.
+ Performed medium
+
+
diff --git a/ontology/PerformedMedium/PerformedMedium.ttl b/ontology/PerformedMedium/PerformedMedium.ttl
new file mode 100644
index 0000000..2ba2919
--- /dev/null
+++ b/ontology/PerformedMedium/PerformedMedium.ttl
@@ -0,0 +1,7 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Performed medium" ;
+ skos:definition "The overall medium of performance used in the performance of a musical work. This may or may not be the same as the declared medium of performance." .
+
diff --git a/ontology/PerformedMedium/index.html b/ontology/PerformedMedium/index.html
new file mode 100644
index 0000000..95483c3
--- /dev/null
+++ b/ontology/PerformedMedium/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Performed medium
+
The overall medium of performance used in the performance of a musical work. This may or may not be the same as the declared medium of performance.
+
+
+
\ No newline at end of file
diff --git a/ontology/RecordingSession/RecordingSession.rdf b/ontology/RecordingSession/RecordingSession.rdf
new file mode 100644
index 0000000..8b221ab
--- /dev/null
+++ b/ontology/RecordingSession/RecordingSession.rdf
@@ -0,0 +1,13 @@
+
+
+
+
+ Recording session
+
+ Event in which one or more performances are recorded with the aim of producing a recording for issue.
+
+
diff --git a/ontology/RecordingSession/RecordingSession.ttl b/ontology/RecordingSession/RecordingSession.ttl
new file mode 100644
index 0000000..4d0a630
--- /dev/null
+++ b/ontology/RecordingSession/RecordingSession.ttl
@@ -0,0 +1,8 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Recording session" ;
+ rdfs:subClassOf ;
+ skos:definition "Event in which one or more performances are recorded with the aim of producing a recording for issue." .
+
diff --git a/ontology/RecordingSession/index.html b/ontology/RecordingSession/index.html
new file mode 100644
index 0000000..7d50028
--- /dev/null
+++ b/ontology/RecordingSession/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Recording session
+
Event in which one or more performances are recorded with the aim of producing a recording for issue.
+
+
+
\ No newline at end of file
diff --git a/ontology/Rehearsal/Rehearsal.rdf b/ontology/Rehearsal/Rehearsal.rdf
new file mode 100644
index 0000000..c624c30
--- /dev/null
+++ b/ontology/Rehearsal/Rehearsal.rdf
@@ -0,0 +1,13 @@
+
+
+
+ Rehearsal
+ Event in which a performer or group of performers prepare for a performance.
+
+
+
+
diff --git a/ontology/Rehearsal/Rehearsal.ttl b/ontology/Rehearsal/Rehearsal.ttl
new file mode 100644
index 0000000..72697dc
--- /dev/null
+++ b/ontology/Rehearsal/Rehearsal.ttl
@@ -0,0 +1,8 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Rehearsal" ;
+ rdfs:subClassOf ;
+ skos:definition "Event in which a performer or group of performers prepare for a performance." .
+
diff --git a/ontology/Rehearsal/index.html b/ontology/Rehearsal/index.html
new file mode 100644
index 0000000..6ad4e3d
--- /dev/null
+++ b/ontology/Rehearsal/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Rehearsal
+
Event in which a performer or group of performers prepare for a performance.
+
+
+
\ No newline at end of file
diff --git a/ontology/Tempo/Tempo.rdf b/ontology/Tempo/Tempo.rdf
new file mode 100644
index 0000000..1b5ad37
--- /dev/null
+++ b/ontology/Tempo/Tempo.rdf
@@ -0,0 +1,12 @@
+
+
+
+
+ The speed or pace of a music work, whether declared (in a score) or performed.
+ Tempo
+
+
diff --git a/ontology/Tempo/Tempo.ttl b/ontology/Tempo/Tempo.ttl
new file mode 100644
index 0000000..fa3248a
--- /dev/null
+++ b/ontology/Tempo/Tempo.ttl
@@ -0,0 +1,7 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Tempo" ;
+ skos:definition "The speed or pace of a music work, whether declared (in a score) or performed." .
+
diff --git a/ontology/Tempo/index.html b/ontology/Tempo/index.html
new file mode 100644
index 0000000..8451473
--- /dev/null
+++ b/ontology/Tempo/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Tempo
+
The speed or pace of a music work, whether declared (in a score) or performed.
+
+
+
\ No newline at end of file
diff --git a/ontology/ThematicCatalogNumber/ThematicCatalogNumber.rdf b/ontology/ThematicCatalogNumber/ThematicCatalogNumber.rdf
new file mode 100644
index 0000000..b0d34d2
--- /dev/null
+++ b/ontology/ThematicCatalogNumber/ThematicCatalogNumber.rdf
@@ -0,0 +1,14 @@
+
+
+
+ Numeric or alphanumeric designation of a musical work as found in a thematic index for the composer (without the identifying prefix).
+ Thematic catalog number
+
+
+ Example: 485 from BWV 485; 52:d1 from TWV 52:d1
+
+
diff --git a/ontology/ThematicCatalogNumber/ThematicCatalogNumber.ttl b/ontology/ThematicCatalogNumber/ThematicCatalogNumber.ttl
new file mode 100644
index 0000000..32a7a1d
--- /dev/null
+++ b/ontology/ThematicCatalogNumber/ThematicCatalogNumber.ttl
@@ -0,0 +1,9 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Thematic catalog number" ;
+ rdfs:comment "Example: 485 from BWV 485; 52:d1 from TWV 52:d1" ;
+ rdfs:subClassOf ;
+ skos:definition "Numeric or alphanumeric designation of a musical work as found in a thematic index for the composer (without the identifying prefix)." .
+
diff --git a/ontology/ThematicCatalogNumber/index.html b/ontology/ThematicCatalogNumber/index.html
new file mode 100644
index 0000000..9d3230d
--- /dev/null
+++ b/ontology/ThematicCatalogNumber/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Thematic catalog number
+
Numeric or alphanumeric designation of a musical work as found in a thematic index for the composer (without the identifying prefix).
+
+
+
\ No newline at end of file
diff --git a/ontology/ThematicCatalogPrefix/ThematicCatalogPrefix.rdf b/ontology/ThematicCatalogPrefix/ThematicCatalogPrefix.rdf
new file mode 100644
index 0000000..8f88d52
--- /dev/null
+++ b/ontology/ThematicCatalogPrefix/ThematicCatalogPrefix.rdf
@@ -0,0 +1,14 @@
+
+
+
+
+ Prefix assigned to a thematic catalog number denoting thework from which the number originated.
+ Examples: BWV from BWV 485 (Bach); M.S. from M.S. 35 (Paganini).
+ Thematic catalog prefix
+
+
+
diff --git a/ontology/ThematicCatalogPrefix/ThematicCatalogPrefix.ttl b/ontology/ThematicCatalogPrefix/ThematicCatalogPrefix.ttl
new file mode 100644
index 0000000..1ba1f1d
--- /dev/null
+++ b/ontology/ThematicCatalogPrefix/ThematicCatalogPrefix.ttl
@@ -0,0 +1,9 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Thematic catalog prefix" ;
+ rdfs:comment "Examples: BWV from BWV 485 (Bach); M.S. from M.S. 35 (Paganini)." ;
+ rdfs:subClassOf ;
+ skos:definition "Prefix assigned to a thematic catalog number denoting thework from which the number originated." .
+
diff --git a/ontology/ThematicCatalogPrefix/index.html b/ontology/ThematicCatalogPrefix/index.html
new file mode 100644
index 0000000..d95ba75
--- /dev/null
+++ b/ontology/ThematicCatalogPrefix/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Thematic catalog prefix
+
Prefix assigned to a thematic catalog number denoting thework from which the number originated.
+
+
+
\ No newline at end of file
diff --git a/ontology/ThematicCatalogStatement/ThematicCatalogStatement.rdf b/ontology/ThematicCatalogStatement/ThematicCatalogStatement.rdf
new file mode 100644
index 0000000..68c00f8
--- /dev/null
+++ b/ontology/ThematicCatalogStatement/ThematicCatalogStatement.rdf
@@ -0,0 +1,14 @@
+
+
+
+ Thematic catalog number statement
+
+ Statement about the thematic catalog number for a musical work, including both the prefix and the numeric or alphanumeric parts.
+
+ Example: BWV 485 (Bach); TWV 52:d1 (Telemann)
+
+
diff --git a/ontology/ThematicCatalogStatement/ThematicCatalogStatement.ttl b/ontology/ThematicCatalogStatement/ThematicCatalogStatement.ttl
new file mode 100644
index 0000000..5d8881c
--- /dev/null
+++ b/ontology/ThematicCatalogStatement/ThematicCatalogStatement.ttl
@@ -0,0 +1,9 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Thematic catalog number statement" ;
+ rdfs:comment "Example: BWV 485 (Bach); TWV 52:d1 (Telemann)" ;
+ rdfs:subClassOf ;
+ skos:definition "Statement about the thematic catalog number for a musical work, including both the prefix and the numeric or alphanumeric parts." .
+
diff --git a/ontology/ThematicCatalogStatement/index.html b/ontology/ThematicCatalogStatement/index.html
new file mode 100644
index 0000000..2621b3b
--- /dev/null
+++ b/ontology/ThematicCatalogStatement/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Thematic catalog number statement
+
Statement about the thematic catalog number for a musical work, including both the prefix and the numeric or alphanumeric parts.
+
+
+
\ No newline at end of file
diff --git a/ontology/WorkComponent/WorkComponent.rdf b/ontology/WorkComponent/WorkComponent.rdf
new file mode 100644
index 0000000..cbe9105
--- /dev/null
+++ b/ontology/WorkComponent/WorkComponent.rdf
@@ -0,0 +1,14 @@
+
+
+
+ A work that is an integral part of another work, even when separated from it
+
+ Work component
+
+ Examples: A rondo from a 3-movement piano concerto; the first movement of a symphony; chapter 4 of a 10 chapter book
+
+
diff --git a/ontology/WorkComponent/WorkComponent.ttl b/ontology/WorkComponent/WorkComponent.ttl
new file mode 100644
index 0000000..5286ac4
--- /dev/null
+++ b/ontology/WorkComponent/WorkComponent.ttl
@@ -0,0 +1,9 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "Work component" ;
+ rdfs:comment "Examples: A rondo from a 3-movement piano concerto; the first movement of a symphony; chapter 4 of a 10 chapter book" ;
+ rdfs:subClassOf ;
+ skos:definition "A work that is an integral part of another work, even when separated from it" .
+
diff --git a/ontology/WorkComponent/index.html b/ontology/WorkComponent/index.html
new file mode 100644
index 0000000..a736df5
--- /dev/null
+++ b/ontology/WorkComponent/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
Work component
+
A work that is an integral part of another work, even when separated from it
+
+
+
\ No newline at end of file
diff --git a/ontology/asMemberOf/asMemberOf.rdf b/ontology/asMemberOf/asMemberOf.rdf
new file mode 100644
index 0000000..83cd045
--- /dev/null
+++ b/ontology/asMemberOf/asMemberOf.rdf
@@ -0,0 +1,13 @@
+
+
+
+
+ Organization through which a person makes a contribution to a work or instance.
+ as Member of
+ Use with bf:Contribution
+
+
diff --git a/ontology/asMemberOf/asMemberOf.ttl b/ontology/asMemberOf/asMemberOf.ttl
new file mode 100644
index 0000000..7069c32
--- /dev/null
+++ b/ontology/asMemberOf/asMemberOf.ttl
@@ -0,0 +1,8 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "as Member of" ;
+ rdfs:comment "Use with bf:Contribution" ;
+ skos:definition "Organization through which a person makes a contribution to a work or instance." .
+
diff --git a/ontology/asMemberOf/index.html b/ontology/asMemberOf/index.html
new file mode 100644
index 0000000..1b8eced
--- /dev/null
+++ b/ontology/asMemberOf/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
as Member of
+
Organization through which a person makes a contribution to a work or instance.
+
+ Documentation at as Member of.
+ Other versions:
+
+
+
+
\ No newline at end of file
diff --git a/ontology/associatedWith/associatedWith.rdf b/ontology/associatedWith/associatedWith.rdf
new file mode 100644
index 0000000..0463473
--- /dev/null
+++ b/ontology/associatedWith/associatedWith.rdf
@@ -0,0 +1,15 @@
+
+
+
+ Example: the Bible used at a presidential inauguration
+ Event or Work that is associated in a general way with another event or work, instance or item.
+ associated with
+
+
+
+
+
diff --git a/ontology/associatedWith/associatedWith.ttl b/ontology/associatedWith/associatedWith.ttl
new file mode 100644
index 0000000..4fe7e2c
--- /dev/null
+++ b/ontology/associatedWith/associatedWith.ttl
@@ -0,0 +1,10 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ,
+ ;
+ rdfs:label "associated with" ;
+ rdfs:comment "Example: the Bible used at a presidential inauguration" ;
+ rdfs:subPropertyOf ;
+ skos:definition "Event or Work that is associated in a general way with another event or work, instance or item." .
+
diff --git a/ontology/associatedWith/index.html b/ontology/associatedWith/index.html
new file mode 100644
index 0000000..263ea4c
--- /dev/null
+++ b/ontology/associatedWith/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
Performed Music Ontology
+
associated with
+
Event or Work that is associated in a general way with another event or work, instance or item.
+
+
+
\ No newline at end of file
diff --git a/ontology/composedOf/composedOf.rdf b/ontology/composedOf/composedOf.rdf
new file mode 100644
index 0000000..7acf98f
--- /dev/null
+++ b/ontology/composedOf/composedOf.rdf
@@ -0,0 +1,13 @@
+
+
+
+
+ composed of
+ Use with Thematic Identifer Statement, Opus Number Statement
+ Portion of a multi-level identifier, such as a prefix or part number
+
+
diff --git a/ontology/composedOf/composedOf.ttl b/ontology/composedOf/composedOf.ttl
new file mode 100644
index 0000000..a2a1213
--- /dev/null
+++ b/ontology/composedOf/composedOf.ttl
@@ -0,0 +1,8 @@
+@prefix rdfs: .
+@prefix skos: .
+
+ a ;
+ rdfs:label "composed of" ;
+ rdfs:comment "Use with Thematic Identifer Statement, Opus Number Statement" ;
+ skos:definition "Portion of a multi-level identifier, such as a prefix or part number" .
+
diff --git a/ontology/composedOf/index.html b/ontology/composedOf/index.html
new file mode 100644
index 0000000..3d6a741
--- /dev/null
+++ b/ontology/composedOf/index.html
@@ -0,0 +1,23 @@
+
+
+
+