Created
July 14, 2017 20:12
-
-
Save dmccreary/247bd5b115f70fc9e1177a319308f427 to your computer and use it in GitHub Desktop.
List all the SPARQL prefixes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import module namespace sem = "http://marklogic.com/semantics" at "/MarkLogic/semantics.xqy"; | |
declare namespace map="http://marklogic.com/xdmp/map"; | |
let $prefixes-map := <map>{sem:prefixes("skosxl: http://www.w3.org/2008/05/skos-xl#")}</map> | |
return $prefixes-map/map:map/map:entry/map:value/text() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment