[shape-map] RDF representation of a ShapeMap (#18)

joeltg has just created a new issue for https://github.com/shexSpec/shape-map:

== RDF representation of a ShapeMap ==
ShapeMaps are defined abstractly in the current spec - are there plans to develop an RDF representation of a `ShapeMap` as an `rdfs:Class`?

I'm imagining `shape` as a property with range `shex:ShapeExpression` (this covers both labeled shapes and the start shape?), and `node` as another property whose object is either an IRI (?) or an `rdf:Statement` representing a triple pattern.

I'm not sure how you'd represent the focus node in a triple pattern - maybe with another `focus` property on the `ShapeMap` class whose object is a blank node distinguished as the focus selector? Although that seems like an abuse of the semantics of blank nodes.

Is this possible? Is it useful? Will blank node labels cause problems?

Please view or discuss this issue at https://github.com/shexSpec/shape-map/issues/18 using your GitHub account

Received on Sunday, 12 May 2019 17:12:39 UTC