Repository navigation
Seimas calendar: terms, sessions and plenary sittings since 1990 - #29
Merged
Merged
Conversation
…dex write. Takes LinkedDataHub's change to config/dev.log4j.properties, which each deployment keeps its own copy of. org.apache.jena.sparql.core.mem is the transactional in-memory dataset: unsuppressed, its PMapQuadTable and PMapTripleTable logged six index insertions per quad plus the transactional references behind them, burying startup. The StreamManager line beside it named a package Jena has moved twice since it was written, so it had stopped suppressing anything. Dev only; prod.log4j.properties roots at ERROR. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…s and activities.
The 10 terms since 1990 (p2b.ad_seimo_kadencijos) and their 131 sessions
(p2b.ad_seimo_sesijos, one request per term) nest under the Seimas at
terms/{kadencijos_id}/ and sessions/{sesijos_id}/. Sessions are eli-dl:Activity
plus schema:EventSeries - the second type only discriminates them from sittings
for LinkedDataHub views - with ELI-DL dates, term and responsible-organization
links, and an eli-dl:ActivityType concept from the new derived
taxonomies/activity-types/ scheme. Each MP's seat membership points at its term
through epvoc:memberDuringParliamentaryTerm. fetch-xml-each.sh fetches one
document per id read from a parent feed; calendar.xsl normalizes all three
calendar feeds. persons.trig and org-units.trig also pick up the membership
changes published since the last run.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…activity.
4771 sittings (p2b.ad_seimo_posedziai, one request per session) nest under the
Seimas at sittings/{posėdžio_id}/ as eli-dl:Activity plus schema:Event, each
forming part of its session and carrying its term, sitting type (11 new
activity-types concepts), number as eli-dl:activity_order, and the protocol and
stenogram in e-seimas as eli-dl:recorded_in_a_realization_of. Every dated
sitting has the day as eli-dl:activity_date - the sort key - and start/end
local times where the source has them; sittings before ~1998 record only the
day.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ainers plus views that cross-reference them. terms/, sessions/ and sittings/ nest under the Seimas container, and taxonomies/activity-types/ holds the ELI-DL activity types. The sessions and sittings containers list their entities newest first, with activity type and term as filter pills. New ns.ttl views: the Seimas lists its terms (:Terms), a term its sessions (:Sessions) and the members who held a seat in it (:TermMembers, via epvoc:memberDuringParliamentaryTerm), and a session its plenary sittings (:Sittings). Each hangs off its own link property - never dct:isPartOf, which already carries :SubUnits for admin units. The frontpage gains the sittings of the ongoing session. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
sittings-per-term.rq counts sessions, plenary sittings and stenograms per term since 1990 and joins EXAMPLES.md. Two existing examples still read the coat of arms from foaf:depiction although reconciliation moved it to foaf:img, so re-rendering silently dropped municipality coats of arms and undercounted admin units with an image; both now read foaf:img. README gains the calendar in the dataset table, link diagram and vocabulary table (and names ltlod:ElectoralDistrict among the custom terms); CLAUDE.md records the calendar counts, the per-property scope of ldh:inverseView, fetch-xml-each.sh, and that an exported JENA_HOME overrides the 5.6.0 pin in etl/config.mk. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The person's memberships table gains a Kadencija column: the seat membership's epvoc:memberDuringParliamentaryTerm links the MP to the term page (other rows leave it empty). Activity-type concept pages list the sittings or sessions of that type, newest first and filterable by term (:SittingsOfType, :SessionsOfType on eli-dl:had_activity_type, ranged to eli-dl:ActivityType so they stay off other SKOS concept pages; a type has only one kind, so the other view stays hidden). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…able column. :PersonTerms lists the terms in which the person held a seat (the seat membership's epvoc:memberDuringParliamentaryTerm), as a second inverse view of org:member next to :Memberships, so the term is a named, linked block on the person page rather than a sparsely filled column. The column added in the previous commit is removed from files/client.xsl again. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…URI is positional and the keystore is -c. ldh admin make-public, push, patch, post and admin clear no longer take -b for the base or -f for the certificate; patch and post kept -f after the earlier rename and failed make install with "Unknown options: '-f'". Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…gebra sidecar. The upstream copy adds the web-algebra service (Web-Algebra plans for the assistant drawer, reachable only at /webalgebra with a WebID certificate), its nginx upstream, rate limit and location, nginx's dependency on it, and the commented-out openai_api_key secret. The override's sef-compiler image follows to latest. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the Seimas parliamentary calendar to the graph and makes it browsable from the existing data.
Data (
etl/seimas, all from the apps.lrs.lt XML API)organizations/lietuvos-respublikos-seimas/{terms,sessions,sittings}/{id}/.eli-dl:ParliamentaryTerm; sessions and sittings areeli-dl:Activity, plusschema:EventSeries/schema:Eventonly so LinkedDataHub can target views at them. Sittings carry their day (eli-dl:activity_date), start/end times where the source has them, number, type, session, term, and the protocol and stenogram in e-seimas (eli-dl:recorded_in_a_realization_of).taxonomies/activity-types/(2 session types, 11 sitting types).epvoc:memberDuringParliamentaryTerm).etl/lib/fetch-xml-each.shfetches one document per id from a parent feed (sessions per term, sittings per session).persons.trigandorg-units.trigalso pick up membership changes published on lrs.lt since the last run.App
ns.ttlviews: Seimas → terms, term → sessions and members, session → sittings, activity type → its sittings or sessions, person → terms. None reusesdct:isPartOf, because LDH attaches views per property and that one already carries:SubUnits.Docs and examples
sittings-per-term.rqexample. Two existing examples were still reading the coat of arms fromfoaf:depictionand are fixed to readfoaf:img.URI-SCHEME.mdandONTOLOGY-NOTES.mdupdated.Also in this branch (not calendar work)
-ckeystore).docker-compose.ymlre-synced with LinkedDataHub (web-algebra sidecar); the sef-compiler image moves tolatest.4a61956(dev logging), committed locally on the base branch but never pushed.Verification
validate.shand SHACL pass under Jena 5.6.0 and under 6.1.0 (the CI version).Open question: the EPVOC namespace serves only HTML documentation, not RDF. If that counts as not resolving,
epvoc:memberDuringParliamentaryTermshould become anltlod:term.Note: the ETL needs Jena 5.6.0. An exported
JENA_HOME(e.g. 6.x) overrides the?=pin inetl/config.mk.🤖 Generated with Claude Code