“网址”到底是什么?一般的理解是URL(Uniform resource locator)
在RDF/OWL1/OWL2中却使用了不同的概念
- RDF和OWL 1使用了URI (Uniform resource identifier,也就是最初的语义网层次蛋糕的第一层)
- OWL 2使用了IRI(Internationalized Resource Identifier)
还有一个相关概念 URN(Uniform Resource Name)。他们有什么区别?
简述如下:
URL是这样的形式:
scheme://domain:port/path?query_string#fragment_id
如本页的编辑页面是 https://blog.baojie.org:80/wp-admin/post-new.php?post_type=post#
URI是URL的扩展,形式是:
(adsbygoogle = window.adsbygoogle || []).push({});<scheme name> : <hierarchical part> [ ? <query> ] [ # <fragment> ]
例:
foo://username:password@example.com:8042/over/there/index.dtb?type=animal&name=narwhal#nose
Wikipedia上列有官方和非官方的URI scheme,如about, ed2k, doi, skype,都是。