Skip to content

Instantly share code, notes, and snippets.

@ableasdale
Created June 14, 2016 12:18
Show Gist options
  • Save ableasdale/cd6a125103e6488dedaaed6e0a356f31 to your computer and use it in GitHub Desktop.
Save ableasdale/cd6a125103e6488dedaaed6e0a356f31 to your computer and use it in GitHub Desktop.
MarkLogic and SPARQL binding to the XPath function namespace allows you to do things like...
PREFIX fn: <http://www.w3.org/2005/xpath-functions#>
select ?x where
{
BIND (fn:doc("/matches/2010_FIFA_WORLD_CUP_special_1.xml") as ?x)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment