Scoping context based on @type

Closely related to term-based scoping when the term is used as a property is scoping based on type. As explained in Issue #415 [1], this comes into play when different kinds of things are related hierarchically using similar property names, but where either those properties need different IRIs, or properties used within those entities use a different vocabulary scope. See, in particular, Rob Sanderson’s examples from CIDOC-CRM [2].

This is addressed in PR #462 [3] with fairly minor changes to the expansion and compaction algorithms.

Reviews requested, and we’ll plan on merging this at the end of the week, unless feedback dictates making further changes.

Updated documents are available on my fork [4][5]. Note that change highlighting is cumulative.

Gregg Kellogg
gregg@greggkellogg.net

[1] https://github.com/json-ld/json-ld.org/issues/415
[2] https://github.com/json-ld/json-ld.org/issues/415#issuecomment-277021112
[3] https://github.com/json-ld/json-ld.org/pull/462
[4] http://gkellogg.github.io/json-ld.org/spec/latest/json-ld/
[5] http://gkellogg.github.io/json-ld.org/spec/latest/json-ld-api/

Received on Saturday, 4 February 2017 21:21:53 UTC