HomeDevCentral

Query Wikidata to enrich FANTOIR file

Description

Query Wikidata to enrich FANTOIR file

Summary:
Create a fantoir_wikidata table with label and P31 information
to offer rich typography and determine what kind of pseudo-voie
an entry is.

Query Wikidata through the SPARQL end-point and map results.
Select most relevant P31 information.

As some Wikidata entries imports code RIVOLI from BAN, we've two
concurrent formats for DOM/TOM. To allow a foreign key, but also
to identify such Wikidata entries for further improvement, we store
in a separate column the FANTOIR code used by Wikidata.

Ref T1751.

Test Plan: Run it and get a full fantoir_wikidata table

Reviewers: dereckson

Reviewed By: dereckson

Maniphest Tasks: T1751

Differential Revision: https://devcentral.nasqueron.org/D2731

Details

Provenance
derecksonAuthored on Jan 10 2023, 19:49
derecksonPushed on Jan 15 2023, 01:31
Reviewer
dereckson
Differential Revision
D2731: Query Wikidata to enrich FANTOIR file
Parents
rDS5357130c932f: Search the imported FANTOIR database
Branches
Unknown
Tags
Unknown
Tasks
T1751: Enrich FANTOIR database with Wikidata information