示例#1
0
echo num_of_instances($graph, 'owl:Class');
?>
</strong>个类(owl:Class),
        &nbsp;<strong><?php 
echo num_of_instances($graph, 'owl:ObjectProperty');
?>
</strong>&nbsp;个对象属性(owl:ObjectProperty),
        &nbsp;以及 <strong><?php 
echo num_of_instances($graph, 'owl:DatatypeProperty');
?>
</strong>&nbsp;个数值属性(owl:DatatypeProperty):
    </p>

    <div class="well">
        <?php 
render_nav($graph);
?>
    </div>
    下面对Herbnet中定义的类和属性进行具体介绍 (欲知详情,请查看<a href="herbnet.rdf">Herbnet的OWL/RDF文件)</a>:

    <?php 
render_details($graph, "herbnet", $instances);
?>

    <!--<h2><a name="sec-external" id="sec-external"></a>5. 外部类和属性</h2>-->
    <h2><a name="sec-ack" id="sec-ack"></a>4. 致谢</h2>
    <p>本文的视觉风格和文档结构,借鉴于Dan Brickley和Libby Miller的“FOAF Vocabulary Specification”,以及Uldis Bojārs和John G. Breslin的“SIOC Core Ontology Specification”。</p>
    <p>这项工作得到如下基金项目资助:基于语义Web的中药数据库集成框架研究( ZZ070317);中国博士后科学基金资助项目(编号:2012M520559)-“面向中医药复杂语义网络的方法学研究”;中国中医科学院基本科研业务费自主选题项目(编号:ZZ070311)-“中医药复杂语义网络模型研究”。
    </p>
    <h2><a name="sec-conclusion" id="sec-conclusion"></a>5. 小结</h2>
    <p>在中医药信息化建设过程中,先后构建起多个专业的数据库系统。由于各个数据库开发的时间、需求不同,以至于在各个单位,每个部门都建立了自己独立的、各个专业的主题数据库,
示例#2
0
    <?php 
}
?>

    <link href='http://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'>

    <link rel="stylesheet" href="../css/normalize.css">
    <link rel="stylesheet" href="../css/skeleton.css">
    <link rel="stylesheet" href="../css/style.css">

    <link rel="icon" type="image/png" href="../img/favicon.png">

  </head>
  <body>

    <header class="header" role="banner">
      <div class="container">
        <h1 class="site-title"><a href="/">Three Aces</a></h1>
        <a class="cartlink" href="/cart.php">Shopping Cart</a>
      </div><!-- .container -->
    </header>

    <div class="container">
      <div class="row">

        <?php 
isset($title) ? render_nav($title) : render_nav();
?>

        <div class="content nine columns">