No response to this? How is the server supposed to know that http://
and https:// resources are the same? In RDF they are not.

Another example, this time requesting https://:

$ curl -L -OJ -H "Accept: text/turtle" https://dbpedia.org/resource/Copenhagen
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   153  100   153    0     0    725      0 --:--:-- --:--:-- --:--:--   725
100  675k  100  675k    0     0  1139k      0 --:--:-- --:--:-- --:--:-- 3235k
curl: Saved to filename 'sparql_2021-10-29_10-31-22Z.ttl'

$ cat sparql_2021-10-29_10-31-22Z.ttl
@prefix dbo:    <http://dbpedia.org/ontology/> .
@prefix dbr:    <http://dbpedia.org/resource/> .
dbr:Vivi_Bach   dbo:birthPlace  dbr:Copenhagen .
...

On Thu, Oct 7, 2021 at 11:20 AM Martynas Jusevičius
<marty...@atomgraph.com> wrote:
>
> Hi,
>
> We have noticed a URI mismatch on DBPedia which breaks Linked Data clients.
>
> The server forces https:// URLs:
>
> $ curl -I -H "Accept: text/turtle" http://dbpedia.org/resource/Copenhagen
> HTTP/1.1 303 See Other
> Server: nginx/1.18.0
> Date: Thu, 07 Oct 2021 09:11:29 GMT
> Content-Type: text/html
> Content-Length: 153
> Connection: keep-alive
> Location: https://dbpedia.org/resource/Copenhagen
> Access-Control-Allow-Credentials: true
> Access-Control-Allow-Methods: HEAD, GET, POST, OPTIONS
> Access-Control-Allow-Headers:
> Depth,DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Accept-Encoding
>
> But the returned RDF data contains http:// URIs:
>
> $ curl -o - https://dbpedia.org/data/Copenhagen.ttl
> @prefix dbo:    <http://dbpedia.org/ontology/> .
> @prefix dbr:    <http://dbpedia.org/resource/> .
> <http://dbpedia.org/resource/2011\u201312_West_Ham_United_F.C._season>
>  dbo:wikiPageWikiLink    dbr:Copenhagen .
> <http://dbpedia.org/resource/AEK_Athens_F.C._in_European_football>
>  dbo:wikiPageWikiLink    dbr:Copenhagen .
> dbr:Adform      dbo:wikiPageWikiLink    dbr:Copenhagen .
> dbr:Helena_Paparizou    dbo:wikiPageWikiLink    dbr:Copenhagen .
> dbr:MS_Jutlandia        dbo:wikiPageWikiLink    dbr:Copenhagen .
> ...
>
> Can you please align the URLs in the data so that the resources are
> actually self-describing?
>
> Thanks.
>
> Martynas
> atomgraph.com


_______________________________________________
DBpedia-discussion mailing list
DBpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to