Re: [foaf-dev] foaf validator

Jonas Smedegaard <[email protected]> Sat, 6 Aug 2011 02:13:29 +0200
Newsgroups gmane.comp.web.rdfweb
Message-ID <[email protected]>
On 11-08-06 at 12:18am, Mischa Tuffield wrote:
> Hi Jonas, 
> 
> On 5 Aug 2011, at 19:08, Jonas Smedegaard wrote:
> > I tried validating my own FOAF file:
> > 
> > http://foaf.qdos.com/validator/uri?URI=http://dr.jones.dk/me/index.rdf
> > 
> > I am puzzled about the results - seems to me that the warnings for 
> > tests 1-3 is bogus as those allegedly missing declarations indeed 
> > exist in my file.  Or am I composing my FOAF data wrongly?

> when you parse http://dr.jones.dk/me/index.rdf none of the triples in 
> the document talk about the URI which the document was fetched from. 
> So yeah your foaf document has an rdf:type 
> foaf:PersonalProfileDocument triple, but the subject of that tripe is 
> <http://dr.jones.dk/me/> due to the use of :
> 
> xml:base="http://dr.jones.dk/me/" in your rdf:xml

Ah.  Thanks!

I have fought for a long time to both support content-negotiation and 
serve RDF as nice directory URLs rather than exposing the ugly 
extension.  I use Apache2 but haven't figured out how to make it rank 
RDF higher than GPG sigs.


> FWIW, I believe the validator was only giving off "Warnings" not 
> errors.

Yes.  I strive for perfection, and thus want also warnings fixed. :-)


> > My FOAF file was generated from http://dr.jones.dk/me/index.ttl 
> > using mkfoaf.sh available below http://dr.jones.dk/foaf/ .
> 
> yay to ttl :) I will have a look at mkfoaf.sh at some point ...

There is not much to the script, actually.  The other scripts in same 
dir might be more interesting ;-)

Took me some time to find a method that works both ways: I can generate 
RDF and from the RDF generate the exact same Turtle file.  Added that 
reverse script now as well: rdf2turtle.sh


Oh, btw: I thought I'd done the WoT setup properly using GPG signing.  
What am I missing there to be "compliant" with your validator?


> Am liking your arabic foaf:nick, 
> يونس
> In Farsi we have a sound closer to the english "Je" than the arabic 
> "You" sounding letter at the start of the foaf:nick, you could also 
> add a:
> 
> <foaf:nick>جنس</foaf:nick>

Great. Added now!


> Otherwise it all looks good, /me waves and says thanks in public for 
> all the debian stuff you have been doing, THANK YOU!

Thanks for the kind words.


> Mischa *goes back to watching "Walking Dead" ...


Hmm - didn't know that one.  Seems interesting!


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

_______________________________________________
foaf-dev mailing list
foaf-dev-RyYwo1q5J+qsOXdr9/[email protected]
http://lists.foaf-project.org/mailman/listinfo/foaf-dev
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCgAGBQJOPIcpAAoJECx8MUbBoAEh9q8P/jePkPvumcW6aTTXocCUg7mr
svu0Ko2KQo6WnE80ZG6LdEbbX8pFZNrCPqEDA5SPcM0MiPp+qcMU1AxuIKn8LeWV
lVm2nzmb+HtDUHOrdMl72/g6ZmBpPh22jg5zxHpZerB01SeKSnURkx0aVvbeMuTo
FD7sptPWhXU8Yg1Su209J5d0j64Xz9UDW3FsrPuet2tU7DyhOfPfTT0+xjHiKUpd
bEhwW6h+Rqa3PJACkaxhe10qlqJKm9xhEcRWDDPC4CB4N7jJ/mmm8Lf2poIOBLfE
ukSbI0spbM9zrgSTNG9w7JmBbxiYa6ml3XwiYdPPoWWLfvvk5gr0W0Y2VuD0cQ3N
nQHXOb1UIUiIsAdM4PELySDt4/Zi4PvaMeDXAw/ZOHFoIpz+7cMqzuiBBJFEZjQ+
RGh/Vhykyz0GXN3/zTZYdpKETaI+pfOc7qF0cd4lSVx4BftZfuzWFulx1WuiJ91y
dpLgz8MvIiKBfiRet82RIm4vpCLoxVMpJ+b4T4CFRrw5ZzPIcPmJs5g3+temRFr8
j6VwEoc2HrAxz6urBQsY9FJz3hLCanpjYZYaIodn/TAGPl/7T4oIpc+8FNkc4d9r
mQoLsNleiaplyEflGVw5epamifRyoievS82LtZPyKLWzzs3ron66GCF4Fi9NBl9a
tu/4xqQ1aN2d5gm8O/hB
=XBR8
-----END PGP SIGNATURE-----