Resources

All artefacts produced in the three phases, plus external sources and tools.

Project artefacts

Every file produced during the project is downloadable below. The Python scripts require only the two third-party packages declared in requirements.txt: lxml and rdflib.

Project · Environment

Python requirements

The two external packages needed to reproduce the TEI-to-HTML and TEI-to-RDF transformations.

Download requirements.txt
Phase 1 · Source

TEI/XML encoding

The Wikipedia article encoded in TEI/XML, with all fifteen entities defined in the standoff and taxonomy, reconciled to Wikidata and (where applicable) VIAF.

Download tei.xml
Phase 1 · Dataset

Entity inventory (CSV)

The working inventory of the selected entities, their types, local identifiers, authority identifiers, and notes used before the TEI encoding.

Download entita_god_of_war.csv
Phase 1 · Diagram

Theoretical model mind map

The initial organisation of production entities, concepts, fictional characters, mythological figures, and the relations connecting them.

View mind map
Phase 1 · Transformation

TEI → HTML script

Python script that walks the TEI, extracts entities from standoff, and renders the article as HTML with colour-coded entities, hover tooltips, and section navigation.

Download tei_to_html.py
Phase 1 · Output

Interactive HTML article

The Wikipedia text rendered as a self-contained HTML page with entities colour-coded by type and addressable by the Entity Explorer. Browsable live on the HTML Rendering page, or open the raw file directly below.

Open raw file
Cross-phase · Transformation

Entity Explorer data script

Python script that combines the TEI entity definitions and mention counts with every RDF statement in which each entity appears as subject or object.

Download build_entity_data.py
Cross-phase · Output

Entity Explorer dataset

Generated JSON used by the interactive selector: 15 entities with layers, identifiers, reconciliation notes, TEI occurrence counts, and RDF statements.

Open entities.json
Phase 2 · Diagram

Graffoo conceptual model

The full conceptual model as a Graffoo diagram (classes, object properties, data properties, and the coined gow:reinterprets).

View diagram
Phase 3 · Transformation

TEI → RDF script

Python script that builds the RDF graph with rdflib, differentiating reconciliation strategy per entity type and emitting the ontology header, game entity, entity triples, and relations.

Download tei_to_rdf.py
Phase 3 · Output

RDF/Turtle graph

104 triples across 18 subjects. Contains the ontology header, the gow:reinterprets definition, and all typed entities and relations. Round-trips through rdflib.

Download gow.ttl
Phase 3 · Output

RDF graph visualisation

The full 104-triple graph rendered as SVG by rdf-grapher, including every rdf:type declaration and full property URI — a complete, unfiltered picture of the graph.

Download rdf-graph.svg

Source and authority records

The source Wikipedia article is fixed to a permalink so the encoding remains reproducible against a specific revision:

All fifteen entities in the graph resolve to Wikidata identifiers; the six mythological figures resolve through the coined gow:reinterprets property, everything else through owl:sameAs or skos:exactMatch. See the Knowledge Representation page for the reconciliation breakdown.

Tools used

Every tool below was chosen over at least one plausible alternative; the reasoning is included because the course guidelines ask not just which tools were used but why.

Vocabularies

The following external vocabularies are used in the graph. Prefixes as bound in the Turtle file.

PrefixNamespacePurpose
schema:schema.orgVideoGame, Product, director, musicBy, gamePlatform, character, children
dcterms:DCMI Termstitle, date, publisher, subject, relation
foaf:FOAFPerson, Organization, name
skos:SKOSConcept, prefLabel, exactMatch
dbo:DBpedia OntologyFictionalCharacter, developer
owl:OWLOntology, ObjectProperty, sameAs
wd:Wikidata EntitiesReconciliation targets
viaf:VIAFReconciliation targets for real people and organisations
gow:project namespaceCoined terms and local entity URIs; hash identifiers resolve to the Entity Explorer for a human-readable representation

Credits

The source article and its content are drawn from Wikipedia contributors and are used here under Wikipedia's licensing terms (CC BY-SA 4.0). Except where otherwise stated, third-party images remain the property of their respective authors and rights holders and are used here for educational, non-commercial purposes. Wikidata identifiers are used under CC0. The project's own artefacts — the TEI encoding, the two Python scripts, the Turtle file, and the site itself — are released under the same CC BY-SA 4.0 licence for consistency with the source.

Animated media

The animated excerpts used in the homepage and Entity Explorer are stored locally to avoid hotlinking and are loaded only when needed. They remain the property of their respective rights holders; the following links record the platforms from which the supplied copies were retrieved:

The coined gow:reinterprets property is the only original ontology contribution and is defined in the graph's ontology header with its rdfs:label, rdfs:comment, and placement as a subproperty of dcterms:relation. Anyone wanting to reuse it in another project is free to do so under the same licence.