Page MenuHomePhabricator

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

Description

Author: info

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

Perhaps in RDF export it should have mailto: in front, and then it could
exported with datatype #anyURI, see http://www.w3.org/TR/xmlschema-2/#anyURI

For what it's worth, the proposed Jabber RDF protocol does this, see
http://www.xmpp.org/extensions/inbox/rdfcard.html#email


Version: unspecified
Severity: minor
URL: http://ontoworld.org/wiki/Special:ExportRDF/Email+test

Details

Reference
bz8956

Event Timeline

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

In fact, Jabber (IMHO rightly) encodes emails in the style of object properties, not like datatype properties with an explicit XSD type (this does not affect that the range might be restricted to anyURI). This is also in line with FOAF. We have changed Type:Email accordingly.