gpt4 book ai didi

uri - 用于描述 Uri 组件的 RDF 词汇表

转载 作者:行者123 更新时间:2023-12-04 19:05:05 26 4
gpt4 key购买 nike

是否有已知的 RDF 词汇表来描述 Uri 组件的元数据? (例如方案、权限、查询字符串等)

更新 我已经找到了 DublinCore term resource for URI ,但在相应的 RDF 文档中传达的信息范围是“一个 URI 是一个数据类型”,这比我需要的要有限得多。 RDF 描述如下:

<rdf:Description rdf:about="http://purl.org/dc/terms/URI">
<rdfs:label xml:lang="en">URI</rdfs:label>
<rdfs:comment xml:lang="en">The set of identifiers constructed according to the generic syntax for Uniform Resource Identifiers as specified by the Internet Engineering Task Force.</rdfs:comment>
<rdfs:isDefinedBy rdf:resource="http://purl.org/dc/terms/"/>
<dcterms:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2000-07-11</dcterms:issued>
<dcterms:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2008-01-14</dcterms:modified>
<rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Datatype"/>
<dcterms:hasVersion rdf:resource="http://dublincore.org/usage/terms/history/#URI-003"/>
<rdfs:seeAlso rdf:resource="http://www.ietf.org/rfc/rfc3986.txt"/>
</rdf:Description>

最佳答案

w3.org/wiki/URI

我不知道该怎么做,但是在 w3.org wiki 中有一个 URI page包含类似 URI 类的小词汇表, IRI , Scheme , 和 UWI .概念“URI 方案”的词汇 URI 将是 http://esw.w3.org/topic/Scheme .

硬币

相关,但可能不完全是您需要的,似乎是 CoIN (The Composition of Identifier Names) :

The CoIN vocabulary defines a set of classes and properties used to descibe what properties of a resource constitute components of a URI.



(另见: URI Templates)

uri4uri.net

还有 uri4uri.net ,创建为愚人节玩笑,用于:

URIs, URI fragment identifiers, Internet Domains, Mime Types, File Suffixes, URI Schemes.



查看词汇表 http://uri4uri.net/vocab .它包含所有相关 URI 部分的 URI。

包含所有部分的示例 HTTP URI 将是: http://foo:bar@bbc.co.uk:80/index.html?a=1&b=2

generated Turtle包括:
<http://uri4uri.net/uri/http%3A%2F%2Ffoo%3Abar%40bbc.co.uk%3A80%2Findex.html%3Fa%3D1%26b%3D2> 

rdf:type uriv:URI ;
skos:notation "http://foo:bar@bbc.co.uk:80/index.html?a=1&b=2"^^<http://www.w3.org/2001/XMLSchema#anyURI> ;
uriv:scheme <http://uri4uri.net/scheme/http> ;
uriv:host <http://uri4uri.net/domain/bbc.co.uk> ;
uriv:port "80"^^<http://www.w3.org/2001/XMLSchema#positiveInteger> ;
uriv:user "foo" ;
uriv:pass "bar" ;
uriv:account <http://uri4uri.net/uri/http%3A%2F%2Ffoo%3Abar%40bbc.co.uk%3A80%2Findex.html%3Fa%3D1%26b%3D2#account-foo> ;
uriv:path "/index.html"^^<http://www.w3.org/2001/XMLSchema#string> ;
uriv:suffix <http://uri4uri.net/suffix/html> ;
uriv:filename "index.html"^^<http://www.w3.org/2001/XMLSchema#string> ;
uriv:queryString "a=1&b=2"^^<http://www.w3.org/2001/XMLSchema#string> ;
uriv:query <http://uri4uri.net/uri/http%3A%2F%2Ffoo%3Abar%40bbc.co.uk%3A80%2Findex.html%3Fa%3D1%26b%3D2#query> .

关于uri - 用于描述 Uri 组件的 RDF 词汇表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16366904/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com