Created
September 23, 2016 12:56
-
-
Save ableasdale/d2799265c068e7927e627b99041fb35e to your computer and use it in GitHub Desktop.
Get binary URIs back from the URI lexicon
This file contains hidden or 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
xquery version "1.0-ml"; | |
declare namespace qry = "http://marklogic.com/cts/query"; | |
cts:uris((),(),cts:and-query(xdmp:plan(/binary())//qry:term-query/qry:key ! cts:term-query(.))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment