Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-13 Thread Karen Coyle
pretty new and getting more tools to support it will help. Jeff -Original Message- From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Karen Coyle Sent: Thursday, July 12, 2012 6:16 PM To: CODE4LIB@LISTSERV.ND.EDU Subject: Re: [CODE4LIB] Worldcat schema.org & search A

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-13 Thread Young,Jeff (OR)
m: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of > Karen Coyle > Sent: Thursday, July 12, 2012 6:16 PM > To: CODE4LIB@LISTSERV.ND.EDU > Subject: Re: [CODE4LIB] Worldcat schema.org & search API > > Ross, it might not be yahoo, but that doesn't mean I k

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-13 Thread Ross Singer
Try using: http://foolip.org/microdatajs/live/ To parse/visualize the data since I'm not sure how much RDFa is actually implemented. I agree that the double angle brackets are probably a bug. The perils of shoving this stuff into a non-displaying div. -Ross. On Thu, Jul 12, 2012 at 6:15 PM, K

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-12 Thread Karen Coyle
Ross, it might not be yahoo, but that doesn't mean I know what it is. The pyRDFa utility returns garbage for RDF/XML and TTL, but not for JSON. It's only in the JSON output that I am getting any bibliographic data. The other two send me back a bunch of links to css files. I guess this is good n

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-12 Thread Ross Singer
Ok, the Pipe didn't quite work as planned. Yahoo! is stripping out all of the relevant html attributes when it's converting the WC microdata html to a string, which renders the whole thing useless. If I don't convert it to a string, it maintains all of the necessary attributes in the JSON output,

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-12 Thread Ross Singer
I made a Yahoo Pipe that merges the WorldCat Basic OpenSearch RSS result with the microdata div in the Worldcat pages referred to in the search results: http://pipes.yahoo.com/pipes/pipe.info?_id=05ae2a7bc180f3abe36b11bcaf1adc52 You'll need to enter your wskey for it to work. You can get the out

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-12 Thread Karen Coyle
It isn't unfortunate, it was deliberate. I have a key for the basic api, but I was being advised that I had overlooked the obvious answer of the worldcat search API. I have no confusion between the two, except for the confusion that seems to be promulgated by OCLC itself. kc On 7/12/12 9:46

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-12 Thread Karen Coombs
Karen, Unfortunately it looks like you requested a key for the WorldCat Search API which does have specific eligibility criteria. The WorldCat Basic API which Ross mentions is available to anyone - http://www.oclc.org/developer/services/worldcat-basic-api It allows you to do an OpenSearch keyword

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-12 Thread Ross Singer
Well, I got the same email today when I apparently clicked on the wrong link (in the wrong account) while looking for my existing WC Basic API WSKEY (seriously, OCLC, the developer site is *terrible* with regards to usability). That said, here are the steps to get a WC Basic API WSKEY: Log in (or

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-12 Thread Karen Coyle
On 7/10/12 5:07 PM, Karen Coyle wrote: On 7/10/12 4:02 PM, Richard Wallis wrote: But is it available to everyone, and is the data retrieved also usable as ODC-BY by any member of the Web public? Yes it is, and at this stage it is only available from within a html page. The "it" I was refe

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-11 Thread Ross Singer
Every entry has a http://worldcat.org/oclc/{oclcnumber}"/> that will take you to the schema.org. -Ross. On Wed, Jul 11, 2012 at 9:08 AM, Karen Coyle wrote: > That only returns a "short citation" but nothing says how short that > citation is, nor if it is formatted. I assume that "citation" means

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-11 Thread Karen Coyle
That only returns a "short citation" but nothing says how short that citation is, nor if it is formatted. I assume that "citation" means citation format, which isn't useful. kc On 7/10/12 7:32 PM, Ross Singer wrote: Worldcat does have the "basic" API, which is "more" "open" (assuming your sit

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-10 Thread Ross Singer
Worldcat does have the "basic" API, which is "more" "open" (assuming your situation qualifies). At any rate, it's free and open to (non-commercial) non-subscribers. http://oclc.org/developer/documentation/worldcat-basic-api/using-api Searching isn't terribly sophisticated, but might suit your nee

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-10 Thread Karen Coyle
On 7/10/12 4:02 PM, Richard Wallis wrote: But is it available to everyone, and is the data retrieved also usable as ODC-BY by any member of the Web public? Yes it is, and at this stage it is only available from within a html page. The "it" I was referring to was the API. Roy is telling me tha

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-10 Thread Richard Wallis
On 10 July 2012 23:13, Karen Coyle wrote: > On 7/10/12 2:10 PM, Roy Tennant wrote: > >> Uh...what? For the given use case you would be much better off simply >> using the WorldCat Search API response. Using it only to retrieve an >> identifier and then going and scraping the Linked Data out of a

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-10 Thread Karen Coyle
On 7/10/12 2:10 PM, Roy Tennant wrote: Uh...what? For the given use case you would be much better off simply using the WorldCat Search API response. Using it only to retrieve an identifier and then going and scraping the Linked Data out of a WorldCat.org page is, at best, redundant. I do not co

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-10 Thread Karen Coyle
I think we have a catch-22 here. You need an OCLC developer license to use WC to "discover" WC URIs using an application; you need WC URIs (or other URIs that are not very diffuse on the Web) to make use of the OCLC linked data. The OCLC linked data is ODC-BY for anyone wishing to use the data,

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-10 Thread Kevin Ford
Does the worldcat search api return the data as described with the schema.org and OCLC extension vocabularies? The use case mentioned extracting the RDFa data from those pages. Without knowing the answer to the leading question above, the mock solution addressed that condition. If one simply

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-10 Thread Roy Tennant
Uh...what? For the given use case you would be much better off simply using the WorldCat Search API response. Using it only to retrieve an identifier and then going and scraping the Linked Data out of a WorldCat.org page is, at best, redundant. As Richard pointed out, some use cases -- like the on

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-10 Thread Kevin Ford
The use case clarifies perfectly. Totally feasible. Well, I should say "totally feasible" with the caveat that I've never used the Worldcat Search API. Not letting that stop me, so long as it is what I imagine it is, then a developer should be able to perform a search, retrieve the response,

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-10 Thread Richard Wallis
Karen, RDFa and the basic schema.org vocabulary, plus the intention of the proposed library extension, are not OCLC specific - they are generic tools and techniques applicable across many domains. I would therefore avoid library focussed tool sites, which would run the risk of not keeping up with

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-10 Thread Karen Coyle
Kevin, if you misunderstand then I undoubtedly haven't been clear (let's at least share the confusion :-)). Here's the use case: PersonA wants to create a comprehensive bibliography of works by AuthorB. The goal is to do a search on AuthorB in WorldCat and extract the RDFa data from those page

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-10 Thread Kevin Ford
As for someone who might want to do this programmatically, he/she should take a look at the "Programming languages" section of the second link I sent along: http://schema.rdfs.org/tools.html There one can find Ruby, Python, and Java extractors and parsers capable of outputting RDF. A develop

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-10 Thread Karen Coyle
Thanks, Roy. I obviously never got there, but will visit in the future. kc On 7/10/12 12:57 PM, Roy Tennant wrote: Also, my colleague wishes me to point out that the email address and phone number of any OCLC staff member is only two clicks away from our home page. Go to "Contact us" which is a

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-10 Thread Richard Wallis
Hi Karen At this stage there is no specific api as such to get at the embedded RDFa data in WorldCat - you can use the normal UI of WorldCat itself or one of the WorldCat Search API options such as OpenSearch. This experimen

Re: [CODE4LIB] Worldcat schema.org & search API

2012-07-10 Thread Roy Tennant
Also, my colleague wishes me to point out that the email address and phone number of any OCLC staff member is only two clicks away from our home page. Go to "Contact us" which is an option along the top on every page, then "Contact OCLC Staff" which is in the sidebar and also a link on the page as

[CODE4LIB] Worldcat schema.org & search API

2012-07-10 Thread Karen Coyle
I have demonstrated the schema.org/RDFa microdata in the WC database to various folks and the question always is: how do I get access to this? (The only source I have is the Facebook API, me being a "user" rather than a "maker".) The microdata is CC-BY once you get a Worldcat URI, but is there