gpt4 book ai didi

rdf - 是否可以在 DBPedia 中检索三元组的源数据集?

转载 作者:行者123 更新时间:2023-12-01 23:53:21 25 4
gpt4 key购买 nike

假设我像 this 这样查询 DBPedia :

select * where
{
?x ?y ?z .
filter (?x = <http://dbpedia.org/resource/Abracadabra>)
}

结果得到了很多三元组:

x   y   z  
http://dbpedia.org/resource/Abracadabra http://www.w3.org/2002/07/owl#sameAs http://de.dbpedia.org/resource/Abrakadabra
http://dbpedia.org/resource/Abracadabra http://www.w3.org/2002/07/owl#sameAs http://fr.dbpedia.org/resource/Abracadabra
http://dbpedia.org/resource/Abracadabra http://www.w3.org/2002/07/owl#sameAs http://ko.dbpedia.org/resource/아브라카다브라
...

是否可以检测到these datasets中的哪一个?每个三元组来自?
我想下载并在本地使用其中一些数据集,但首先我必须根据它们包含的三元组找出其中哪些对我有用。

在最坏的情况下,我想知道哪些数据集包含 rdfs:labels。

附言This方法不起作用,?g 总是 http://dbpedia.org

最佳答案

在您链接到的列表中的目录中,我认为您想要下拉 data from the English Wikipedia .也就是说,那里仍然有很多文件。 The DBpedia Data Set (3.9)有关于您可以下载的不同文件的更多信息。也许最重要的是,它说:

Find the properties used in the different DBpedia data sets here.

该链接将您带到 DBpedia 3.9 Data Set Properties ,我认为这将为您回答哪些属性在哪些数据集中。为了具体回答您的“最坏情况”,它说 rdfs:label 值存储在 Titles 中。数据集。尽管他们称之为标题,但我认为这就是您会发现的

labels_en.nq.bz2
labels_en.nt.bz2
labels_en.tql.bz2
labels_en.ttl.bz2

在您链接到的列表中。我不知道是否有一种方法可以自动查找数据集。如果表格在 DBpedia 3.9 Data Set Properties 中就好了在某处编码并可以查询,因为这样就很容易了。

关于rdf - 是否可以在 DBPedia 中检索三元组的源数据集?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25385132/

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