core
core copied to clipboard
Hydra links when there are SPARQL template variables and a construct query
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?
] .
] .