Messaggi di Rogue Scholar

language
Pubblicato in Syntaxus baccata

The new update, v0.4.4, contains a few Wikidata improvements (commit): 22 new mappings 2 fixed mappings (ISSN did not work and publisher-place was mapped to the wrong thing) 2 improved mappings (container-title for chapters and more URL mappings) 1 removed mapping (genre was inconsistent with the intended use, although it followed the specification) Because most of these mappings require additional resources (recipient has to fetch people,

Pubblicato in Syntaxus baccata

After about two years, finally v0.4.0 is ready for a release. Whether it is a real milestone given that there have been prereleases for about two years, while 0.3.x only lasted three weeks, is for you to decide but I am glad that everything I planned for this version is implemented now. Changes So, let’s go through the major changes. Modules Most importantly, the code is fully modulated now.

Pubblicato in Syntaxus baccata

I am in the process of creating a better way to map CSL types to Wikidata types together with Jakob Voß, and while listing all subtypes of web page, I came across a number of these cases (link): #defaultView:Graph SELECT ?a ?aLabel ?b ?bLabel WHERE { wd:Q58803899 wdt:P279* ?a . ?a wdt:P279 ?b . FILTER EXISTS { ?b wdt:P279* wd:Q386724 . } SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } I’m no expert on

Pubblicato in Syntaxus baccata

I made a Material-themed page showing Citation.js blog posts from Blogger. It supports pagination, tags, search and linking individual posts. Since it’s a single, static page I can’t support meta and link tags for metadata, that would require JavaScript which indexers don’t run.

Pubblicato in Syntaxus baccata

I recently found myself working with Altmetric badges again, and I realized how cumbersome it can be to work with scripts. The Altmetric badges can only be added by using their JavaScript library, while it would be a lot more user friendly to have a simple URL that embeds the badge, preferably even an image.

Pubblicato in Syntaxus baccata

I’m going to share some stories on debugging with you, because I’m proud of them. After writing up the first story, I’m no longer particularly proud, but I still want to share the story. Here’s the first: a bug that seemed quite familiar. After some trouble with mocking API requests I decided that supporting mocking in the browser isn’t as important as supporting mocking at all, so I installed mock-require (I didn’t get proxyquire to work).

Pubblicato in Syntaxus baccata

It’s been a while. Really. But now it’s back, with a new release: v0.4.0-0, the v0.4 beta. Below I explain some of the changes in this release, and then the road-map of Citation.js for v0.4 and v0.5. Also, Citation.js has a DOI now: Also, @jsterlibs tweeted about Citation.js. Release Input plugins The main change in this release, is the addition of input plugins. This is the first step towards releasing v0.4, as explained below.

Pubblicato in Syntaxus baccata

Below is part two of a small series on ctj rdf, a new program I made to transform ContentMine CProjects into SPARQL-queryable Wikidata-linked rdf. Here’s a more detailed example. We are using my dataset available at 10.5281/zenodo.845935. It was generated from 1000 articles that mention ‘Pinus’ somewhere. This one has 15326 statements, whereof 8875 (57.9%) can be mapped, taking ~50 seconds.

Pubblicato in Syntaxus baccata

Below is part one of a small series on ctj rdf, a new program I made to transform ContentMine CProjects into SPARQL-queryable Wikidata-linked rdf. ctj has been around for longer, and started as a way to learn my way into the ContentMine pipeline of tools, but turned out to uncover a lot of possibilities in further processing the output of this pipeline (1, 2). The recent addition of ctj rdf expands on this.