Mbaroudi / puelia-php

Automatically exported from code.google.com/p/puelia-php
0 stars 0 forks source link

Metadata graph incorrect for views #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Take a look at:

  http://services.data.gov.uk/education/api/school.ttl?_view=provision

The statements about the 'isVersionOf' and label for that List are incorrect. 
It says:

<http://services.data.gov.uk/education/api/school.ttl?_view=provision> 
  rdf:type linked-data:List ;
  dct:hasPart <http://services.data.gov.uk/education/api/school.ttl?_view=provision&_page=1> ;
  dct:isVersionOf <http://services.data.gov.uk/education/api/school.ttl?_view=provision&_page=1> ;
  rdfs:label "provision" , "" .

I think that the isVersionOf link should point to the version of the list 
without a view specified. There's no need for an empty label. So it should say:

<http://services.data.gov.uk/education/api/school.ttl?_view=provision> 
  rdf:type linked-data:List ;
  dct:hasPart <http://services.data.gov.uk/education/api/school.ttl?_view=provision&_page=1> ;
  dct:isVersionOf <http://services.data.gov.uk/education/api/school.ttl?_page=1> ;
  rdfs:label "provision" .

Original issue reported on code.google.com by jeni.ten...@gmail.com on 15 Jun 2010 at 5:38

GoogleCodeExporter commented 9 years ago
both are a mistake? - the spec  only says Pages should have versions. The List 
uris should have neither a  view, nor a page parameter in it, and should not 
have a file extension ? 

Original comment by K.J.W.Al...@gmail.com on 13 Aug 2010 at 8:51

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r106.

Original comment by K.J.W.Al...@gmail.com on 13 Aug 2010 at 9:19