What are you guys using for a parser, to read in FOAF RDF files?
www.goodner.us/jam/marc/marcg.foaf is perfectly fine RDF/XML and
the FOAF looks OK.
The error according to Marc G was:
[[
There were errors processing your form:
* Enter Your FOAF File URL: An error occurred attempting to retrieve
your FOAF file. Please validate the URL provided.
]]
I'm assuming that you've built the FOAF importer on top of a reasonably solid
RDF parser, eg. Jena/ARP, which is the same code that lives behind
www.w3.org/RDF/Validator
Is it possible to get more detailed error reporting? Or share as opensource the loading code, so we can see what's up?
cheers,
danbri
www.goodner.us/jam/marc/marcg.foaf is perfectly fine RDF/XML and
the FOAF looks OK.
The error according to Marc G was:
[[
There were errors processing your form:
* Enter Your FOAF File URL: An error occurred attempting to retrieve
your FOAF file. Please validate the URL provided.
]]
I'm assuming that you've built the FOAF importer on top of a reasonably solid
RDF parser, eg. Jena/ARP, which is the same code that lives behind
www.w3.org/RDF/Validator
Is it possible to get more detailed error reporting? Or share as opensource the loading code, so we can see what's up?
cheers,
danbri
-
Re: Cryptic error msg from tribe FOAF parser
Thu, December 2, 2004 - 5:42 PMWe built it on top of Jena/ARP. The source code is available at www.foafnet.org.
The error here appears to be a network IO problem. Perhaps uploading the file will cause a different behavior.
Paul
-
Re: Cryptic error msg from tribe FOAF parser
Thu, December 2, 2004 - 5:57 PMLooking into this in more detail I see that when his file is uploaded (not over the socket) it does indeed parse. The reason that it fails to import is that there is no PersonalProfileDocument. We key off ot the maker to the primary person in the file.
We fail to find this (correctly as it is not in this file) and hence fails with this unfortunately cryptic message.
Paul
-
-
Re: Cryptic error msg from tribe FOAF parser
Fri, December 3, 2004 - 1:13 AMI ended up with quite a long algorithm to try and find the foaf:Person that is the primary topic of this file.
1) look for person with PrimaryTopic=this doc
2) look for person with topic=this doc
3) person who is maker of this doc
4) person who made this doc
5) person who is dc:creator of this doc
6) Is there one person who is not known by anyone in this doc
7) Just use the first foaf:Person in this file
-
