Skip to content
tadejs edited this page Jun 20, 2012 · 1 revision

Example usage: curl -d "CMS" aidemo.ijs.si/mlw/en/run.html5its2

-> returns <span [...] translate="no">CMS</span>[...]

There are several possible endpoints:

  • /en/run.html5its2 - outputs metadata as custom itsx-* attributes. This will probably be the primary format and is the easiest to read.
  • /en/run.html5rdfa - RDFa, this one actually serializes more data, not just the ITS annotation, but also the underlying entity properties.
  • /en/run.html5rdfalite - ditto, but with RDFa Lite
  • /en/run.html5microdata - serialized as Microdata

(also, same works for /sl/ for Slovene text)

Known problems:

  • The RDFa versions still have some minor issues with generating correct URIs for annotations (not an issue unless you're trying to de-reference them using NIF)
  • The its2 output also contains the alternative-label attribute, for which there isn't any second use case;
  • Does not yet output term, domain, disambiguatio data categories.

Clone this wiki locally