Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,9 @@ since the rows differ in the image cell.
## Verification

After changing a mapping: rebuild the domain, check the reported graph count
against source counts (10 counties / 60 municipalities / 584 elderships / 148 MPs),
against source counts (10 counties / 60 municipalities / 584 elderships / 831 persons
who held a Seimas seat since 1990 — 148 in the current term, its sitting members'
term counts matching the feed's `kadencijų_skaičius`),
and the Seimas calendar (10 terms / 131 sessions / 4 771 plenary sittings since 1990,
195 in term 10; 8 scheduled sittings have no date), then run the link-integrity
pattern from `etl/queries/` (referenced `#this` targets
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ kalba (kaip SQL reliacinėms DB). Pavyzdžiai — [žemiau](#ką-jau-galima-atsa
| Rinkinys | Objektai | Šaltinis |
|---|---|---|
| [`admin-units`](datasets/current/admin-units/) | 10 apskričių, 60 savivaldybių, 584 seniūnijos, 26 229 gyvenamosios vietovės ir 61 149 gatvės (`streets`) | Adresų registras per [get.data.gov.lt](https://get.data.gov.lt/) |
| [`seimas`](datasets/current/seimas/) | 148 Seimo nariai su ~3 000 pareigų/narysčių (galiojimo intervalai), 139 padaliniai (frakcijos, komitetai, komisijos, parlamentinės grupės), 11 partijų; Seimo kalendorius nuo 1990 m.: 10 kadencijų, 131 sesija ir 4 771 plenarinis posėdis su protokolais ir stenogramomis | [apps.lrs.lt](https://www.lrs.lt/) XML API |
| [`seimas`](datasets/current/seimas/) | 831 visų kadencijų nuo 1990 m. Seimo narys (148 — dabartinėje) su ~21 000 kadencijų, pareigų ir narysčių (galiojimo intervalai), 394 padaliniai (frakcijos, komitetai, komisijos, parlamentinės grupės), 66 partijos, 771 vienmandatė apygarda (pagal kadenciją); Seimo kalendorius nuo 1990 m.: 10 kadencijų, 131 sesija ir 4 771 plenarinis posėdis su protokolais ir stenogramomis | [apps.lrs.lt](https://www.lrs.lt/) XML API |
| [`legal-entities`](datasets/current/legal-entities/) | 6 025 valstybės ir savivaldybių biudžetinės įstaigos | JAR per get.data.gov.lt |
| [`taxonomies`](datasets/current/taxonomies/) | 9 SKOS klasifikatoriai: teisinės formos (iš JAR), statusai, pareigų/padalinių/vietovių/gatvių tipai, Seimo veiklos (sesijų ir posėdžių) tipai | JAR + išvesta iš duomenų |

Expand Down Expand Up @@ -269,7 +269,13 @@ WHERE

?org skos:prefLabel ?unit .
?person foaf:name ?chair .
OPTIONAL { ?person ltlod:nominatedBy/skos:prefLabel ?party }
# partija, iškėlusi narį dabartinei kadencijai (asmuo turi visas jį kada nors iškėlusias)
OPTIONAL {
?tenure org:member ?person ;
ltlod:nominatedBy/skos:prefLabel ?party ;
org:memberDuring ?tenureInterval .
FILTER NOT EXISTS { ?tenureInterval time:hasEnd ?tenureEnd }
}
OPTIONAL { ?person foaf:depiction ?photo . FILTER(CONTAINS(STR(?photo), "lrs.lt")) }
}
ORDER BY ?unit
Expand Down
5 changes: 4 additions & 1 deletion app/ns.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ org:unitOf a owl:ObjectProperty ;
ldh:inverseView :Units ;
rdfs:isDefinedBy : .

# On the person: every party that nominated them in any term (the facet column
# of the person views). On the tenure (Seimas seat) membership: the party that
# nominated them for that term.
ltlod:nominatedBy a owl:ObjectProperty ;
rdfs:label "Iškelta partijos"@lt, "Nominated by"@en ;
rdfs:domain foaf:Person ;
Expand Down Expand Up @@ -742,7 +745,7 @@ ORDER BY ?start

# Members who held a seat in the term: the tenure membership (persons.rq) points
# at the term; same person columns as :CurrentMembers. Persons cover the members
# of the current term only, so older terms show no members (view hidden).
# of every term since 1990 (one tenure per term served).
:TermMembers a ldh:View ;
dct:title "Kadencijos Seimo nariai"@lt, "Members of the Seimas in this term"@en ;
spin:query :SelectTermMembers ;
Expand Down
Loading
Loading