<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Automated Generation of SADI Web Services for Clinical Intelligence using Ruled-Based Semantic Mappings</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Mohammad Sadnan Al Manir</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alexandre Riazanov</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Harold Boley</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Artjom Klein</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Christopher J.O. Baker</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer Science and Applied Statistics University of New Brunswick</institution>
          ,
          <addr-line>Saint John</addr-line>
          ,
          <country country="CA">Canada</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Faculty of Computer Science University of New Brunswick</institution>
          ,
          <addr-line>Fredericton</addr-line>
          ,
          <country>Canada harold</country>
          <institution>.boley[at]unb.ca</institution>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>IPSNP Computing Inc</institution>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>alexandre.riazanov,Artjom.Klein}[at]ipsnp.com</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>We present a framework that automates the generation of SADI semantic web services from declarative service descriptions and semantic mappings to relational data. Mappings are speci ed in a Datalog sublanguage of Positional-Slotted Object-Applicative (PSOA) RuleML. We outline a novel methodology, a system architecture, and a prototype implementation for service generation. A proof-of-concept implementation and preliminary evaluation of the approach was conducted by generating a set of SADI services over a database representing a fragment of a hospital research data warehouse. These automatically generated fully functional services are used to answer simple SPARQL queries.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Infection control practitioners involved in surveillance for Hospital-Acquired
Infections (HAI) need to access multiple sources of clinical data in relational
databases. Ad-hoc retrieval of information from these databases requires
knowledge of query languages like SQL, albeit surveillance and decision making would
be more e cient if practitioners could retrieve relevant data without IT support.</p>
      <p>
        Semantic Querying facilitates self-service querying by non-technical users as
described recently in HAIKU [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], where SADI Semantic Web services were
deployed on relational databases to provide access to HAI-related data from The
Ottawa Hospital (TOH) Data Warehouse (DW). While the method successfully
enables domain experts (e.g. surveillance practitioners) to semantically query
relational data using terminologies from domain speci c ontologies, it requires
prior scripting of Java code and SQL queries to operationalize the SADI Web
services. This is labor-intensive, error-prone, and mandates the availability and
involvement of surveillance practitioners to consult with the IT personnel during
service creation. As such, the process is a good target for automation.
      </p>
      <p>
        Expanding on our previous work [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], we present an architecture designed to
support semantic query rewriting Fig. 1, where SADI Semantic Web service code
is generated automatically from declarative input and output descriptions, and a
semantic mapping of the source data in PSOA RuleML [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Our implementation
of the architecture facilitates Web service generation without human intervention
and end users are able to run queries executing the generated services using SADI
query engines, such as SHARE and HYDRA [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] 4.
The service generation process relies on four distinct modules working
together: a Semantic Mapping Module representing the correspondence of a DB
schema to a domain ontology, a Service Description Module where service
inputs and outputs are formalized, an SQL-template Query Generator Module,
and a Service Generator Module to output executable Java code for a SADI web
service. Generated services are then indexed in a SADI registry.
      </p>
      <p>
        In testing the query engine, HYDRA was able to discover the appropriate
services in the registry and execute queries over the data. Based on a list of
previously identi ed target use cases [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], our system is being further evaluated
for its utilty in provisioning Semantic Querying to access HAI-related data from
TOH DW. A list of frequently asked questions 5 is available for interested readers.
4 http://ipsnp.com/hydra/ and http://ipsnp.co/demo-videos/
5 http://cbakerlab.unbsj.ca:8080/swat4ls15/poster/faq.html
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Riazanov</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Klein</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shaban-Nejad</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rose</surname>
            <given-names>G. W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Forster</surname>
            <given-names>A. J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Buckeridge</surname>
            <given-names>D. L.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Baker</surname>
            <given-names>C.J.O.</given-names>
          </string-name>
          <article-title>Semantic querying of relational data for clinical intelligence:a semantic web services-based approach</article-title>
          . J. Biomedical Semantics.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Al Manir M.S.</surname>
          </string-name>
          ,
          <string-name>
            <surname>Riazanov</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Boley</surname>
            <given-names>H.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Baker C.J.O. Generating Semantic</surname>
          </string-name>
          <article-title>Web Services from Declarative Descriptions</article-title>
          .
          <source>In Proc. 4th Canadian Semantic Web Symposium, co-located: Semantic Trilogy</source>
          <year>2013</year>
          , Montreal, QC, Canada.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Harold</given-names>
            <surname>Boley</surname>
          </string-name>
          .
          <article-title>PSOA RuleML: Integrated Object-Relational Data and Rules</article-title>
          . In Wolfgang Faber and Adrian Paschke, editors,
          <source>Reasoning Web. Web Logic Rules (RuleML</source>
          <year>2015</year>
          )
          <article-title>-</article-title>
          11th
          <source>Int'l Summer School</source>
          <year>2015</year>
          , Berlin, Germany,
          <source>July 31- August 4</source>
          ,
          <year>2015</year>
          , volume
          <volume>9203</volume>
          of Lecture Notes in Computer Science. Springer,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>