Group project for the Information Science and Cultural Heritage 2024/25 course.
The project maps the cultural impact of fashion designer and activist Vivienne Westwood using an ontology-based approach along with structured, linked data.
The site of the project is live at metamuses.github.io/lod-save-the-queen.
The csv directory contains the CSV files of our 10 items, one for each item,
described in natural language using a triple-like subject-predicate-object structure.
The csv2ttl directory contains the Python script that converts the CSV files
into Turtle format using RDFLib and the JSONs files used to map namespaces,
entities, and predicates from natural language to RDF.
To run the script, use the following command:
python csv2ttl/csv2ttl.pyThe generated TTL files are saved in the ttl/csv2ttl directory.
The html directory contains the HTML, CSS and image files used to generate the site of this project, which is hosted on GitHub Pages.
This include the XSLT-generated HTML file from the XML/TEI encoding, which is
rendered as an iframe in the site.
The models directory contains the theoretical and conceptual models of our
ontology.
The ttl directory contains
- the Turtle file of the project global ontology, which is the result of the integration of the CSV files and some custom handcrafted elements
- the Turtle files generated from the
csv2ttlscript (see above) - the Turtle file generated from the
xml2ttlscript (see below)
The xml directory contains the XML/TEI encoding of our source book "100 Days
of Active Resistance" and the XSL stylesheet used to convert it into HTML format.
To run the conversion, use the following command:
xsltproc xml/encoding.xsl xml/encoding.xml > html/encoding.htmlThe generated HTML file is saved in the html directory in order to be served by the site.
The xml2ttl directory contains the Python script that converts the XML/TEI
encoding of our source book into Turtle format using RDFLib.
To run the script, use the following command:
python xml2ttl/xml2ttl.pyThe generated file is saved in the ttl/xml2ttl directory.