372 16 The Bayesian Web
Figure 16.1 The Semantic Web architecture.
16.4 Ontologies for Bayesian Networks
The first requirement for a viable BW is to have a standard interchange for-
mat. An example of such a format is the XBN format. The XBN format is an
XML DTD. To illustrate this format, the medical diagnosis BN in figure 14.1
is represented as follows:
<?XML VERSION="1.0">
<!DOCTYPE ANALYSISNOTEBOOK SYSTEM "xbn.dtd">
<ANALYSISNOTEBOOK
NAME="Diagnostic Bayesian Network Example"
ROOT="InfluenzaDiagnosis">
<BNMODEL NAME="InfluenzaDiagnosis">
<STATICPROPERTIES>
<FORMAT VALUE="MSR DTAS XML"/>
<VERSION VALUE="1.0"/>
<CREATOR VALUE="Ken Baclawski"/>
</STATICPROPERTIES>
<VARIABLES>
<VAR NAME="Flu" TYPE="discrete">
<DESCRIPTION>Patient has influenza</DESCRIPTION>
<STATENAME>Absent</STATENAME>
<STATENAME>Present</STATENAME>
</VAR>