europarl / open-data-beta-testing

European Parliament Open Data - Call for beta testers
https://europarl.github.io/open-data-beta-testing
34 stars 3 forks source link

Location of meetings/events #22

Closed tillprochaska closed 1 year ago

tillprochaska commented 1 year ago

Hi there, the Open Data portal looks really promising. One thing I’m missing with regards to meetings/events in the location. For example, I’d like to know whether a plenary session took place in Strasbourg or Brussels.

tfrancart commented 1 year ago

there is the vcard:hasLocality property that indicates precisely this :

image

Try the /meetings/{event-id} API from https://data.europarl.europa.eu/fr/developer-corner/opendata-api

See also https://europarl.github.io/eli-ep/dsd/meetings/

tillprochaska commented 1 year ago

Hi @tfrancart, thanks that’s really helpful, I had only considered the part-session resources so far, not the individual sittings.

However, it seems that the vcard:lasLocality property isn’t present for more recent sessions, e.g. compare the following two resources -- the first one from 2023 doesn’t include this property, while the second one does. I guess this might be due to the beta state of the open data APIs.

https://data.europarl.europa.eu/api/v1/meetings/MTG-PL-2023-05-08?format=application%2Frdf%2Bxml&language=en https://data.europarl.europa.eu/api/v1/meetings/MTG-PL-2022-11-09?format=application%2Frdf%2Bxml&language=en

tfrancart commented 1 year ago

@laura-ep any idea why the vcard:hasLocality is not present on the meetings examples provided such as https://data.europarl.europa.eu/api/v1/meetings/MTG-PL-2023-05-08?format=application%2Frdf%2Bxml&language=en ?

andrea-perego commented 1 year ago

Thanks for reporting this issue, @tillprochaska .

It is now in the process of being fixed for the next release. We'll inform you when it's out.

andrea-perego commented 1 year ago

@tillprochaska , the new release is out. Please let us know if you still find records with this issue.

tillprochaska commented 1 year ago

Hi @andrea-perego, thanks a lot for quickly resolving the issue! Can confirm that the information is now present for all sessions of the 9th term!