ActiveTriples / linked-data-fragments

Basic linked data fragments endpoint.
Creative Commons Zero v1.0 Universal
15 stars 0 forks source link

`void:uriLookupEndpoint` is incorrectly specified #48

Open no-reply opened 7 years ago

no-reply commented 7 years ago

When building a dataset, we give a template (e.g. http://example.com/{?subject}) for void:uriLookupEndpoint. This is incorrect, and instead we should give an appendable URI, e.g. http://example.com/?subject=.

The VOID specification says of lookup endpoints (previous link):

Such a protocol could take the following steps:

  1. Take the URI of an entity E that is described in the dataset
  2. Urlencode the URI, and append it to the dataset's URI lookup endpoint
  3. Perform an HTTP GET request on the resulting concatenated URI
  4. The HTTP response is expected to be an RDF description of E.