Implement the display of SUFF ontology data in the web browser.
This implementation should follow stages:
Nominal geometries
simple case of equally likely, unordered geometries
should be able to click on a geometry and have a pop-up of basic properties, in particular a schema:citation predicate, indicating a literal (textual description), a hyperlink or a structured schema:CreativeWork which will describe a scholarly work
Ordinal geometries
ordered, evenly spaced (certainty) geometries with a 0 and a 1 polygon auto-calculated
Ordinal geometries improved 1 calculation
same as above but with 1 polygon or point calculated
Interval
same as above but with certainty given by a nominated RDF literal value
default value is rdf:value but could be another predicate if indicated as below
Ration
same as above but with Geometries indicating 0 and 1 certainties
the other Geometries - not 0 or 1 - may or may not contain certainty values. Space evenly if values not given
Software packaging
The software should be:
pure JS
it may only be able to work with Turtle RDF, if N3 is used
would be nice if it could parse other RDF formats, especially JSON-LD, if not too hard to arrange
available via npm or equivalent
let me know what the preference is
should be able to use SUFF RDF data as the sole input
all other config values should have defaults to allow RDF-only input to work
library should export pure GeoJSON
library reads SUFF RDF, calculates the opacities and 0, 1 polygons as needed, and outputs GeoJSON that can be read by Google Maps / MapBox etc.
may need config options to choose the "style" of GeoJSON that the various mapping tools can understand
demo implementation framework should be given
create a second repo for a framework deployment of the library, with example data etc.
use MapBox (or the same thing you used for CAM)
Indicating a certainty predicate
The suff:hasUncertaintyRelations value must be either <https://linked.data.gov.au/def/levels-of-measurement/interval> or <https://linked.data.gov.au/def/levels-of-measurement/ratio>.
Here suff:certaintyIndicator is used on the GeometryCollection to indicate that each Geometry will have a certainty (must be floating point value between 0 and 1) indicated by the ex:specialCertainty predicate. If not given, assume rdf:value is the indicator.
Implement the display of SUFF ontology data in the web browser.
This implementation should follow stages:
schema:citation
predicate, indicating a literal (textual description), a hyperlink or a structuredschema:CreativeWork
which will describe a scholarly workrdf:value
but could be another predicate if indicated as belowSoftware packaging
The software should be:
Indicating a certainty predicate
The
suff:hasUncertaintyRelations
value must be either<https://linked.data.gov.au/def/levels-of-measurement/interval>
or<https://linked.data.gov.au/def/levels-of-measurement/ratio>
.Here
suff:certaintyIndicator
is used on theGeometryCollection
to indicate that eachGeometry
will have a certainty (must be floating point value between 0 and 1) indicated by the ex:specialCertainty predicate. If not given, assumerdf:value
is the indicator.Resources
SUFF model (updated): https://w3id.org/suff/
Tasks