From f7bb41f05344342068679deae30a4702fdd913f6 Mon Sep 17 00:00:00 2001 From: shashidhar Date: Tue, 12 Nov 2024 22:06:11 +0530 Subject: [PATCH 1/4] adding trailer property to relate two assets --- amgrss_schemas/amgrss_xpaths_description.csv | 1 + ebucore/amagi_ebucoreExtension.rdf | 202 ++++++++++++------- ebucore/amagi_ebucoreExtension.ttl | 11 +- 3 files changed, 141 insertions(+), 73 deletions(-) diff --git a/amgrss_schemas/amgrss_xpaths_description.csv b/amgrss_schemas/amgrss_xpaths_description.csv index 89f7a9c..b6461c6 100644 --- a/amgrss_schemas/amgrss_xpaths_description.csv +++ b/amgrss_schemas/amgrss_xpaths_description.csv @@ -24,6 +24,7 @@ xpath, description, valueType, exampleValues, mappingRequired /rss/channel/item/amg:longDescription/@amg:lang, the language of the longDescription as specified in https://www.ebu.ch/metadata/ontologies/skos/ebu_ISO639_1LanguageCodeCS.rdf, xs:anyUri,"http://www.ebu.ch/metadata/ontologies/skos/ebu_Iso639_1LanguageCS#_en", yes /rss/channel/item/amg:assetType, Asset Type of the title, xs:anyUri,"https://metadata.amagi.tv/skos/amagi_ebu_AssetTypeCS#_1.1.1 (Movie)", yes /rss/channel/item/amg:isDirectedToChildren, Is asset directed to children, xs:bool, true, yes +/rss/channel/item/amg:trailerOfAsset, This item is trailer of the asset with the given assetId, xs:string,"123456", no /rss/channel/item/amg:hasCreator, Production house of the asset, xs:string,"Sony Production house", yes /rss/channel/item/amg:genre, Genre of the media object. https://www.ebu.ch/metadata/ontologies/skos/ebu_ContentGenreCS.htm, xs:anyUri,"http://www.ebu.ch/metadata/ontologies/skos/ebu_ContentGenreCS#_3.4", yes /rss/channel/item/amg:genre/@label, Label of the genre which is the same as the corresponding skos:prefLabel in https://www.ebu.ch/metadata/ontologies/skos/ebu_ContentGenreCS.rdf, xs:string,"Drama", no diff --git a/ebucore/amagi_ebucoreExtension.rdf b/ebucore/amagi_ebucoreExtension.rdf index 39d1d1d..14d11e0 100644 --- a/ebucore/amagi_ebucoreExtension.rdf +++ b/ebucore/amagi_ebucoreExtension.rdf @@ -12,6 +12,13 @@ hasAnnotation + + Publisher Cuepoint Offset + Publisher-provided cuepoint offset in timecode or timestamp format. + + + + A specific platform id to which a media resource is to be targetted @@ -20,18 +27,24 @@ targetPlatformId + + Segments Last Modified At + To indicate the date/time segment has been modified. + + + + To provide cuepoint metadata for an asset. Cuepoint - - A specific channel id to which a media resource is to be targetted + + Publisher Start Normal Play Time + Publisher-provided start time expressed as normal play time - - - targetChannelId + @@ -43,13 +56,12 @@ - - This property denotes the country where the asset is released. - releaseCountry - - - + + A specific channel id to which a media resource is to be targetted + + + targetChannelId @@ -59,6 +71,15 @@ To identify the asset index whose start is the end of a collection part. It may have 'eos' to indicate end is the end of the last asset in a collection + + This property denotes the country where the asset is released. + releaseCountry + + + + + + eventNumber The event number in a superEvent. e.g. match number, game number @@ -73,6 +94,13 @@ + + Is Primary + Specifies if the media resource is primary. + + + + @@ -80,10 +108,6 @@ To identify the asset index whose start is the start of a collection part - - - - Property to associate an asset with its AI augmented metadata. hasAIAugmentedMeta @@ -91,12 +115,9 @@ - - hasEtcAnnotationLocation - Range: A uri pointing to AI generated etc(entity, topic, categories) metadata - - - + + + A specific platform brand id to which a media resource is to be targetted @@ -106,21 +127,22 @@ targetPlatformBrandId - - Applies To PlatformId - Specifies the platform_id for which the platform guide params are defined. + + hasEtcAnnotationLocation + Range: A uri pointing to AI generated etc(entity, topic, categories) metadata - + - - To describe a musical event. - Musical event - - + + Applies To PlatformId + Specifies the platform_id for which the platform guide params are defined. + + + Property to associate an asset with its cuepoint metadata. @@ -129,6 +151,12 @@ + + To describe a musical event. + Musical event + + + To express restriction on the number of times an asset can be published. @@ -149,6 +177,13 @@ + + Is Patched + + Used to denote if an artefact has been added through patch. + + + This property denotes the country of the production studio. Production Country @@ -158,14 +193,6 @@ - - This property denotes whether the asset has been targeted to children. - Is directed to children - - - - - hasPublicationRestrictions @@ -194,6 +221,13 @@ + + Is DropFrame Timecode + Specifies if the subtitle timecode is with dropframe. + + + + Cuepoint type @@ -232,6 +266,14 @@ + + User Defined Frame Rate + + + The unit used to express the user provided frame rate of a MediaResource in frames/second associated with an ebucore asset. + + + @@ -258,13 +300,6 @@ - - Subject - - A term describing the high level categorization of content covered by the - BusinessObject or resource. This is provided as free text in an annotation label or as an identifier pointing to a term in a classification scheme e.g. https://cv.iptc.org/newscodes/mediatopic - - The name given to a media resource. @@ -272,6 +307,13 @@ Resource name + + Subject + + A term describing the high level categorization of content covered by the + BusinessObject or resource. This is provided as free text in an annotation label or as an identifier pointing to a term in a classification scheme e.g. https://cv.iptc.org/newscodes/mediatopic + + sponsor Sponsor of an event. Equivalent to https://schema.org/sponsor. Example: Adidas AG is sponsor of 2014 FIFA World Cup @@ -286,6 +328,13 @@ + + Main category + A category is a broad classification that groups similar types of content or products within a particular platform. + + + + A link/locator to a picture related to an Event. @@ -293,13 +342,19 @@ Event Related picture - - Main category - A category is a broad classification that groups similar types of content or products within a particular platform. + + Publisher End Offset + Publisher-provided segment end offset in timecode or timestamp format. - + + + + To provide release metadata for an asset. + Release + + The arrangement and spatial configuration of audio channels within an audio stream. Possible values are mono, stereo, 2.1, 3, quad, 3.1, 4.1, 5.1, 7.1. These values are derived from the standard channel layouts listed at https://trac.ffmpeg.org/wiki/AudioChannelManipulation#Listchannelnamesandstandardchannellayouts @@ -307,12 +362,6 @@ Audio Channel Layout - - - To provide release metadata for an asset. - Release - - Cuepoint type @@ -366,6 +415,22 @@ + + isTrailerOfAsset + + + To identify related trailer of a given episodic, feature, series or season asset. + It is equivalevent ot 'trailer' property defined in schema.org as defined in https://schema.org/trailer + + + + This property denotes whether the asset has been targeted to children. + Is directed to children + + + + + This property allows to denote the attribution of an asset's metadata to its source url. The source urls could be media rss feed url or a source csv location. SourceAttribution @@ -381,6 +446,13 @@ + + Publisher Start Offset + Publisher-provided segment start offset in timecode or timestamp format. + + + + organizer Organizer of an event. Equivalent to https://schema.org/organizer. Example: FIFA is organizer of 2014 FIFA World Cup @@ -388,15 +460,15 @@ - - - To provide AI augmented metadata for an asset. AIAugmentedMeta + + + To provide information to restrict publications in a given interval of time @@ -416,18 +488,4 @@ Graphic - - - - The unit used to express the user provided frame rate of a MediaResource in frames/second associated with an ebucore asset. - User Defined Frame Rate - - - - - - Used to denote if an artefact has been added through patch. - Is Patched - - diff --git a/ebucore/amagi_ebucoreExtension.ttl b/ebucore/amagi_ebucoreExtension.ttl index be06fcb..ab1d462 100644 --- a/ebucore/amagi_ebucoreExtension.ttl +++ b/ebucore/amagi_ebucoreExtension.ttl @@ -580,4 +580,13 @@ rdfs:range ; rdfs:comment "Used to denote if an artefact has been added through patch."@en ; rdfs:domain ; - rdfs:label "Is Patched"@en . \ No newline at end of file + rdfs:label "Is Patched"@en . + + + rdf:type rdf:Property ; + rdfs:comment """To identify related trailer of a given episodic, feature, series or season asset. + It is equivalevent ot 'trailer' property defined in schema.org as defined in https://schema.org/trailer"""@en ; + rdfs:range ; + rdfs:domain ; + rdfs:label "isTrailerOfAsset"@en . + \ No newline at end of file From da592bca8f46be08b2baf9b3738718b816bd50c7 Mon Sep 17 00:00:00 2001 From: harshith-d Date: Thu, 28 Nov 2024 12:20:16 +0530 Subject: [PATCH 2/4] Add amg_ext:hasTrailer Property --- ebucore/amagi_ebucoreExtension.rdf | 23 +++++++++++++++-------- ebucore/amagi_ebucoreExtension.ttl | 13 ++++++++++--- 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/ebucore/amagi_ebucoreExtension.rdf b/ebucore/amagi_ebucoreExtension.rdf index 12f6754..9b1d8f7 100644 --- a/ebucore/amagi_ebucoreExtension.rdf +++ b/ebucore/amagi_ebucoreExtension.rdf @@ -110,6 +110,13 @@ + + hasTrailer + + + Specifies whether the asset has Trailer + + superEvent @@ -300,14 +307,6 @@ - - isTrailerOfAsset - - - To identify related trailer of a given episodic, feature, series or season asset. - It is equivalevent ot 'trailer' property defined in schema.org as defined in https://schema.org/trailer - - Has Custom Key Value @@ -400,6 +399,14 @@ Audio Channel Layout + + isTrailerOf + + + To identify related trailer of a given episodic, feature, series or season. + It is equivalevent ot 'trailer' property defined in schema.org as defined in https://schema.org/trailer + + To provide AI augmented metadata for an asset. diff --git a/ebucore/amagi_ebucoreExtension.ttl b/ebucore/amagi_ebucoreExtension.ttl index 5ad9814..41adcfe 100644 --- a/ebucore/amagi_ebucoreExtension.ttl +++ b/ebucore/amagi_ebucoreExtension.ttl @@ -582,13 +582,20 @@ rdfs:domain ; rdfs:label "Is Patched"@en . - + rdf:type rdf:Property ; - rdfs:comment """To identify related trailer of a given episodic, feature, series or season asset. + rdfs:comment """To identify related trailer of a given episodic, feature, series or season. It is equivalevent ot 'trailer' property defined in schema.org as defined in https://schema.org/trailer"""@en ; rdfs:range ; rdfs:domain ; - rdfs:label "isTrailerOfAsset"@en . + rdfs:label "isTrailerOf"@en . + + + rdf:type rdf:Property ; + rdfs:comment "Specifies whether the asset has Trailer"@en ; + rdfs:range ; + rdfs:domain ; + rdfs:label "hasTrailer"@en . rdf:type rdfs:Class ; From 9edfd213a9d4ab8dab684d1eaff89bac3b2aeffd Mon Sep 17 00:00:00 2001 From: harshith-d Date: Thu, 28 Nov 2024 12:39:10 +0530 Subject: [PATCH 3/4] Update trailer amgrss structure --- amgrss_schemas/amgrss_master.xml | 17 +++++++++++++++++ amgrss_schemas/amgrss_xpaths_description.csv | 4 +++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/amgrss_schemas/amgrss_master.xml b/amgrss_schemas/amgrss_master.xml index 6b99f0a..0548664 100644 --- a/amgrss_schemas/amgrss_master.xml +++ b/amgrss_schemas/amgrss_master.xml @@ -259,5 +259,22 @@ http://www.ebu.ch/metadata/ontologies/skos/ebu_Iso3166_CountryCodeCS#_US http://www.ebu.ch/metadata/ontologies/skos/ebu_Iso3166_CountryCodeCS#_US + + ccdd57d1-6106-452a-8508-a63e1b6 + tt8783 + amagi_o&o_virtual_channel + beekeeper_uat + https://metadata.amagi.tv/skos/amagi_ebu_AssetTypeCS#_1.1.5 + + Series + AMG00111 + + Clare desperately tries to build a life with her one true love, despite the fact that his time traveling forces them apart with no warning, never knowing when they will be reunited. + Clare essaie désespérément de construire une vie avec son seul véritable amour, malgré le fait que son temps de voyage les sépare sans avertissement, ne sachant jamais quand ils seront réunis. + + + + Time Traveler's Wife, Trailer + diff --git a/amgrss_schemas/amgrss_xpaths_description.csv b/amgrss_schemas/amgrss_xpaths_description.csv index b6461c6..d9a4a36 100644 --- a/amgrss_schemas/amgrss_xpaths_description.csv +++ b/amgrss_schemas/amgrss_xpaths_description.csv @@ -24,7 +24,9 @@ xpath, description, valueType, exampleValues, mappingRequired /rss/channel/item/amg:longDescription/@amg:lang, the language of the longDescription as specified in https://www.ebu.ch/metadata/ontologies/skos/ebu_ISO639_1LanguageCodeCS.rdf, xs:anyUri,"http://www.ebu.ch/metadata/ontologies/skos/ebu_Iso639_1LanguageCS#_en", yes /rss/channel/item/amg:assetType, Asset Type of the title, xs:anyUri,"https://metadata.amagi.tv/skos/amagi_ebu_AssetTypeCS#_1.1.1 (Movie)", yes /rss/channel/item/amg:isDirectedToChildren, Is asset directed to children, xs:bool, true, yes -/rss/channel/item/amg:trailerOfAsset, This item is trailer of the asset with the given assetId, xs:string,"123456", no +/rss/channel/item/amg:trailerOf, This item is trailer of the asset with the given assetId, xs:string,n/a, no +/rss/channel/item/amg:trailerOf/amg:trailerParentType, Specifies the type of the asset the trailer belongs, xs:string, "Series", no +/rss/channel/item/amg:trailerOf/amg:trailerParentId, The parent_id for Feature Episode and Series is the publisher_asset_id. In contrast the parent_id for Season is derived from the combination of the series_id and the season number, xs:string, "AMG00111", no /rss/channel/item/amg:hasCreator, Production house of the asset, xs:string,"Sony Production house", yes /rss/channel/item/amg:genre, Genre of the media object. https://www.ebu.ch/metadata/ontologies/skos/ebu_ContentGenreCS.htm, xs:anyUri,"http://www.ebu.ch/metadata/ontologies/skos/ebu_ContentGenreCS#_3.4", yes /rss/channel/item/amg:genre/@label, Label of the genre which is the same as the corresponding skos:prefLabel in https://www.ebu.ch/metadata/ontologies/skos/ebu_ContentGenreCS.rdf, xs:string,"Drama", no From 0a96281065fc18fde1f2ba91be6a86869bc18ba4 Mon Sep 17 00:00:00 2001 From: harshith-d Date: Fri, 29 Nov 2024 11:34:41 +0530 Subject: [PATCH 4/4] Update amagi_ebucoreExtension.ttl --- ebucore/amagi_ebucoreExtension.rdf | 4 ++-- ebucore/amagi_ebucoreExtension.ttl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ebucore/amagi_ebucoreExtension.rdf b/ebucore/amagi_ebucoreExtension.rdf index 9b1d8f7..6e6a6ac 100644 --- a/ebucore/amagi_ebucoreExtension.rdf +++ b/ebucore/amagi_ebucoreExtension.rdf @@ -110,8 +110,8 @@ - - hasTrailer + + Trailer Present Specifies whether the asset has Trailer diff --git a/ebucore/amagi_ebucoreExtension.ttl b/ebucore/amagi_ebucoreExtension.ttl index 41adcfe..b6f32f0 100644 --- a/ebucore/amagi_ebucoreExtension.ttl +++ b/ebucore/amagi_ebucoreExtension.ttl @@ -590,12 +590,12 @@ rdfs:domain ; rdfs:label "isTrailerOf"@en . - + rdf:type rdf:Property ; rdfs:comment "Specifies whether the asset has Trailer"@en ; rdfs:range ; rdfs:domain ; - rdfs:label "hasTrailer"@en . + rdfs:label "Trailer Present"@en . rdf:type rdfs:Class ;