# Notes

## Semantic Notebook notes

• Nice collection of posts on scholarly html, but too little mention of the serious linked data stuff coming out of biscol, ievobio/nescent, etc. In particular, Martin’s [history] (https://blogs.plos.org/mfenner/2011/03/19/a-very-brief-history-of-scholarly-html/) gives some nice perspective.
• The war for schema. Which ontologies should we choose? (e.g. schema.org’s take

Puzzles

Basically we can do this using implicit reasoning (exploiting the logic of linked data), but we may prefer to be explict. This video does a nice job of explaining these concepts. Basically, if we do this right, we should be able to “dereference” an object away from a particular ontology.

### Resources

• rdfa extractor (into RDF, JSON, n3). Also has validator, but doesn’t point to the nu variant for html5.
• RDFa Play. Wow, very nice.
• sameAs.org - search onotologies for an existing term, identify identical terms in different ontologies, etc. Simply brilliant, what I’ve always wanted!
• Still not clear on rdfa vs html5. Why in the world should dc:title be preferable to <title> ?

### knitcitations update: adding formats an semantics.

• Looking at citeproc / CSL github page.
• Raw citeproc is an XML stylesheet, XSLT, which can render XML into HTML (and much more). Possible other options are using something like citeproc-js or citeproc-ruby, or writing citeproc-R.
• Not quite clear how to take a CSL and a set of references and generate HTML; aforementioned packages may address this.
• For the moment, probably easier to convert R bibitem to display with RDFa with scholarlyhtml recommended ontology than to enter raw XML reference and format via citeproc. Should also support adding in the cito tags. With full addresses in property, should be able to avoid any need for namespace/header modifications.