[doap-interest] Ping the semantic web

Danny Ayers danny.ayers at gmail.com
Mon May 21 09:28:48 BST 2007


On 20/05/07, Sergio Fernández <sergio at wikier.org> wrote:

> > > > http://thomas.apestaart.org/moap/moap.doap is the doap URL that it
> > > > claims is not DOAP data.

I don't know what PTSW can accept, but while the RDF looks ok, there
do appear to be problems with the way the data is being served.

If you copy & paste the content into the W3C validator,

http://www.w3.org/RDF/Validator/

(remembering to check "RDF is NOT enclosed in <RDF>...</RDF> tags")

it's reported as valid.

However, trying it directly from the URI,

i.e.

http://www.w3.org/RDF/Validator/ARPServlet?URI=http%3A%2F%2Fthomas.apestaart.org%2Fmoap%2Fmoap.doap&PARSE=Parse+URI%3A+&TRIPLES_AND_GRAPH=PRINT_TRIPLES&FORMAT=PNG_EMBED&EMBEDDED_RDF=on&NODE_COLOR=Black&NODE_TEXT_COLOR=Blue&EDGE_COLOR=Darkgreen&EDGE_TEXT_COLOR=Red&FONT_SIZE=10&ORIENTATION=LR

produces:

RDF Load Error
An attempt to load the RDF from URI
'http://thomas.apestaart.org/moap/moap.doap' failed. (Undecodable data
when reading URI at byte 0 using encoding 'UTF-8'. Please check
encoding and encoding declaration of your document.)

Maybe the file wasn't saved as utf-8?

Also for a client to determine the file is RDF/XML, it should be
served with media type "application/rdf+xml" - right now it's
text/plain -

~ $ curl -I http://thomas.apestaart.org/moap/moap.doap
HTTP/1.1 200 OK
Date: Mon, 21 May 2007 08:21:56 GMT
Server: Apache
ETag: "246//trunk/moap.doap"
Accept-Ranges: bytes
Connection: close
Content-Type: text/plain; charset=UTF-8

Cheers,
Danny.

-- 

http://dannyayers.com


More information about the doap-interest mailing list