Skip to content

The URI-Editor doesn't assign the proper datatype

When a literal is created via the URI-Editor, then the data stored is a simple string rather than of type xsd:anyURI.

Example for a shape using this:

sorsh:hasWikidataShape
  a sh:PropertyShape ;
  sh:deactivated false ;
  sh:datatype xsd:anyURI ;
  sh:message "A person or work may have any amount of Wikidata entries."@en ;
  sh:severity sh:Violation ;
  sh:path sor:WikidataMatch;
  dash:editor dash:URIEditor ;
  sh:nodeKind sh:Literal ;
  sh:description ""@en ;
  sh:order "7"^^xsd:decimal ;
  sh:name "Wikidata entry"@en .

(This and all the other shapes using this editor in the Rosenzweig schema should actually store the entered URL as a node rather than as a literal, but there is no editor implemented for that yet, see #71).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information