LISTSERV mailing list manager LISTSERV 16.5

Help for CODE4LIB Archives


CODE4LIB Archives

CODE4LIB Archives


CODE4LIB@LISTS.CLIR.ORG


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

CODE4LIB Home

CODE4LIB Home

CODE4LIB  September 2014

CODE4LIB September 2014

Subject:

Re: Reconciling corporate names?

From:

"Galligan, Patrick" <[log in to unmask]>

Reply-To:

Code for Libraries <[log in to unmask]>

Date:

Mon, 29 Sep 2014 09:58:36 -0400

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (169 lines)

Thanks for all the ideas!

I'm a exploring a few of them this morning.

Patrick Galligan
Rockefeller Archive Center
Assistant Digital Archivist
914-366-6386

-----Original Message-----
From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of Ted Lawless
Sent: Monday, September 29, 2014 9:43 AM
To: [log in to unmask]
Subject: Re: [CODE4LIB] Reconciling corporate names?

OCLC's FAST contains corporate names derived from LCSH.

http://www.oclc.org/research/activities/fast.html

I wrote a simple proxy to the FAST API that can be used as reconciliation endpoint in OpenRefine.

https://github.com/lawlesst/fast-reconcile

Ted

On Mon, Sep 29, 2014 at 9:37 AM, Simon Brown <[log in to unmask]> wrote:
> You could always web scrape, or download and then search the LCNAF 
> with some script that looks like:
>
> #Build query for webscraping
> query = paste("http://id.loc.gov/search/?q=", URLencode("corporate 
> name here "), "&q=cs%3Ahttp%3A%2F%2Fid.loc.gov%2Fauthorities%2Fnames")
>
> #Make the call
> result = readLines(query)
>
> #Find the lines containing "Corporate Name"
> lines = grep("Corporate Name, result)
>
> #Alternatively use approximate string matching on the downloaded LCNAF 
> data query <- agrep("corporate name here",LCNAF_data_here)
>
> #Parse for whatever info you want
> ...
>
> My native programming language is R so I hope the functions like 
> paste, readLines, grep, and URLencode are generic enough for other 
> languages to have some kind of similar thing.  This can just be 
> wrapped up into a for
> loop:
> for(i in 1:40000){...}
>
> Web scraping the results of one name at a time would be SLOW and 
> obviously using an API is the way to go but it didn't look like the 
> OCLC LCNAF API handled Corporate Name.  However, it sounds like in the 
> previous message someone found a work around.  Best of luck! -Simon
>
>
>
>
>
>
> On Mon, Sep 29, 2014 at 8:45 AM, Matt Carruthers <[log in to unmask]> wrote:
>
>> Hi Patrick,
>>
>> Over the last few weeks I've been doing something very similar.  I 
>> was able to figure out a process that works using OpenRefine.  It 
>> works by searching the VIAF API first, limiting results to anything 
>> that is a corporate name and has an LC source authority.  OpenRefine 
>> then extracts the LCCN and puts that through the LCNAF API that OCLC 
>> has to get the name.  I had to use VIAF for the initial name search 
>> because for some reason the LCNAF API doesn't really handle corporate 
>> names as search terms very well, but works with the LCCN just fine 
>> (there is the possibility that I'm just doing something wrong, and if 
>> that's the case, anyone on the list can feel free to correct me).  In 
>> the end, you get the LC name authority that corresponds to your 
>> search term and a link to the authority on the LC Authorities website.
>>
>> Anyway,  The process is fairly simple to run (just prepare an Excel 
>> spreadsheet and paste JSON commands into OpenRefine).  The only 
>> reservation is that I don't think it will run all 40,000 of your 
>> names at once.  I've been using it to run 300-400 names at a time.  
>> That said, I'd be happy to share what I did with you if you'd like to 
>> try it out.  I have some instructions written up in a Word doc, and 
>> the JSON script is in a text file, so just email me off list and I can send them to you.
>>
>> Matt
>>
>> Matt Carruthers
>> Metadata Projects Librarian
>> University of Michigan
>> 734-615-5047
>> [log in to unmask]
>>
>> On Fri, Sep 26, 2014 at 7:03 PM, Karen Hanson 
>> <[log in to unmask]>
>> wrote:
>>
>> > I found the WorldCat Identities API useful for an institution name 
>> > disambiguation project that I worked on a few years ago, though my 
>> > goal wasn't to confirm whether names mapped to LCNAF.  The API 
>> > response
>> includes
>> > a LCCN, and you can set it to fuzzy or exact matching, but you 
>> > would need to write a script to pass each term in and process the results:
>> >
>> >
>> http://oclc.org/developer/develop/web-services/worldcat-identities.en
>> .html
>> >
>> > I also can't speak to whether all LC Name Authorities are 
>> > represented, so there may be a chance of some false negatives.
>> >
>> > OCLC has another API, but not sure if it covers corporate names:
>> > https://platform.worldcat.org/api-explorer/LCNAF
>> >
>> > I suspect there are others on the list that know more about the 
>> > inner workings of these APIs if this might be an option for you... 
>> > :)
>> >
>> > Karen
>> >
>> > -----Original Message-----
>> > From: Code for Libraries [mailto:[log in to unmask]] On 
>> > Behalf Of Ethan Gruber
>> > Sent: Friday, September 26, 2014 3:54 PM
>> > To: [log in to unmask]
>> > Subject: Re: [CODE4LIB] Reconciling corporate names?
>> >
>> > I would check with the developers of SNAC ( 
>> > http://socialarchive.iath.virginia.edu/), as they've spent a lot of 
>> > time developing named entity recognition scripts for personal and 
>> > corporate names. They might have something you can reuse.
>> >
>> > Ethan
>> >
>> > On Fri, Sep 26, 2014 at 3:47 PM, Galligan, Patrick <
>> [log in to unmask]
>> > >
>> > wrote:
>> >
>> > > I'm looking to reconcile about 40,000 corporate names against 
>> > > LCNAF to see whether they are authorized strings or not, but I'm 
>> > > drawing a blank about how to get it done.
>> > >
>> > > I've used http://freeyourmetadata.org/ for reconciling subject 
>> > > headings before, but I can't get it to work for LCNAF. Has anyone 
>> > > had any experience in a project like this? I'd love to hear some 
>> > > ideas for automatically dealing with a large data set like this 
>> > > that we did not create and do not know how the names were created.
>> > >
>> > > Thanks!
>> > >
>> > > -Patrick Galligan
>> > >
>> >
>>
>
>
>
> --
> Simon Brown
> [log in to unmask]
> simoncharlesbrown (Skype)
> 831.440.7466 (Phone)
>
> *Following our will and wind we may just go where no one's been -- 
> MJK*

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003

ATOM RSS1 RSS2



LISTS.CLIR.ORG

CataList Email List Search Powered by the LISTSERV Email List Manager
https://lists.clir.org/cgi-bin/wa?A2=ind1409&L=CODE4LIB&P=275595
lists.clir.org
crawl=CC-MAIN-2019-35
61793
application/http; msgtype=response
sha1:SJH6RWV2K2S7LZCLSTYO4GKC2775HTZL
<urn:uuid:e2d23ac7-bbf9-4cda-809d-58fe21faafce>
2019-08-20T19:26:19Z
66.175.211.245
text/html
sha1:H26VFJNONQL3G46GYOXGCBMZGM4DKUWF
<urn:uuid:85412247-e60c-473e-80a8-c4850dda43b2>
https://lists.clir.org/cgi-bin/wa?A2=ind1409&L=CODE4LIB&P=275595
response
<urn:uuid:53a43eab-550a-47c7-9381-7071431e671c>
isPartOf: CC-MAIN-2019-35
publisher: Common Crawl
description: Wide crawl of the web for August 2019
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-214.ec2.internal
software: Apache Nutch 1.15 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.1-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/