Re: Trailing slashes in RDF

Suggested line to fix:
https://github.com/ORCID/ORCID-Source/blob/master/orcid-pub-web/src/main/java/org/orcid/api/t1/server/T1OrcidApiServiceImplBase.java#L198
On 10 March 2015 at 12:38, Michal Politowski <m.politowski@icm.edu.pl> wrote:
> Yeah, I know. But as long as it is not 303 it still means in the light
> of httpRange-14 that the person is also an information resource - with at least
> an HTML and a Turtle representation.
> Which a person may object to.
>
> On 2015年3月10日 11:33:54 +0000, Stian Soiland-Reyes wrote:
>> 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: 2015年3月10日 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 14:36:52 UTC

AltStyle によって変換されたページ (->オリジナル) /