CiTO, the citation ontology, is an ontology for describing the nature of link citations in scientific articles and other scientific papers for other similar publications and for web information resources, as well as for publishing these descriptions in the Semantic Web, as described in this article (open access)
Despite the fact that the document has excellent work explaining the terms available in the ontology, I only have basic knowledge of XML, HTML and RDF, and I'm a bit unclear how to implement this on a web page.
Suppose I write a blog post on the Internet and point out that the line I just wrote disproves the quote that quoted it. I would just write:
... refutes the analysis of <a rel="cito:refutes" href="http://dx.doi/org/10.1126/science.1197258">Wolfe et al. 2010</a>.
Or do I need to specify a namespace for CiTO somewhere?
eg. I need to format the page as XML, for example.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://purl.org/net/cito/">
Is the string <html xmlns="http://purl.org/net/cito/"> correct way to add a namespace?
When building the link, obviously there are many URLs that I could provide for the same article. Is there any best practice on how to select them, or an additional attribute that I can configure to pass doi explicitly? Or do I need to specify the url where the cito data is embedded? How does this relate to using the "rev" tag in html anchors, and is there a time when I add the cito link to the rev tag?
Once I did this, is there an obvious programmatic way to create an RDF file containing my quotes with their CiTO values?