Fast data integration + improved data governance and security, with no infrastructure to buy or manage.
Fast data integration + improved data governance and security, with no infrastructure to buy or manage.
Be the first to know! News, product information, and events delivered straight to your inbox.
Learn how to simplify data integration & build innovative applications. Join us in Washington D.C. May 14-15!
Be the first to know! News, product information, and events delivered straight to your inbox.
sem.curieExpand( $curie as String, [$mapping as Object] ) as sem.iri
This function expands a CURIE (Compact URI)
into a sem:iri
object. This raises SEM-UNKNOWNPREFIX if no
mapping is available. For more information about the default
prefixes, see sem:prefixes.
Parameters | |
---|---|
$curie | A CURIE string. |
$mapping | An optional set of prefix mappings. If not specified, a default set of prefixes is used. |
var sem = require("/MarkLogic/semantics.xqy"); sem.curieExpand("foaf:person2"); // expands and returns the sem.iri object => http://xmlns.com/foaf/0.1/person2
Comments
The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.