- From: Ruben Verborgh <ruben.verborgh@ugent.be>
- Date: Tue, 16 Jun 2015 11:54:11 +0200
- To: Erik Wilde <dret@berkeley.edu>
- Cc: Hydra <public-hydra@w3.org>, Kjetil Kjernsmo <kjetil@kjernsmo.net>, Markus Lanthaler <markus.lanthaler@gmx.net>
Hi Erik, > i am not quite sure what you mean by "a link pointing to a hypermedia control". a link *is* a hypermedia control (or part of one, if you mean just the URI when talking about a link), which then points to a resource, right? Kjetil's proposal was to directly link to the hypermedia control. So a link to http://example.org/tpf#template, where http://example.org/tpf is a fragment. The #template would then, for instance in the Turtle version, be: <#dataset> hydra:search <#fragment>. <#fragment> hydra:template "http://fragments.dbpedia.org/2014/en{?subject,predicate,object}"; hydra:mapping [ hydra:variable "subject"; hydra:property rdf:subject ], [ hydra:variable "predicate"; hydra:property rdf:predicate ], [ hydra:variable "object"; hydra:property rdf:object ] . > if a resource links to an alternative representation, then use http://www.w3.org/TR/html5/links.html#rel-alternate which is intended to do exactly that. That might be what we are looking for. Only drawback is that it's not specific, i.e., it doesn't say that it's a TPF interface (but neither does the other option BTW). > if you also would like to annotate the link with an expected media type, then hopefully the hypermedia format containing the link supports resource hints (https://github.com/dret/hyperpedia/blob/master/concepts.md#target-resource-hints), and then such a hint can be used to represent a media type that annotates the link. That's a bit tricky, because TPFs can have different media types. What we are looking for is probably more a profile then? Best, Ruben
Received on Tuesday, 16 June 2015 09:54:42 UTC