You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 12, 2019. It is now read-only.
What's the status on merging different aliases for entities? (e.g. "Mozart", "Wolfgang Amadeus Mozart", "Joannes Chrysostomus Wolfgangus Theophilus Mozart")
Do we have any logic in place for this? What's the strategy here?
We will need a more authoritative source thea manually curating the dictionary.
A list of pseudonyms, synonyms and canonical names is available from https://portal.dnb.de.
To obtain a list of synonyms for an artist we will need to:
query the dnb.de portal with free text
get the dnd ID for the artist
use the ID to fetch the entry for the artist
parse the RDF formatted output file and extract the values for the following fields: gndo:forename, gndo:surname, list of gndo:variantNameForThePerson.
For now, just implement a way to read in the dictionary as previously described, and @gyachdav 's suggested workflow will hopefully be implemented in some spare time at the hackathon and it will output on a file which conforms to the idea in the dictionary file (aka: preferred name, synonym1, synonym2,...)
Aliases don't have to be merged into a single DB entry for our use case (@MusicConnectionMachine/group-2). It would suffice if all aliases had the same entityId.
Activity
sacdallago commentedon Apr 18, 2017
What about reading in a dictionary of synonyms? This should be pretty straightforward and we can curate the list later?
So, maybe: accept an optional
-sdefining the location of a csv/tsv file of synonyms separated by new line, something like:in real data
it technically counts as feature, but it's a nice improvement for the data so I would rebrand it as bug-fix? 💃
pfent commentedon Apr 18, 2017
We probably can't curate a list for all entities, but creating such a list manually once seems like an easy start
sacdallago commentedon Apr 18, 2017
The idea would then be to have the file crowdsourced, ideally opening a repo dedicated to it :D you know, leverage the power of github :P :P
goldbergtatyana commentedon Apr 18, 2017
This is a great idea! We, the mentors, could definitely provide a hand on creating the list manually. When can we start?
sacdallago commentedon Apr 18, 2017
@goldbergtatyana right now. https://github.com/MusicConnectionMachine/dictionaries/blob/master/artist_synonyms
you can edit directly in the browser, and then open a PR, which we can later merge :)
gyachdav commentedon Apr 20, 2017
We will need a more authoritative source thea manually curating the dictionary.
A list of pseudonyms, synonyms and canonical names is available from https://portal.dnb.de.
To obtain a list of synonyms for an artist we will need to:
query the dnb.de portal with free text
get the dnd ID for the artist
use the ID to fetch the entry for the artist
parse the RDF formatted output file and extract the values for the following fields: gndo:forename, gndo:surname, list of gndo:variantNameForThePerson.
NOTE the entry has to match gndo:professionOrOccupation at least http://d-nb.info/gnd/4032009-1
The tasks are:
research the workflow that starts at free text search and ends with getting an entity record in RDF format
implement the workflow
parse the RDF format
extract the values for gndo:forename, gndo:surname, list of gndo:variantNameForThePerson
populate the CSV or a db table that we can use later on as our artists name dictionary
sacdallago commentedon Apr 20, 2017
For now, just implement a way to read in the dictionary as previously described, and @gyachdav 's suggested workflow will hopefully be implemented in some spare time at the hackathon and it will output on a file which conforms to the idea in the dictionary file (aka: preferred name, synonym1, synonym2,...)
felixschorer commentedon Apr 20, 2017
Aliases don't have to be merged into a single DB entry for our use case (@MusicConnectionMachine/group-2). It would suffice if all aliases had the same
entityId.