Facet
Facet is a visualization. It is a piece of program code that processes a given RDF node and its context, the whole graph, and draws a visualization of a certain type.
In RDF, a facet is referenced by an IRI: this way, Linked Data can tell Iolanta how it can be visualized.
Facet Type | In RDF | In Code |
---|---|---|
Python based facet | python://some_module.FacetClass |
Python class, inherited from iolanta.facets.Facet |
More types are planned (1).
- In particular, WASM based facets downloadable from the Web and executed in a sandbox.
Facets
For now, the only facets that Iolanta supports are bundled with it.
-
Render a human readable title for a node.
- URI:
python://iolanta.facets.title.TitleFacet
- Outputs: string
- URI:
-
For an RDFS or OWL
Class
, render a list of its instances that we know about.- URI:
python://iolanta.facets.textual_class.ClassFacet
- Outputs: Textual widget
- URI:
-
All RDF properties and their values for a given node in interactive textual UI. (Not best naming though.)
- URI:
python://iolanta.facets.textual_default.TextualDefaultFacet
- Outputs: Textual widget
- URI:
-
For an RDF graph, list triples that it contains.
- URI:
python://iolanta.facets.textual_graph.GraphFacet
- Outputs: Textual widget
- URI:
-
Display contents of a Nanopublication.
- URI:
python://iolanta.facets.textual_nanopublication.NanopublicationFacet
- Outputs: Textual widget
- URI:
-
Display terms of an Ontology.
- URI:
python://iolanta.facets.textual_ontology.OntologyFacet
- Outputs: Textual widget
- URI:
-
TextualPropertyPairsTableFacet
Display Subject → Object pairs for an RDF Property.
- URI:
python://iolanta.facets.textual_property_pairs_table.TextualPropertyPairsTableFacet
- Outputs: Textual widget
- URI:
-
Feel free to ➕ add an issue!