Page MenuHomePhabricator

rdf:datatype for Type:URL should be #anyURI
Closed, ResolvedPublic

Description

Author: info

Description:
In RDF Export, attributes of Type:URL are exported with attribute
rdf:datatype="http://www.w3.org/2001/XMLSchema#string"

I think it would be more correct for URL's to be of XSD datatype #anyURI, see
http://www.w3.org/TR/xmlschema-2/#anyURI

It's a trivial fix to SMW_DT_URI.php.

I'm not sure whether the same applies to Type:Email. Perhaps in RDF export it
should have mailto: in front, and then it could also be of datatype #anyURI.


Version: unspecified
Severity: normal
URL: http://ontoworld.org/wiki/Special:ExportRDF/Michael_Damon_Weiss

Details

Reference
bz7881

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:27 PM
bzimport set Reference to bz7881.

info wrote:

I checked in this fix for URLs.

Entered separate bug 8956 for Type:Email