[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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 at ecs.soton.ac.uk<mailto:eprints-tech at 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://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fschema.org&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=20N99RoeMUUVp2Di2zhQe%2FKm0fI2QloEGYxeQkIxFpk%3D&amp;reserved=0> (https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fschema.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=QUUoPC%2BWKPTsqC1SzQhbtoXOuWgZ2QEFBOgKyGsIXqE%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fschema.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=QUUoPC%2BWKPTsqC1SzQhbtoXOuWgZ2QEFBOgKyGsIXqE%3D&amp;reserved=0>) specification, which would be more useful for indexing by Google and Bing.  So I had a look around, and found the eprintsugrepository: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprintsug%2Fjson-ld&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=oQEZpxvqDcgdl8JFo3S1DAHcP1SHFKqpOURxNSjaeb8%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprintsug%2Fjson-ld&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=oQEZpxvqDcgdl8JFo3S1DAHcP1SHFKqpOURxNSjaeb8%3D&amp;reserved=0>   Great work!

I have created a branch https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprintsug%2Fjson-ld%2Ftree%2Fjson-ld-generalized&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=%2B9Ejq0w9DGGWo9ISBlMuZp2iTiol1ePlLSZA09LRfeU%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprintsug%2Fjson-ld%2Ftree%2Fjson-ld-generalized&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=%2B9Ejq0w9DGGWo9ISBlMuZp2iTiol1ePlLSZA09LRfeU%3D&amp;reserved=0> that is more generalized beyond DataSet document type, and now have this working in our repository (https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspectrum.library.concordia.ca&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=0LzdRuAKith3M9Y7aIFAF%2B4%2B2k4vV76Nnyh1p8l6sKc%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspectrum.library.concordia.ca&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=0LzdRuAKith3M9Y7aIFAF%2B4%2B2k4vV76Nnyh1p8l6sKc%3D&amp;reserved=0>).  We are mapping by default to the broad ?CreativeWork? type (https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fschema.org%2FCreativeWork&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=wzi1DfxxOn8sJq2BhV1Gbd5jg0mm41XDpuMF660q%2F4U%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fschema.org%2FCreativeWork&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=wzi1DfxxOn8sJq2BhV1Gbd5jg0mm41XDpuMF660q%2F4U%3D&amp;reserved=0>), and the more specific types for thesis (https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fschema.org%2FThesis&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=H3kJJrjaNMS7u6hvB03JFUDRQQW9mIlH4QG2Yiaw%2BYo%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fschema.org%2FThesis&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=H3kJJrjaNMS7u6hvB03JFUDRQQW9mIlH4QG2Yiaw%2BYo%3D&amp;reserved=0>), dataset (https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fschema.org%2FDataset&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=JguC58hFIvmRfv1DEwVSLN3NT8GB7ZF9J2G%2Be8cku0c%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fschema.org%2FDataset&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=JguC58hFIvmRfv1DEwVSLN3NT8GB7ZF9J2G%2Be8cku0c%3D&amp;reserved=0>), article (https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fschema.org%2FScholarlyArticle&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=XMweu13iBpXTjz8hpxRzjSUqcZORpLR6A%2Fl%2B2XDDXyM%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fschema.org%2FScholarlyArticle&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=XMweu13iBpXTjz8hpxRzjSUqcZORpLR6A%2Fl%2B2XDDXyM%3D&amp;reserved=0>), book_section (https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fschema.org%2FChapter&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=blu0w8zZnePPJFn%2B8hM98wameNCGQH3qcnTrsOboFDQ%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fschema.org%2FChapter&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=blu0w8zZnePPJFn%2B8hM98wameNCGQH3qcnTrsOboFDQ%3D&amp;reserved=0>), and book (https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fschema.org%2FBook&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=ojLlqH4evRxW51ksJxjSCvMgPzP7RxPlySa2laoIXVE%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fschema.org%2FBook&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=ojLlqH4evRxW51ksJxjSCvMgPzP7RxPlySa2laoIXVE%3D&amp;reserved=0>).  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 at concordia.ca<mailto:tomasz.neugebauer at concordia.ca>
https://eur03.safelinks.protection.outlook.com/?url=www.concordia.ca%2Ffaculty%2Ftomasz-neugebauer.html&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=MgvmbCKnhJgm0FsR3Fu1JZpHJFLd%2FIub3JW2FULbvls%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.concordia.ca%2Ffaculty%2Ftomasz-neugebauer.html&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=qctrgFNCwwVSSvA1JMtHqPmaOlNcvb2ceYnrRnjbiTA%3D&amp;reserved=0>
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<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flibrary.concordia.ca&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=hIsUdfvvFeLglpg49rMIKDm7HsUF2N1wk0%2B1olplGL8%3D&amp;reserved=0>

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=46Zs5p7y0eGIo97xPmtAtt4uIPCdosjskCuiCsiLxHw%3D&amp;reserved=0
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=S%2BdNALXOEMNwwjoUEVaSvVpFUEZhi%2FXpkLEx9C1QM4c%3D&amp;reserved=0
*** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C30f2b450a6c2479a452808d6de42fcea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=o7%2BpHVoiB0ViOkGdvkk2bmd0KNjk7B6Hc1UpOBPJAtA%3D&amp;reserved=0

--
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20190521/930de04a/attachment-0001.html