Re: Is there a resource that embeds jsonld schema.org metadata at dataset level?

Hi Dan,

Thanks for the helpful links and suggestions.

I have managed to simply extract jsonld. For example: http://identifiers.org/rest/metadata/reactome:R-HSA-446203 <http://identifiers.org/rest/metadata/reactome:R-HSA-446203> shows jsonld schema.org metadata from http://reactome.org/content/detail/R-HSA-446203 <http://reactome.org/content/detail/R-HSA-446203>. 

Would it be a good idea to provide guidelines or best practices that resources can follow when adding metadata within this community. This will help us to extract metadata without having to crawl and scrape through many different formats and pages. 

Cheers,
Sarala

> On 22 Aug 2017, at 20:18, Dan Brickley <danbri@danbri.org> wrote:
> 
> (via Natasha, cc:'d)
> 
> On 22 August 2017 at 03:30, Sarala Wimalaratne <sarala@ebi.ac.uk <mailto:sarala@ebi.ac.uk>> wrote:
> Hi All,
> 
> I have started implementing a service to extract jsonld schema.org <http://schema.org/> metadata via identifiers.org <http://identifiers.org/>. I’m looking for a resource that I can use to test this service. Is there a resource that embeds jsonld schema.org <http://schema.org/> metadata at dataset level?
> 
> https://search.datacite.org/works/10.11578/1366473 <https://search.datacite.org/works/10.11578/1366473>
> 
> view from Google tools: https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fsearch.datacite.org%2Fworks%2F10.11578%2F1366473 <https://search.google.com/structured-data/testing-tool#url=https://search.datacite.org/works/10.11578/1366473> (it may timeout sometimes)
> 
> Hope this helps,
> 
> Dan
> 
> ps. if you want to be really complete you could run the extraction after rendering the page in a headless Web browser - that would allow JSON-LD markup injected by Javascript widgets to be extracted too
> 
> 
> here is a quick example: https://gist.github.com/danbri/ad684a50872fffb30e0bbd2c22ea3e18 <https://gist.github.com/danbri/ad684a50872fffb30e0bbd2c22ea3e18>
> 
> Cheers,
> 
> Sarala M Wimalaratne, B.Eng. PhD
> Senior Software Engineer
> European Bioinformatics Institute (EMBL-EBI)
> European Molecular Biology Laboratory
> Wellcome Trust Genome Campus
> Hinxton
> Cambridge CB10 1SD UK
> 
> 

Received on Wednesday, 23 August 2017 20:54:52 UTC