{"id":7888,"date":"2025-08-12T13:23:36","date_gmt":"2025-08-12T13:23:36","guid":{"rendered":"https:\/\/stg.innov8-studios.com\/Semafora-2\/?p=7888"},"modified":"2025-08-12T13:47:56","modified_gmt":"2025-08-12T13:47:56","slug":"new-built-ins-available-for-ontobroker","status":"publish","type":"post","link":"https:\/\/stg.innov8-studios.com\/semafora\/new-built-ins-available-for-ontobroker\/","title":{"rendered":"New Built-ins available for OntoBroker"},"content":{"rendered":"<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body><p class=\"wp-block-paragraph\" id=\"viewer-7ai4m\">Built-ins are the data processing components of OntoBroker on whose processing results the defined logic functions then draw the appropriate conclusions (the reasoning). Built-ins can also be created by the user and can thus significantly extend the functionality of OntoBroker. All built-ins are written in Java and can be added hot-pluggable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"viewer-cqbo2\">There are built-ins with interface functionality (connectors to external data sources and processing units) and those with pure data processing functionality. Furthermore, there are built-ins that access external processes for data processing, e.g. the Python engine, which can be used for preprocessing by means of machine learning.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"viewer-2ggsm\">A fourth category are so-called utility built-ins, which e.g. make such data structure contexts explicitly accessible, where a syntactic (in this case symbolic) realization seems too fiddly for the application. Such a case we have with the access to predicate functions. Here, one can now use the _predToMap function to obtain all components of a predicate of first or higher order. For example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"viewer-av85m\">?x = P(a,b,c)(e,f).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"viewer-dp3pt\">?- _predToMap(?x,?y).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"viewer-60hju\">Result:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"viewer-bvl1e\">[0-&gt;P,1-&gt;[0-&gt;a,1-&gt;b,2-&gt;c],2-&gt;[0-&gt;d,1-&gt;e]]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"viewer-9khp4\">Another built-in for data processing is _wordDist, which gives the normalized <a target=\"_blank\" href=\"https:\/\/en.wikipedia.org\/wiki\/Levenshtein_distance\" rel=\"noreferrer noopener\"><u>Levenshtein distance<\/u><\/a> of two strings. The function is useful to find searched words e.g. despite typos or plural\/singular form. For example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"viewer-ff5ge\">_wordDist(&ldquo;material&rdquo;, &ldquo;materials&rdquo;,?x) for ?x gives a value of 0.118<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"viewer-2vh1\">_wordDist(&ldquo;material&rdquo;, &ldquo;machine&rdquo;,?x) for ?x gives a value of 0.625<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"viewer-6pcp2\">If it does not give any proximity, the value is 1 and 0 for a complete match.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"viewer-ci1qr\">The built-ins are available from OntoBroker V 6.3.<\/p>\n<\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>Built-ins are the data processing components of OntoBroker on whose processing results the defined logic functions then draw the appropriate conclusions (the reasoning). Built-ins can also be created by the user and can thus significantly extend the functionality of OntoBroker. All built-ins are written in Java and can be added hot-pluggable. There are built-ins with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7935,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-7888","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/stg.innov8-studios.com\/semafora\/wp-json\/wp\/v2\/posts\/7888","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stg.innov8-studios.com\/semafora\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stg.innov8-studios.com\/semafora\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stg.innov8-studios.com\/semafora\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stg.innov8-studios.com\/semafora\/wp-json\/wp\/v2\/comments?post=7888"}],"version-history":[{"count":1,"href":"https:\/\/stg.innov8-studios.com\/semafora\/wp-json\/wp\/v2\/posts\/7888\/revisions"}],"predecessor-version":[{"id":7889,"href":"https:\/\/stg.innov8-studios.com\/semafora\/wp-json\/wp\/v2\/posts\/7888\/revisions\/7889"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stg.innov8-studios.com\/semafora\/wp-json\/wp\/v2\/media\/7935"}],"wp:attachment":[{"href":"https:\/\/stg.innov8-studios.com\/semafora\/wp-json\/wp\/v2\/media?parent=7888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stg.innov8-studios.com\/semafora\/wp-json\/wp\/v2\/categories?post=7888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stg.innov8-studios.com\/semafora\/wp-json\/wp\/v2\/tags?post=7888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}