FEDLEXplorer

The purpose of this challenge is to demonstrate how federal legislation data can be used in third-party products through the SPARQL endpoint

14

⛶  Open fullscreen

We have combined forces with Living Topics #11 to develop an app that combines data from multiple APIs and SPARQL queries. It is a Proof of Concept for a brand new FEDLEX experience!

Details of the implementation:

Screenshots

 1  2  3

CHALLENGE

Ziel dieser Challenge ist es zu demonstrieren, wie die Daten des Bundesrechts über den SPARQL-Endpunkt der Bundesrechtsplattform in Produkten Dritter verwendet werden können. Die BK veröffentlicht auf Fedlex die Liste der Rechtstexte, die an einem bestimmten Monat/Datum in Kraft treten. Über diese Website können die Nutzer sich informieren, wann was in Kraft tritt. Dies ist jedoch nicht ganz optimal, da sie die Fedlex-Website regelmäßig konsultieren müssen und keinen Filter setzen können. Die Liste der in Kraft tretenden Rechtstexte kann stattdessen über den SPARQL-Endpunkt der Bundesrechtsplattform abgerufen werden.


Triple store, sparql endpoint and mobile app: explore new trends for fedlex!

The purpose of this Challenge is to demonstrate how federal legislation data can be used in third-party products through the SPARQL endpoint of the federal legislation platform.

Use case: the BK publishes on Fedlex the list of legal texts that come into force on a certain month / date:

https://www.fedlex.admin.ch/de/cc/in-force

Through this website, users of the platform can be informed when what comes into effect. However, this is not quite optimal, as they have to consult the Fedlex website regularly and cannot set a filter.

The list of legal texts coming into force can be obtained from the SPARQL endpoint of the federal legislation platform:

https://fedlex.data.admin.ch/de-CH/sparql

Objective 1: develop a mobile app that lists which legal texts come into effect on a given date / over a given period. Notice that support for building the SPARQL request is available! See also this tutorial: https://bequrios.github.io/fedlex/lab?path=Tutorial.ipynb

Objective 2: subscribe to specific topics of the classified compilation of federal legislation. In this case, only the legal texts belonging to these topics are listed. The topics can be obtained from the predefined SPARQL query "Topics of the CC" (https://fedlex.data.admin.ch/en-CH/sparql).

Objective 3: Search results can be presented by date/topic or by topic/date.

Objective 4: The app notifies as soon as a legal text in the selected topics enters into force.

A prototype should be developed that implements this functionality as far as possible. If no framework for the development of mobile apps is available, a web application can also be developed using the "mobile first" model.

Have fun! We are looking forward to your participation!

Contact: jean-louis.morard at bk.admin.ch

FEDLEXplorer

The purpose of this project is to demonstrate how Swiss federal legislation data can be used in third-party products through a SPARQL endpoint.

We are developing the frontend and backend in the respective subfolders. In the data folder you can find a SPARQL query and some sample outputs.

For more information see https://challenges.openlegallab.ch/project/81

This content is a preview from an external site.
 

Edited content version 79

02.05.2023 20:53 ~ ribose

Joined the team

01.05.2023 21:00 ~ loc_pittet

Our initial Demo app for Android can be downloaded as a pre-release on GitHub. Thanks everyone for a great OpenLegalLab'23! 🤗

01.05.2023 20:59 ~ oleg

Event finished

01.05.2023 16:00

Clean

01.05.2023 13:01

Edited content version 71

01.05.2023 13:01 ~ jeanlouis_morard

Edited content version 69

01.05.2023 12:17 ~ jeanlouis_morard

Edited content version 63

01.05.2023 09:20 ~ oleg

Achievement unlocked 😅

01.05.2023 09:18 ~ oleg

dropdown works (@Christian Ribeaud)

Merge remote-tracking branch 'origin/main' (@hkeibel)

SPARQL query for legal topics: output each concept with its hierarchical level and parent (@hkeibel)

prepare topics displaying (@Christian Ribeaud)

Merge branch 'main' of github.com:ribeaud/fedlexplorer (@loleg)

Topics key, default dates (@loleg)

adapt title (@Christian Ribeaud)

from is no longer required (@Christian Ribeaud)

add dropdown menu (dummy) and form labels (@Christian Ribeaud)

customize app icon and label (@Christian Ribeaud)

Verify

30.04.2023 22:41

Provided three APIs: topics, terms, and laws. We will show you a nice front-end here tomorrow. Gute Nacht! 🌃

30.04.2023 22:41 ~ oleg

TERMDAT service (@loleg)

add short title (@Christian Ribeaud)

Get

30.04.2023 20:12

Edited content version 55

30.04.2023 20:12 ~ holger_keibel

add to field (@Christian Ribeaud)

Revised legalTopics (@loleg)

Merge branch 'main' of github.com:ribeaud/fedlexplorer (@loleg)

Query service (@loleg)

add label to input field (@Christian Ribeaud)

Display everything from Item (@Christian Ribeaud)

beautify the app and use right utf-8 encoding (@Christian Ribeaud)

Merge branch 'main' of github.com:ribeaud/fedlexplorer (@loleg)

Added legalTopics (@loleg)

map results from server (@Christian Ribeaud)

README (@loleg)

Get

30.04.2023 16:35

Repository updated

30.04.2023 16:35 ~ oleg

Merge branch 'main' of github.com:ribeaud/fedlexplorer (@loleg)

Initial logo (@loleg)

SPARQL query added (@loleg)

use fedlex color (@Christian Ribeaud)

Simple data structure (@loleg)

add expansion panel (@Christian Ribeaud)

Configure port (@loleg)

Merge branch 'main' of github.com:ribeaud/fedlexplorer (@loleg)

Sample JSON pusher (@loleg)

add form (@Christian Ribeaud)

trigger a http request (@Christian Ribeaud)

Initial Falcon backend (@loleg)

Backend README.md (@loleg)

Initial commit (@Christian Ribeaud)

Ask

30.04.2023 12:15

Joined the team

30.04.2023 12:15 ~ oleg

first commit (@Christian Ribeaud)

Ask

30.04.2023 09:50

Joined the team

30.04.2023 09:50 ~ Raphael_Jeannerat_BK

Event started

30.04.2023 09:00

Edited content version 44

30.04.2023 07:13 ~ jeanlouis_morard

Edited content version 42

30.04.2023 07:13 ~ jeanlouis_morard

Edited content version 40

30.04.2023 07:12 ~ jeanlouis_morard

Edited content version 38

30.04.2023 06:46 ~ jeanlouis_morard

Edited content version 36

30.04.2023 06:38 ~ jeanlouis_morard

Edited content version 34

30.04.2023 06:35 ~ jeanlouis_morard

Edited content version 32

30.04.2023 05:28 ~ jeanlouis_morard

Edited content version 30

30.04.2023 05:25 ~ jeanlouis_morard

Edited content version 28

30.04.2023 05:06 ~ jeanlouis_morard

Joined the team

29.04.2023 21:15 ~ holger_keibel

Ask

24.04.2023 12:05

Edited content version 22

24.04.2023 12:05 ~ jeanlouis_morard

Edited content version 20

24.04.2023 09:46 ~ jeanlouis_morard

Edited content version 18

24.04.2023 09:32 ~ jeanlouis_morard

Edited content version 16

24.04.2023 09:29 ~ jeanlouis_morard

Edited content version 14

21.04.2023 07:24 ~ jeanlouis_morard

Edited content version 12

21.04.2023 07:23 ~ jeanlouis_morard

Edited content version 10

20.04.2023 10:40 ~ jeanlouis_morard

Edited content version 8

20.04.2023 10:38 ~ jeanlouis_morard

Edited content version 6

20.04.2023 10:32 ~ jeanlouis_morard

Edited content version 4

20.04.2023 10:30 ~ jeanlouis_morard

Joined the team

20.04.2023 10:26 ~ jeanlouis_morard

Challenge posted

20.04.2023 10:24 ~ jeanlouis_morard
 
Contributed 1 month ago by jeanlouis_morard for Open Legal Lab 2023
Alle Teilnehmer*innen, Sponsor, Partner, Freiwilligen und Mitarbeiter*innen unseres Hackathons sind verpflichtet, dem Hack Code of Conduct zuzustimmen. Die Organisatoren werden diesen Kodex während der gesamten Veranstaltung durchsetzen. Wir erwarten die Zusammenarbeit aller Teilnehmer*innen, um eine sichere Umgebung für alle zu gewährleisten. Weitere Einzelheiten zum Ablauf der Veranstaltung finden Sie unter Richtlinien auf unsere Webseite.

Creative Commons LicenceDie Inhalte dieser Website stehen, sofern nicht anders angegeben, unter einer Creative Commons Attribution 4.0 International.

Open Legal Lab 2023