[rdfweb-dev] Smushing the Semantic Web / Invalid data in IFP's

Julian Bond julian_bond at voidstar.com
Wed Mar 24 16:40:56 UTC 2004

Perry Lorier <perry at coders.net> wrote:
>Victor Lindesay wrote:
>>>From Perry:
>>>Does validating fields with regex's make sense?  What are the regex's 
>>>that things should be validated against?
>>   Regex ?!?!
>>  FOAF is RDF. Surely an RDF parser would be the appropriate tool?
>regex's for the literals.  a mbox_sha1sum is /^[0-9a-z]{40}$/ anything 
>else in a sha1sum field is meaningless.  an email address/jabber ID are 
>"something at host.name".  are there others that have obvious formats?

Most of the IM systems take an email address format.

All the web page or web site, resource location values need to be proper 
FQDN, probably with "http://" I'd say the same for img although I may be 
misusing it's rdf definition to demand it.

Julian Bond Email&MSM: julian.bond at voidstar.com
Webmaster:                 http://www.ecademy.com/
Personal WebLog:          http://www.voidstar.com/
M: +44 (0)77 5907 2173      T: +44 (0)192 0412 433

More information about the foaf-dev mailing list