core icon indicating copy to clipboard operation
core copied to clipboard

Hydra links when there are SPARQL template variables and a construct query

Open pietercolpaert opened this issue 9 years ago • 0 comments

If we have a SPARQL query with a construct and if we have a SPARQL query with one or more ${varname} in it

Then - regardless of whether one or more ${varname} is set in a query, add a couple of extra metadata triples to the output as in the following example:

<requestURI> void:subset <{tdtbase}{tdt_id}> .
<{tdtbase}{tdt_id}> a dcat:Dataset ; dct:title "..." ; dct:description "..." ; dcat:distribution <...> ;
    hydra:search [
       hydra:template "http://fragments.dbpedia.org/{?varname}"; #or more
       hydra:mapping [ hydra:variable "varname" ], [ #other?
                                                                               ] .
    ] .

pietercolpaert avatar May 04 '15 16:05 pietercolpaert