EPrints Technical Mailing List Archive

Message: #07877


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] JSON-LD , http://schema.org


Thanks, Karl.  I created the pull request and after a discussion with Lizz Jennings, it has been merged to the master branch. The JSON-LD plugin is updated so that in addition to DataSet, it can also convert other EPrints document type’s metadata into schema.org.  I am particularly happy that it can output a graph of results, i.e., multiple items, for example: https://spectrum.library.concordia.ca/cgi/exportview/divisions/dep=5Fapphumansci/2019/JSONLD/dep=5Fapphumansci_2019.js

Thanks again to Lizz Jennings for getting us started on the first version of that JSON-LD plugin for EPrints. 

Tomasz

 

 

 

 

From: Karl Goetz <karl.goetz@utas.edu.au>
Sent: May 21, 2019 7:21 PM
To: eprints-tech@ecs.soton.ac.uk; Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
Subject: Re: [EP-tech] JSON-LD , http://schema.org

 

Hi Tomaz,

I suggest opening a pull request. I know the json-ld repository has been largely untouched but its still worth having updates fed in rather then Yet Another obsolete project!

 

Karl.



On 22 May 2019, at 8:56 am, Tomasz Neugebauer via Eprints-tech <eprints-tech@ecs.soton.ac.uk> wrote:

 

I have been working a lot with JSON format on a different metadata ingest project, which made me have another look at the JSON export that comes with EPrints The default JSON export takes the EPrints XML, and exports all of it out; so we made the default all-metadata-exporting JSON plugin visible to staff only.  The result wasn't structured according to schema.org (https://schema.org/) specification, which would be more useful for indexing by Google and Bing.  So I had a look around, and found the eprintsugrepository: https://github.com/eprintsug/json-ld   Great work!  

 

I have created a branch https://github.com/eprintsug/json-ld/tree/json-ld-generalized that is more generalized beyond DataSet document type, and now have this working in our repository (https://spectrum.library.concordia.ca).  We are mapping by default to the broad “CreativeWork” type (https://schema.org/CreativeWork), and the more specific types for thesis (https://schema.org/Thesis), dataset (https://schema.org/Dataset), article (https://schema.org/ScholarlyArticle), book_section (https://schema.org/Chapter), and book (https://schema.org/Book).  I also added a function to generate a JSON-LD @graph for the results for browse screens and search results.  

 

I will be creating a merge request soon to merge this branch into the master branch of the JSON-LD plugin, unless it would make sense to make a fork instead?  

Tomasz

 

 

 

________________________________________________

Tomasz Neugebauer
Digital Projects & Systems Development Librarian / Bibliothécaire des Projets Numériques & Développement de Systèmes
Library / Bibliothèque
Concordia University / Université Concordia

Tel. / Tél. 514-848-2424 ext. / poste 7738
Email / courriel: 
tomasz.neugebauer@concordia.ca

www.concordia.ca/faculty/tomasz-neugebauer.html

Mailing address / adresse postale: 1455 De Maisonneuve Blvd. W., LB-540-03, Montreal, Quebec H3G 1M8
Street address / adresse municipale: 1400 De Maisonneuve Blvd. W., LB-540-03, Montreal, Quebec H3G 1M8

library.concordia.ca

 

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: 
http://www.eprints.org/tech.php/
*** EPrints community wiki: 
http://wiki.eprints.org/
*** EPrints developers Forum: 
http://forum.eprints.org/

 

-- 

Karl Goetz

Mon, Tue, Wed, Technical Services Officer - eResearch

Wed, Thu, Fri Senior Library Officer (Library Systems)

University of Tasmania, Private Bag 25, Hobart 7001

 



University of Tasmania Electronic Communications Policy (December, 2014).
This email is confidential, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone outside the intended recipient organisation is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender. The views expressed in this email are not necessarily the views of the University of Tasmania, unless clearly intended otherwise.