久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<legend id='IQO46'><style id='IQO46'><dir id='IQO46'><q id='IQO46'></q></dir></style></legend>
  • <small id='IQO46'></small><noframes id='IQO46'>

    1. <tfoot id='IQO46'></tfoot>
        <bdo id='IQO46'></bdo><ul id='IQO46'></ul>

      1. <i id='IQO46'><tr id='IQO46'><dt id='IQO46'><q id='IQO46'><span id='IQO46'><b id='IQO46'><form id='IQO46'><ins id='IQO46'></ins><ul id='IQO46'></ul><sub id='IQO46'></sub></form><legend id='IQO46'></legend><bdo id='IQO46'><pre id='IQO46'><center id='IQO46'></center></pre></bdo></b><th id='IQO46'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='IQO46'><tfoot id='IQO46'></tfoot><dl id='IQO46'><fieldset id='IQO46'></fieldset></dl></div>

        RDFLib:XML 序列化中的命名空間前綴

        RDFLib: Namespace prefixes in XML serialization(RDFLib:XML 序列化中的命名空間前綴)

        • <tfoot id='oTrFj'></tfoot>

              <i id='oTrFj'><tr id='oTrFj'><dt id='oTrFj'><q id='oTrFj'><span id='oTrFj'><b id='oTrFj'><form id='oTrFj'><ins id='oTrFj'></ins><ul id='oTrFj'></ul><sub id='oTrFj'></sub></form><legend id='oTrFj'></legend><bdo id='oTrFj'><pre id='oTrFj'><center id='oTrFj'></center></pre></bdo></b><th id='oTrFj'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='oTrFj'><tfoot id='oTrFj'></tfoot><dl id='oTrFj'><fieldset id='oTrFj'></fieldset></dl></div>
              <legend id='oTrFj'><style id='oTrFj'><dir id='oTrFj'><q id='oTrFj'></q></dir></style></legend>

              <small id='oTrFj'></small><noframes id='oTrFj'>

              • <bdo id='oTrFj'></bdo><ul id='oTrFj'></ul>
                    <tbody id='oTrFj'></tbody>

                  本文介紹了RDFLib:XML 序列化中的命名空間前綴的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  在使用 RDFLib 3.0 的 Python 腳本中,我在序列化三元組時得到以下 XML 輸出:

                  In a Python script using RDFLib 3.0, I get the following XML-Output when serializing my triples:

                  <rdf:RDF
                    xmlns:_3="http://www.my-example.intra/ontologies/ci.owl#"
                  >
                  

                  如何為那些由 RDFLib(或者分別是 XML-Serializer)自動分配的匿名 _x-prefixes 定義特定的命名空間前綴?

                  How can I define specific namespace prefixes for those anonymous _x-prefixes automatically assigned by RDFLib (or it's XML-Serializer respectively)?

                  <rdf:RDF
                    xmlns:ex="http://www.my-example.intra/ontologies/ci.owl#"
                  >
                  

                  非常感謝您的回復!

                  推薦答案

                  我最終通過查看一些(分布相當混亂的)rdflib doc 文件找到了解決方案.對于存儲三元組的 (Conjunctive)Graph,調用

                  I eventually found a solution to this by looking at some (quite messily distributed) rdflib doc files. For the (Conjunctive)Graph storing the triples, call

                  mygraph.bind(prefix, URIRef(url))
                  

                  mygraph.bind('ex', URIRef('http://www.my-example.intra/ontologies/ci.owl#'))
                  

                  將False"作為第三個參數傳遞會覆蓋現有的命名空間前綴綁定.

                  Passing 'False' as 3rd argument overrides existing namespace prefix bindings.

                  這篇關于RDFLib:XML 序列化中的命名空間前綴的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  python: Two modules and classes with the same name under different packages(python:不同包下同名的兩個模塊和類)
                  Configuring Python to use additional locations for site-packages(配置 Python 以使用站點包的其他位置)
                  How to structure python packages without repeating top level name for import(如何在不重復導入頂級名稱的情況下構造python包)
                  Install python packages on OpenShift(在 OpenShift 上安裝 python 包)
                  How to refresh sys.path?(如何刷新 sys.path?)
                  Distribute a Python package with a compiled dynamic shared library(分發帶有已編譯動態共享庫的 Python 包)
                  <i id='PIvU8'><tr id='PIvU8'><dt id='PIvU8'><q id='PIvU8'><span id='PIvU8'><b id='PIvU8'><form id='PIvU8'><ins id='PIvU8'></ins><ul id='PIvU8'></ul><sub id='PIvU8'></sub></form><legend id='PIvU8'></legend><bdo id='PIvU8'><pre id='PIvU8'><center id='PIvU8'></center></pre></bdo></b><th id='PIvU8'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='PIvU8'><tfoot id='PIvU8'></tfoot><dl id='PIvU8'><fieldset id='PIvU8'></fieldset></dl></div>

                    <bdo id='PIvU8'></bdo><ul id='PIvU8'></ul>

                    <small id='PIvU8'></small><noframes id='PIvU8'>

                          <tfoot id='PIvU8'></tfoot>
                              <tbody id='PIvU8'></tbody>

                            <legend id='PIvU8'><style id='PIvU8'><dir id='PIvU8'><q id='PIvU8'></q></dir></style></legend>
                            主站蜘蛛池模板: 成人欧美一区二区三区黑人孕妇 | 精品亚洲一区二区三区 | 国产精品99久久久精品免费观看 | 日韩精品免费在线观看 | 在线观看亚洲一区二区 | 国产精品久久久久久妇女6080 | 国产真实精品久久二三区 | 日韩在线观看视频一区 | 久久久久久黄 | 一区二区三区在线电影 | 成人午夜网站 | 欧美色影院 | 亚洲精品一区二区三区在线 | 欧美日韩精品一区 | 成人久久18免费网站图片 | 国产成人一区 | 亚洲精品国产精品国自产在线 | 一区二区三区四区在线免费观看 | 精品亚洲一区二区 | 久久亚洲一区二区三区四区 | 精品国产99 | 九九热免费在线观看 | 久久久高清 | 欧美成人一区二区 | 久久视频精品 | 日韩一区二区三区四区五区 | 先锋资源网站 | 在线免费观看黄a | 国产97人人超碰caoprom | 国产精品国产亚洲精品看不卡15 | 欧美在线成人影院 | 欧美一区二区网站 | 欧美一区二区三区在线观看 | 中文字幕日韩欧美一区二区三区 | 美人の美乳で授乳プレイ | 亚洲国产欧美一区 | 精品亚洲一区二区 | 国产精品久久久久久久久久久久 | 精品亚洲永久免费精品 | 日韩中文一区 | 久久久久久久久久久福利观看 |