Repository to capture all schemas for metadata representation.
mkdocs
pip3 install -r requirements.txt
mkdocs gh-deploy
- Open Protege
- File -> Open .../ebucore/amagi_ebucoreExtension.ttl
To convert run the following command
riot --out=RDF/XML amagi_ebucoreExtension.ttl > amagi_ebucoreExtension.rdf
Note:- riot
is a command line tool that comes with Jena. You can download Jena from here
cd tools
python genre_skos_to_json_csv.py csv
python ratings_skos_tojson_csv.py csv
# Copy the generated csv files to docs folder
- All skos changes should be done manually in the turtle skos files with suffix
_amgext.ttl
- Once the changes are done use
riot
cli to create the xml serialization of the skos. E.g.riot --out=RDF/xml ./skos/ebu_ParentalGuidanceCodeCS_amgext.ttl > ./skos/ebu_ParentalGuidanceCodeCS_amgext.rdf
- Generate the csv files using the python script
genre_skos_to_json_csv.py
andratings_skos_tojson_csv.py
in the tools folder. E.g.python genre_skos_to_json_csv.py csv
- All above changes should be committed and reviewed before merging to main branch.
$ cd .../metadata
$ ./scripts/report_masterxml_omissions.sh -h
$ ./scripts/report_masterxml_omissions.sh