Wikidata / SQID

A tool to analyse, browse and query Wikidata
http://tools.wmflabs.org/sqid/
Apache License 2.0
84 stars 17 forks source link

show article references with a full citation #74

Open egonw opened 8 years ago

egonw commented 8 years ago

Huge thanks for the work on feature #69!

I noted that article references are also listed just by the Wikidata item label:

image

This makes a lot of sense, but less common for article type references ('instance of' 'scientific article', like the above example for Q23571594.

Any change of using a JavaScript library to show the full references? There are likely other libraries that would be an alternative, but the below uses citation.js to give what I mean (for Q23571040):

image

with this output:

image

Is this an interesting next subproject to work on?

mkroetzsch commented 8 years ago

UI: one could show this expanded citation text below the item, so this seems feasible enough.

Technical: one would have to fetch the data of all items used in references to see if they are instances of scientific articles, and if so one would need to fetch and parse their data. This may lead to many additional requests that potentially slow down page display (note that you need to fetch further labels from other items to display the data correctly). Could this be restricted to items that are values of "stated in"? In any case, doing this is a bit more work and requires additional implementation that is not solved by a citation formatting library.