Project Log
Project Log
Track important milestones and implementation notes here.
2026-04-16
2026-04-15
The graph is generated using the networkx and matplotlib Python libraries. The code extracts subject-property-object triples from the SPARQL query results (bindings), builds a directed graph, and renders it as a static image. The new code cell appears after the HTML profile and is compatible with Quarto HTML/PDF output. To update the graph for a different item, change the item_id at the top of the notebook and re-run all cells. If networkx or matplotlib are not installed, add them to requirements.txt and re-run the environment setup. - Initialized Quarto website source files. - Added GitHub Pages deployment workflow. - Set Quarto output directory to docs for GitHub Pages publishing. - Added notebook-backed item profile page for Wikidata item Q138547468. - Created reusable helper module wikidata_profile.py for query, fetch, and rendering logic. - Added visual summaries to the item profile page (top properties and value type breakdown). - Fixed Wikidata endpoint access by sending explicit HTTP headers in SPARQL requests. - Parameterized notebook workflow so item_id can be changed in one place. - Enabled collapsible code blocks in rendered notebook HTML. - Initialized git repository, pushed to mrchristian/prototype, and connected origin. - Fixed GitHub Actions Pages setup failure by enabling automatic Pages enablement in workflow. - Added manual workflow_dispatch deployment instructions in project documentation.
Publishing Instructions
Use these steps to publish and re-publish the site to GitHub Pages.
- Commit and push updates to
main. - In GitHub, open Settings -> Pages.
- Under Build and deployment, set Source to GitHub Actions.
- Confirm the workflow file
.github/workflows/publish.ymlis present. - Wait for the Publish Quarto Site workflow to complete.
Manual publish (no code changes)
- Open Actions in GitHub.
- Select Publish Quarto Site.
- Click Run workflow and choose
main.
If deployment fails on Pages configuration
- Re-check Settings -> Pages is enabled for GitHub Actions.
- Re-run the workflow after enabling Pages.