url_extract_fragment
A function used to extract the fragment (or anchor) section from a validly formatted url according to RFC 2396, in format [protocol:][//host[:port]][path][?query][#fragment].
Returns: string
Table 1.
Parameter | Type |
---|---|
URL | string, anyuri |
Example
Query
PREFIX : <https://ddw-doccorp.linked.data.world/d/sparql-function-sample-queries/> PREFIX fn: <http://data.world/function/functions#> SELECT (fn:url_extract_fragment("http://world.data:8080/query#baz") AS ?url_extract_fragment) { }
Table 2. Results
url_extract_fragment |
---|
baz |