Page MenuHomePhabricator

Define canonical URI for EntitySchemas
Open, Needs TriagePublic

Description

ShEx schemas at Wikidata reside at https://www.wikidata.org/wiki/EntitySchema:Exxx, but this is not a canonical URI. We should have a canonical URI (prefix), and I guess http://www.wikidata.org/entity/ would do, just as for Items, Properties, and Lexemes.

Once a URI prefix has been found:

  • it should be documented whereever necessary
  • http://www.wikidata.org/entity/Exxx (or whatever prefix is chosen) should redirect to actual content, as for Items, Properties, and Lexemes.

A canonical URI would likely be required for T225701, and the shex-simple tool could probably make use of it as well for relative URI resolution to a predictable absolute URI.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 14 2019, 6:57 AM
Tpt added a subscriber: Tpt.Jun 17 2019, 8:21 AM

EntitySchema is not relies on Wikibase so it should not use Special:EntityData in Wikibase. Probably we should use www.wikidata.org/entityschema/Exxx