Contains test case inputs and outputs for compass_metadata_writer.
Following are the test cases for CMW
-
Input: Episode 1: Contains RDF data for episode 1 of the TV show. Expected output: Sperated episode and series subgraph
-
input: Episode 1: Contains same RDF data for episode 1 of the TV show. Expected output: No change in GMS
-
Input: Episode 2: Contains RDF data for episode 2 of the TV show. Exp: Series data subtracted and onlly episode data should be written, and sholud conatain a triple to point to this series graph.
-
Input: Giving edit of episode 1 : Contains an edit to the RDF data for episode 1. Exp: old episode data should be written into history graph and deleted from amagi. New data should be written into amagi.
-
Input: Episode 3 Contains RDF data for episode 3 of the TV show, but with edits to the series data. Exp: old Series data to be written to history, deleted from amagi. new graph to be written into amagi.
-
input: Giving edit of episode 3 : Contains an edit to the RDF data for episode 3, which includes both edits to the episode data and the series data. Exp: Old episode data and old series data to be written into history and delted from amagi. New triples to be written to amagi.
-
Input: Feature 1: Contains RDF data for a feature of the TV show. Exp: Feature1 triples.
-
input: Feature 2: Contains RDF data for another feature of the TV show. Exp: Feature2 triples.
-
input: Giving edit of feature 1: Contains an edit to the RDF data for feature 1. Exp: old feature 1 data should be written into history graph and deleted from amagi. New triples should be written into amagi.
TODO:
- Empty TTL file
- Very Large ttl file
- Asset without "a ns1:Episode or ns1:Feature"
- Episode Asset without any Series Triples
- Asset without publisher ID
- Invalid ttl file
- Episode asset with already containing ns1:isEpisodeOfSeries triple (single triple)
- Episode asset with two separate series triples (ns1:isEpisodeOfSeries )
- Feature asset with contains ns1:isEpisodeOfSeries