<!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>Graph-Based Semantic System for Visual Analytics in Automatic Manufacturing</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Baifan Zhou</string-name>
          <email>baifanz@ifi.uio.no</email>
          <xref ref-type="aff" rid="aff4">4</xref>
          <xref ref-type="aff" rid="aff7">7</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Zhuoxun Zheng</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dongzhuoran Zhou</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff4">4</xref>
          <xref ref-type="aff" rid="aff7">7</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Zhipeng Tan</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff4">4</xref>
          <xref ref-type="aff" rid="aff6">6</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ognjen Savković</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hui Yang</string-name>
          <xref ref-type="aff" rid="aff4">4</xref>
          <xref ref-type="aff" rid="aff5">5</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yujia Zhang</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Evgeny Kharlamov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff4">4</xref>
          <xref ref-type="aff" rid="aff7">7</xref>
        </contrib>
        <contrib contrib-type="editor">
          <string-name>Visual Analytics, Knowledge Graph, KG Generation, Data Science, Manufacturing, Software System</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Bosch Center for Artificial Intelligence</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Computer Science, Free University of Bozen-Bolzano</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Department of Computer Science, Oslo Metropolitan University</institution>
          ,
          <country country="NO">Norway</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Department of Electrical and Computer Engineering , University of Alberta</institution>
          ,
          <country country="CA">Canada</country>
        </aff>
        <aff id="aff4">
          <label>4</label>
          <institution>Hangzhou'22: The 21st International Semantic Web Conference</institution>
        </aff>
        <aff id="aff5">
          <label>5</label>
          <institution>Interdisciplinary Laboratory of Digital Sciences</institution>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff6">
          <label>6</label>
          <institution>RWTH Aachen University</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff7">
          <label>7</label>
          <institution>SIRIUS Centre, Department of Informatics, University of Oslo</institution>
          ,
          <country country="NO">Norway</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2022</year>
      </pub-date>
      <abstract>
        <p>Visual analytics has been important for many data-driven applications in modern industries.However, there has been limited research of semantic technologies for visual analytics, which hamstrings its transparency and reusability. To this end, we propose a semantic system that encodes visual analytical solutions in reusable knowledge graphs, which can be translated to executable scripts. Further more, our approach incorporates domain knowledge such as feature type information by linking domain ontologies and visual ontology. This poster paper presents preliminary evaluation of our approach with a Bosch use case with promising results.</p>
      </abstract>
      <kwd-group>
        <kwd>Automatic</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Visual analytics has been essential for data analysis in a wide range of applications in modern
industries, such as in exploratory data analysis for gaining understanding and first insights for
the data [
        <xref ref-type="bibr" rid="ref1 ref2 ref3">1, 2, 3</xref>
        ], presenting to the operators for identification of interesting data snippets [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ],
and representing the results of machine learning analytics [
        <xref ref-type="bibr" rid="ref5 ref6">5, 6</xref>
        ]. However, there has been limited
research of semantic technology on visual analytics, especially in industry [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. This hamstrings
the transparency and reusability, especially for non-data-scientists users, such as engineers,
managers, who are important stakeholders in multi-disciplinary industrial projects [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>
        Moreover, existing ontologies [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] and tools discussed the general purpose data visualisation,
but limitedly exploited domain knowledge (such as feature type information of the data) or
the essential procedures for visual analytical scripts [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. To this end, we propose a semantic
system that relies on semantic technologies for user-friendly visual analytics, ofering domain
knowledge supported visual analytics with no-coding experience. Our approach encodes
visual analytical solutions in reusable knowledge graphs (referred to as visual KG) via graphic
user interface (GUI) and reasoning, which can be translated to executable scripts [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. Further
more, our approach incorporates domain knowledge in a type of automatic manufacturing,
automated welding by linking domain ontologies and visual ontology (a set of axioms that
encode domain knowledge of visual analytics, such as visualisation methods, procedure, and
constraints) [
        <xref ref-type="bibr" rid="ref12 ref13">12, 13</xref>
        ]. In automated welding, robots press metal car body pieces together and a
current flows through the robot electrode and the car bodies to melt the metal materials, which
generates a welding nugget that connect the metal pieces [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. This poster paper presents
preliminary evaluation of our approach with a Bosch use case which shows promising results.
This paper extends the visual KG part of our ISWC full paper about executable KGs [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] by
giving more examples and technical details of KG construction and evaluation.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Our Approach</title>
      <p>
        System Overview. We now walk through our system (Figure 1a). From the bottom left, the
Non-KG Data can be e.g., relational tables (csv), json files. For simplicity, we focus on relational
tables. These data are mapped to the domain ontology   via Data-to-Domain (Data2Domain)
Mapping. The Data2Domain Mapping maps tables and table columns to classes in the   .
Through Data Integration, domain KGs are generated. The Visual Ontology   contains
axioms that describe the knowledge for visual analytics. The Visual KG Construction follows
the schema defined by   and generates Visual KG [
        <xref ref-type="bibr" rid="ref16 ref17">16, 17</xref>
        ], either manually [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] by a GUI or
automatically following several Visual KG templates (also stored in   ). The generated Visual
KG can be stored in Visual KG Catalogue for later reuse. The Visual KG Execution translates
Visual KG to executable scripts and run the scripts, resulting the Visualisation Plots [
        <xref ref-type="bibr" rid="ref19 ref20">19, 20</xref>
        ].
      </p>
      <p>The Data2Domain Mapping is provided by domain experts in the form of rules as  sql() →  ,
where  sql() is an SQL query on table R that returns table columns and A is a class in the
ontologies. We choose OWL 2 QL for   becasue it is optimised for eficient query answering
over relational databases. We choose OWL 2 EL for   because of its expressivity and it is
still polynomial for query answering. Between Data2Domain Mapping and   there exist class
links, since Data2Domain Mapping maps the Non-KG Data to classes in   . All classes in  
that represent features in data are linked to classes in   via the subclass axioms.
Example 1. CurrentCurve is a column in the relational tables Current that stores the
data of current sensors measured every millisecond. This column is mapped to the
class OperationCurveCurrent in the   : SELECT CurrentCurve AS cc FROM Current →
do:OperationCurveCurrent(cc), which describes the current curve corresponding to a welding
operation. The class OperationCurveCurrent is linked to the class TimeSeries via the subclass
axiom: do:OperationCurveCurrent ⊑ visu:TimeSeries.</p>
      <p>Data Integration. With the Data2Domain Mapping and the   , data from diferent sources
1.6
1.4
e1.2
u
l
a
V
-Q 1
0.8
0.6</p>
      <p>Prog1</p>
      <p>Prog2
and formats are integrated into KGs with unified formats and feature names. This is done via
the ETL (extract-transform-load) process.</p>
      <p>Example 2. A series of columns in diferent data sources, such as CurrentCurve, Strom,
CurrentAmp are all mapped to the class OperationCurveCurrent in the   . They all are renamed to
OperationCurveCurrent in the resulting Domain KG.</p>
      <p>Visual KG Construction. To construct Visual KGs, our approach takes a KG template
(Figure 1b), and extends the template with more entities of the PlotTask and fills in the properties.
We ofer two ways of Visual KG construction. One is the manual way done by the users via a
GUI (Example 3), or semi-automated via a set of rules with open world assumption (Example 4).
Example 3. Take Fig. 2 as an example. Once the users choose to create a visual KG, the GUI
will use the template in Figure 1b, which contains several owl:NamedIndividuals of the types
VisualPipeline, CanvasTask, PlotTask, and DescriptionTask. Next, the users will need to select the input
data, and add several entities of PlotTasks from available tasks based on   . For each PlotTask,
the input data, the method and some parameters are mandatory to be given. The users need to
configure the PlotTasks by specifying e.g., the inputs, line colour, line width. After that, they can
also configure the CanvasTask and the DescriptionTask by giving the x label, y label, legend, etc.
Example 4. Our approach first identifies there exists three input features with the labels:
target, estimated training and estimated test. Then it generates a KG from the template
in Figure 1b with three entities of PlotTasks between the CanvasTask and DescriptionTask.
All of them are subclasses of TimeSeries. For TimeSeries, our approach uses the rule that
adopts LinePlotMethod as the recommended plot method and adds its typing information:
∃hasMethod−.(Task ⊓ ∃hasInput.TimeSeries) ⊑ LinePlotMethod
Visual KG Execution. The execution of visual KGs is language-dependent. Here we use
Python for discussion: each individual of PlotMethod is a Python script for plotting, whose
mandatory inputs/outputs and parameters are clearly defined. Each Visual KG contains an
entity of VisualPipeline and a series of Tasks connected with hasNextTask. Thus, the execution of a
Visual KG invokes the Python function scripts with the inputs/outputs and parameters given by
Data and datatype properties of KGs, according to the order defined by hasNextTask.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Evaluation and Conclusion</title>
      <p>Industrial Use Case. We tested our approach in an industrial scenario of machine learning
based quality monitoring for automated resistance spot welding at Bosch, which is an impactful
welding process accounting for the production of over 50 million cars globally every year. We
invited industrial users from Bosch, including non-data-scientists to workshops for evaluation.
The visual KGs ran on a sample welding production dataset collected from a factory in Germany,
contains 4585 welding operation records.</p>
      <p>Visual Analytical Tasks and Reusability. The tasks in the use case can be categorised into
two types: I. Data inspection (Figure 2a and Example 3), and II. Results visualisation. Type I tasks
are to inspect various data in exploratory data analysis for understanding the data, and Type
II tasks are to visualise results of statistical/ML analytics for discussing and interpreting the
statistical/ML models for decision-making.</p>
      <p>
        Example 5. For a new task of Type II and a new dataset in Figure 3a, the users can reuse the
VisualPipeline in Figure 2a by simply modifying the input data entities (1), the plot methods (2),
and properties of the plotting tasks (3, e.g., colour, marker size, labels, legend). This demonstrates
the good reusability of our approach.
Transparency and Coverage. Category Plot types # KGs Coverage
W2K4Ge2 KCpGraostgaalrnoadgmuumes.aettihcaiWsllyaes tgoheregnaVenriasistueeaddl iDnastpaection LPHiieneaecthmpalaorptt, scatter plot, bar chart 538647 1880550%%%
extensive workshops and collected Results Line plot, scatter plot, bar chart 48 100%
24 reports from Bosch welding visualisation Heatmap 17 85%
experts, engineers, semantic experts, data scientists. They answered questions such as “I
found the semantic system helps to improve the transparency of visual analytics compared to the
case without the approach”, and gave scores ranging 1-5 (from disagree, fairly agree, neural,
fairly agree, to agree) which aggregated to 4.28 ± 0.47 (mean ± standard deviation) for the
transparency. After discussion, we categorised most tasks of visual encountered in our project
in groups (Table 1), and give the coverage percentage according to our empirical cases. We
can see that most of categories can be covered (above 80%)
Conclusion and Outlook. This poster presents our system of domain knowledge supported
KG construction for visual analytics, which ofers good reusablity, transparency and coverage
for the visual analytic tasks. We evaluated the system on a Bosch welding use case with
promising results. As future work we plan to study hierarchical topic modelling to better
organise our visual KG catalogue and push the deployment further. We also plan to further
improve the system and organise demonstrations to a broader audience [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ].
Acknowledgements. The work was partially supported by the H2020 projects Dome 4.0 (Grant
Agreement No. 953163), OntoCommons (No. 958371), and DataCloud (No. 101016835) and the
SIRIUS Centre, Norwegian Research Council project number 237898.
      </p>
      <p>References</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>D.</given-names>
            <surname>Keim</surname>
          </string-name>
          , et al.,
          <article-title>Visual analytics: Definition, process, and challenges</article-title>
          , in: Information visualization, Springer,
          <year>2008</year>
          , pp.
          <fpage>154</fpage>
          -
          <lpage>175</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>C.</given-names>
            <surname>Naab</surname>
          </string-name>
          , et al.,
          <article-title>Application of the unscented Kalman filter in position estimation a case study on a robot for precise positioning</article-title>
          ,
          <source>RobAutonSyst</source>
          <volume>147</volume>
          (
          <year>2022</year>
          )
          <fpage>103904</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>O.</given-names>
            <surname>Celik</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Zhou</surname>
          </string-name>
          , et al.,
          <article-title>Specializing versatile skill libraries using local mixture of experts</article-title>
          , in: CRL,
          <string-name>
            <surname>PMLR</surname>
          </string-name>
          ,
          <year>2022</year>
          , pp.
          <fpage>1423</fpage>
          -
          <lpage>1433</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <article-title>[4] Visual analytics: Scope and challenges</article-title>
          ,
          <source>in: Visual data mining</source>
          , Springer,
          <year>2008</year>
          , pp.
          <fpage>76</fpage>
          -
          <lpage>90</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>A.</given-names>
            <surname>Chatzimparmpas</surname>
          </string-name>
          , et al.,
          <article-title>A survey of surveys on the use of visualization for interpreting machine learning models</article-title>
          ,
          <source>Information Visualization</source>
          <volume>19</volume>
          (
          <year>2020</year>
          )
          <fpage>207</fpage>
          -
          <lpage>233</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zheng</surname>
          </string-name>
          , et al.,
          <article-title>Towards a statistic ontology for data analysis in smart manufacturing</article-title>
          ,
          <source>in: ISWC</source>
          ,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zheng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Zhou</surname>
          </string-name>
          , et al.,
          <article-title>The data value quest: A holistic semantic approach at bosch</article-title>
          ,
          <source>ESWC</source>
          , Springer (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>M.</given-names>
            <surname>Yahya</surname>
          </string-name>
          , et al.,
          <article-title>Towards generalized welding ontology in line with iso and knowledge graph construction</article-title>
          ,
          <source>ESWC</source>
          , Springer (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>A. A.</given-names>
            <surname>Salatino</surname>
          </string-name>
          , et al.,
          <article-title>The computer science ontology: a large-scale taxonomy of research areas</article-title>
          , in: ISWC, Springer,
          <year>2018</year>
          , pp.
          <fpage>187</fpage>
          -
          <lpage>205</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>D.</given-names>
            <surname>Zhou</surname>
          </string-name>
          , et al.,
          <article-title>ScheRe: Schema reshaping for enhancing knowledge graph construction</article-title>
          ,
          <source>in: CIKM</source>
          ,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>D.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhou</surname>
          </string-name>
          , et al.,
          <article-title>Towards executable knowledge graph translation</article-title>
          ,
          <source>in: ISWC</source>
          ,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zheng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhou</surname>
          </string-name>
          , et al.,
          <article-title>Query-based industrial analytics over knowledge graphs with ontology reshaping</article-title>
          ,
          <source>ESWC</source>
          , Springer (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zheng</surname>
          </string-name>
          , et al.,
          <article-title>Towards a visualisation ontology for data analysis in industrial applications</article-title>
          , in: SemIIM@ESWC,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <article-title>Machine Learning Methods for Product Quality Monitoring in Electric Resistance Welding</article-title>
          ,
          <source>Ph.D. thesis</source>
          , Karlsruhe Institute of Technology, Germany,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zheng</surname>
          </string-name>
          , et al.,
          <article-title>Executable knowledge graph for machine learning: A Bosch case for welding monitoring</article-title>
          ,
          <source>in: ISWC</source>
          ,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>D.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zheng</surname>
          </string-name>
          , et al.,
          <article-title>Enhancing knowledge graph generation with ontology reshaping-Bosch case</article-title>
          ,
          <source>ESWC</source>
          , Springer (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>D.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhou</surname>
          </string-name>
          , et al.,
          <article-title>Ontology reshaping for knowledge graph construction: Applied on bosch welding case</article-title>
          ,
          <source>in: ISWC</source>
          ,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>D.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhou</surname>
          </string-name>
          , et al.,
          <article-title>Towards ontology reshaping for KG generation with user-in-theloop: Applied to bosch welding</article-title>
          ,
          <source>in: IJCKG</source>
          ,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhou</surname>
          </string-name>
          , et al.,
          <article-title>Knowledge graph-based semantic system for visual analytics in automatic manufacturing</article-title>
          ,
          <source>in: ISWC</source>
          ,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Tan</surname>
          </string-name>
          , et al.,
          <article-title>Towards a visualisation ontology for reusable visual analytics</article-title>
          ,
          <source>in: IJCKG</source>
          ,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zheng</surname>
          </string-name>
          , et al.,
          <article-title>ExeKG: Executable knowledge graph system for user-friendly data analytics</article-title>
          ,
          <source>in: CIKM</source>
          ,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>