Skip to main content

with_link

A data.world specific function for controlling the formatting of query results. Cells with with_link specified will be displayed as clickable hyperlinks to the specified URL. For any other uses (e.g. export to CSV or API access), the with_link specification is ignored.

Parameter

Type

value

string, formattedtext

URL

string, anyuri

Returns: formattedtext

Example

Query:

PREFIX : <https://ddw-doccorp.linked.data.world/d/sparql-function-sample-queries/>
PREFIX fn: <http://data.world/function/functions#>

SELECT (fn:with_link("linked", "https://www.google.com") AS ?with_link)
{
}

Run query

Results:

with_link.png