All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ml-modules.root.com.marklogic.smart-mastering.sm-entity-services.xqy Maven / Gradle / Ivy

There is a newer version: 6.1.1
Show newest version
xquery version "1.0-ml";

module namespace sm-es = "http://marklogic.com/smart-mastering/entity-services";

import module namespace es-impl = "http://marklogic.com/smart-mastering/entity-services-impl" at "impl/sm-es-impl.xqy";

declare function sm-es:get-entity-descriptors()
  as array-node()
{
  es-impl:get-entity-descriptors()
};

declare function sm-es:get-entity-def($target-entity as item()?) as object-node()?
{
  es-impl:get-entity-def($target-entity)
};

declare function sm-es:get-entity-def-property(
  $entity-def as object-node()?,
  $property-title as xs:string?
) as object-node()?
{
  es-impl:get-entity-def-property($entity-def, $property-title)
};

declare function sm-es:get-entity-property-info($entity-type-iri as xs:string, $property-path as xs:string) as map:map? {
  es-impl:get-entity-property-info($entity-type-iri, $property-path)
};

declare function sm-es:get-entity-property-info($entity-type-iri as xs:string) as map:map? {
  es-impl:get-entity-property-info($entity-type-iri)
};

declare function sm-es:get-entity-type-namespaces($entity-type-iri as xs:string) as map:map {
  es-impl:get-entity-type-namespaces($entity-type-iri)
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy