Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New properties for EpisodeCollection #133

Merged
merged 6 commits into from
Mar 25, 2025
Merged

New properties for EpisodeCollection #133

merged 6 commits into from
Mar 25, 2025

Conversation

allwindsouza
Copy link
Contributor

@allwindsouza allwindsouza commented Feb 24, 2025

@prefix ns1: <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#> .
@prefix ns2: <https://metadata.amagi.tv/ebu/amagi_ebucoreExtension#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

<https://compass.amagi.tv/gms/entity/APVAKJDnpGaVh1CqptKPDb8> a ns1:Series ;
    ns1:dateBroadcast "2024-01-01" ;
    ns2:scopeNote "active-meta" ;
    ns1:dateModified "2023-02-28T12:00:00.000Z" ;
    ns1:hasGenre <http://www.ebu.ch/metadata/ontologies/skos/ebu_ContentGenreCS#_3.4> ;
    ns1:hasKeyword "drugs",
        "very bad crime" ;
    ns1:hasPublisher [ a ns1:Agent ;
            ns1:agentId "007" ] ;
    ns1:hasSeason <https://compass.amagi.tv/gms/entity/A479GHJJG9R1Y8Lh9jFpW5V> ;
    ns1:timeCreated "2023-02-28T12:00:00.000Z" ;
    ns2:hasChildCollection true ;
    ns1:hasIdentifier [ a ns1:Identifier ;
        ns1:hasIdentifierType "urn:amagi:publisher:seriesId" ;
        ns1:identifierValue "tmk-series-978a32ae9d2f415db7a2662c8bbbc567" ],
                        [ a ns1:Identifier ;
        ns1:hasIdentifierType <https://metadata.amagi.tv/skos/amagi_ebu_IdentifierTypeCS#_tmsid> ;
        ns1:identifierValue "SH048239070000" ] ;
    ns1:title "Weeds",
        "mauvaises herbes"@fr .

<https://compass.amagi.tv/gms/entity/A479GHJJG9R1Y8Lh9jFpW5V> a ns1:Season ;
    ns1:dateBroadcast "2024-01-01" ;
    ns2:scopeNote "active-meta" ;
    ns1:dateModified "2023-02-28T12:00:00.000Z" ;
    ns1:hasPublisher [ a ns1:Agent ;
            ns1:agentId "007" ] ;
    ns1:hasIdentifier [ a ns1:Identifier ;
    ns1:hasIdentifierType "urn:amagi:publisher:seasonId" ;
    ns1:identifierValue "A479GHJJG9R1Y8Lh9jFpW5V" ] ;
    ns1:seasonNumber "3" ;
    ns1:timeCreated "2023-02-28T12:00:00.000Z" ;
    ns2:hasChildCollection true ;
    ns2:currentNumberOfEpisodes 1 ;
    ns1:title "Season-3 Title",
        "Titre de la saison 3"@fr .

<https://compass.amagi.tv/gms/entity/AFC8iLBG1r2vimVpqPEoxMj1> a ns1:EpisodeCollection ;
    ns1:dateModified "2023-02-28T12:00:00.000Z" ;
    ns1:duration "600.1" ;
    ns1:hasGenre <http://www.ebu.ch/metadata/ontologies/skos/ebu_ContentGenreCS#_3.8.9> ;
    ns1:hasPublisher [ a ns1:Agent ;
            ns1:agentId "test-account" ] ;
    ns1:timeCreated "2023-02-28T12:00:00.000Z" ;
    ns2:isCollectionOfSeries <https://compass.amagi.tv/gms/entity/APVAKJDnpGaVh1CqptKPDb8>;
    ns2:isCollectionOfSeason <https://compass.amagi.tv/gms/entity/A479GHJJG9R1Y8Lh9jFpW5V>;
    ns2:isChildCollection true ;
    ns1:title "The Tour Begins PART 2",
        "We travel everyday PART 2"@fr ;
    ns2:hasRelatedOrderedAssets [ a rdf:Seq ;
            rdf:_1 <https://compass.amagi.tv/gms/entity/YAGqJ6yZcTMKAGAHxACpnE1> ;
            rdf:_2 <https://compass.amagi.tv/gms/entity/YAGqJ6yZcTMKAGAHxACpnE2> ;
            rdf:_3 <https://compass.amagi.tv/gms/entity/YAGqJ6yZcTMKAGAHxACpnE3> ] ;
    ns2:scopeNote "active-meta" .

<https://compass.amagi.tv/gms/entity/AFC8iLBG1r2vimVpqPEoxMi2> a ns1:EpisodeCollection ;
    ns1:dateModified "2023-02-28T12:00:00.000Z" ;
    ns1:duration "600.1" ;
    ns1:hasGenre <http://www.ebu.ch/metadata/ontologies/skos/ebu_ContentGenreCS#_3.8.9> ;
    ns1:hasPublisher [ a ns1:Agent ;
            ns1:agentId "test-account" ] ;
    ns1:timeCreated "2023-02-28T12:00:00.000Z" ;
    ns1:title "The Tour Begins",
        "We travel everyday"@fr ;
    ns2:isCollectionOfSeries <https://compass.amagi.tv/gms/entity/APVAKJDnpGaVh1CqptKPDb8>;
    ns2:isCollectionOfSeason <https://compass.amagi.tv/gms/entity/A479GHJJG9R1Y8Lh9jFpW5V>;
    ns2:isChildCollection true ;
    ns2:hasRelatedOrderedAssets [ a rdf:Seq ;
            rdf:_1 <https://compass.amagi.tv/gms/entity/YAGqJ6yZcTMKAGAHxACpnE1> ;
            rdf:_2 <https://compass.amagi.tv/gms/entity/YAGqJ6yZcTMKAGAHxACpnE2> ;
            rdf:_3 <https://compass.amagi.tv/gms/entity/YAGqJ6yZcTMKAGAHxACpnE3> ] ;
    ns2:scopeNote "active-meta" .


<https://compass.amagi.tv/gms/entity/YAGqJ6yZcTMKAGAHxACpnE1> a ns1:Episode ;
    ns1:duration "120.020" ;
    ns1:hasPublisher [ a ns1:Agent ;
            ns1:agentId "test-account" ] ;
    ns1:hasRelatedMediaResource <https://compass.amagi.tv/gms/entity/YAGqJ6yZcTMKAGAHxACpnE1#mr-resource_id_1> ;
    ns2:scopeNote "active-meta" .

<https://compass.amagi.tv/gms/entity/YAGqJ6yZcTMKAGAHxACpnE2> a ns1:Episode ;
    ns1:duration "120.020" ;
    ns1:hasPublisher [ a ns1:Agent ;
            ns1:agentId "test-account" ] ;
    ns1:hasRelatedMediaResource <https://compass.amagi.tv/gms/entity/YAGqJ6yZcTMKAGAHxACpnE2#mr-resource_id_2> ;
    ns2:scopeNote "active-meta" .


<https://compass.amagi.tv/gms/entity/YAGqJ6yZcTMKAGAHxACpnE3> a ns1:Episode ;
    ns1:duration "120.020" ;
    ns1:hasPublisher [ a ns1:Agent ;
            ns1:agentId "test-account" ] ;
    ns1:hasRelatedMediaResource <https://compass.amagi.tv/gms/entity/YAGqJ6yZcTMKAGAHxACpnE3#mr-resource_id_3> ;
    ns2:scopeNote "active-meta" .
    

@allwindsouza allwindsouza changed the title Add new properties for EpisodeCollection New properties for EpisodeCollection Feb 24, 2025
Copy link

@ajithnn ajithnn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine. Temporary collections is not yet handled here right ?

@allwindsouza
Copy link
Contributor Author

This is fine. Temporary collections is not yet handled here right?

Nope, do we have a document explaining the requirement?

I am thinking, we can make CMW spawn duplicate collections.

@allwindsouza allwindsouza merged commit d2879ed into main Mar 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants