推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
smartG
V2EX  ›  Python

关于 xml 格式转 owl 疑问

  •  
  •   smartG · Oct 28, 2019 via iPhone · 3458 views
    This topic created in 2524 days ago, the information mentioned may be changed or developed.

    最近在做一个关于知识图谱的项目,用 tika 从 pdf 文件转化成了 xml 格式的文件,但是后续软件需要的是 owl 格式的文件,各位大佬有具体方法吗,求教

    4 replies  •  2019-10-29 09:54:45 +08:00
    smartG
        1
    smartG  
    OP
       Oct 28, 2019 via iPhone
    🥺
    noobsheldon
        2
    noobsheldon  
       Oct 28, 2019 via Android
    @smartG rdflib
    smartG
        3
    smartG  
    OP
       Oct 29, 2019 via iPhone
    @noobsheldon 多谢老哥,我看 rdflib 可以把 owl 解析成 xml,但是反着解析不知道怎么操作的,领导说可以用 jiagu 来实现,您有了解这个吗
    noobsheldon
        4
    noobsheldon  
       Oct 29, 2019 via Android
    @smartG rdflib 的 parse 方法可以传入 format=xml
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2536 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 05:49 · PVG 13:49 · LAX 22:49 · JFK 01:49
    ♥ Do have faith in what you're doing.