V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · 3146 views
    This topic created in 2384 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   ·   Solana   ·   5406 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 09:05 · PVG 17:05 · LAX 02:05 · JFK 05:05
    ♥ Do have faith in what you're doing.