W3C home > Mailing lists > Public > public-shex-dev@w3.org > May 2019

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

From: Joel Gustafson via GitHub <sysbot+gh@w3.org>
Date: Sun, 12 May 2019 17:12:38 +0000
To: public-shex-dev@w3.org
Message-ID: <issues.opened-443126342-1557681157-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 11:00:19 UTC