Skip to content
This repository has been archived by the owner on Dec 3, 2018. It is now read-only.

Resource field formats

Nicolas Thouvenin edited this page Dec 22, 2016 · 8 revisions

With Lodex, it is possible to choose the display format of field value. A field value is the "Object" for a triple (subject-predicate-object). The format directly depends of the export format.

There are usually 2 different cases, for HTML export et for all others cases. In the prototype, HTML transformation is made by a dedicated web component.

"raw"

no transformation

"markdown"

For HTML output transform syntax to HTML For all others cases, no transformation

"moment"

For HTML output transform ISODate to Human and locale date For all others cases, no transformation

Note : Could be renamed

"chart" (experimental)

For output HTML generate graphics from an API REST giving access to MongoDB operators as is done in ezvis

For all others cases, REST API URL

"picture"

For HTML output transform url to image view with some features (like lightbox2) For all others cases, no transformation

"uri"

For HTML output transform uri to href link with icon and text label

"embeduri"

For HTML output transform uri to a frame with title, link and description

"istex"

For HTML output, transform elastic query to small result interface with pagination and filter For all RDF output (RDF, NQ, TRIG, N3, etc.), transform elastic query to triplets with ISTEX identifiers For all tabular output (XLS, CVS, TSV), no transformation

"bag"

For HTML output transform a string with separtors to unodered list

"sparql" (not yet implemented)

For HTML output, transform SPARQL query to small result interface with pagination and filter For all RDF output (RDF, NQ, TRIG, N3, etc.), transform SPARQL to triplets For all tabular output (XLS, CVS, TSV), no transformation

Clone this wiki locally