W3C home > Mailing lists > Public > semantic-web@w3.org > March 2015

Re: Trailing slashes in RDF

From: Stian Soiland-Reyes <soiland-reyes@cs.manchester.ac.uk>
Date: Tue, 10 Mar 2015 11:33:54 +0000
Message-ID: <CAPRnXt=MHy7nLWCp1MKeo+8TS1rN4F5232wxwd+B5g+oSHOfzQ@mail.gmail.com>
To: Michal Politowski <m.politowski@icm.edu.pl>
Cc: "semantic-web@w3.org >> semantic-web@w3.org" <semantic-web@w3.org>
You would need to content-negotiate:

* Connected to orcid.org (174.143.185.160) port 80 (#0)
> GET /0000-0003-0782-2704 HTTP/1.1
> Host: orcid.org
> Accept: text/turtle
>
< HTTP/1.1 307 Temporary Redirect
< Content-Type: text/turtle; qs=3;charset=UTF-8
< Date: Tue, 10 Mar 2015 11:30:54 GMT
< Location: https://pub.orcid.org/experimental_rdf_v1/0000-0003-0782-2704

> GET /experimental_rdf_v1/0000-0003-0782-2704 HTTP/1.1
> User-Agent: curl/7.37.1
> Host: pub.orcid.org
> Accept: text/turtle
>
< HTTP/1.1 200 OK
< Content-Type: text/turtle; qs=3;charset=UTF-8
< Content-Length: 2314
<
@prefix gn:      <http://www.geonames.org/ontology#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix prov:    <http://www.w3.org/ns/prov#> .
@prefix foaf:    <http://xmlns.com/foaf/0.1/> .
@prefix pav:     <http://purl.org/pav/> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

<http://orcid.org/0000-0003-0782-2704/>
      a       foaf:PersonalProfileDocument , foaf:OnlineAccount ;
...


Perhaps better would be to use
<https://pub.orcid.org/experimental_rdf_v1/0000-0003-0782-2704> as the
name of the PersonalProfileDocument.

I could not get them to do 303 instead of 307 and do the Vary header
(this is done by some web-proxy frontend) - but perhaps you could
request that.




On 9 March 2015 at 09:25, Michal Politowski <m.politowski@icm.edu.pl> wrote:
> On Fri,  6 Mar 2015 16:00:45 -0500, Simon Spero wrote:
>> http://www.range-14.com/ .
>>
>> Err, I mean;
>> http://www.w3.org/2001/tag/group/track/issues/14
>
> If we want to visit httpRange-14
> then the fact that ORCID is claiming that:
>
>         <http://orcid.org/0000-0003-0782-2704> a foaf:Person .
>
> while their webserver is saying that http://orcid.org/0000-0003-0782-2704
> has a HTML representation:
>
>         HTTP/1.1 200 OK
>         Content-Type: text/html;charset=UTF-8
>
> seems rather confusing.
>
> --
> MichaƂ Politowski
>
>



-- 
Stian Soiland-Reyes, eScience Lab
School of Computer Science
The University of Manchester
http://soiland-reyes.com/stian/work/    http://orcid.org/0000-0001-9842-9718
Received on Tuesday, 10 March 2015 11:34:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:36 UTC