Skip to content

Instantly share code, notes, and snippets.

@Tsaulogy
Created June 17, 2016 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tsaulogy/8b0efe29c5bcca894ffec0a1220960af to your computer and use it in GitHub Desktop.
Save Tsaulogy/8b0efe29c5bcca894ffec0a1220960af to your computer and use it in GitHub Desktop.
Find all URIs of documents in a particular directory
for $f in xdmp:directory('/worldbank/triples/')
let $uri := fn:document-uri($f)
return $uri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment