如何正确使用 "participant" 与 "participant of"?
How to use "participant" vs. "participant of" correctly?
我试图找出 "participant of" (P1344) 和参与者 (P710) 的正确用法。
作为示例,我想要美国公民 War 的参与者。
第一条语句:
SELECT ?label WHERE {
wd:Q8676 wdt:P710 ?subj.
?subj rdfs:label ?label.
FILTER((LANG(?label)) = "en")
}
returns 联盟和 CSA。
所以我尝试了 "reverse" 参与者的声明:
SELECT ?label WHERE {
?subj wdt:P1344 wd:Q8676.
?subj rdfs:label ?label.
FILTER((LANG(?label)) = "en")
}
这给了我一个包含 9 个名字和 CSA 的列表,但没有给联盟。
因此,我有点困惑,为什么 1) 列出了几个人,尤其是因为我不认识他们中的任何一个。 (我猜那些是无关联的),2)工会不见了,3)参与者的正确陈述是怎样的。
反向属性不保持同步,因此您会发现很多语句都朝着一个方向发展,而没有反向语句。讨论了保持反向语句同步 here and there, but never done, and maybe for the better as it would be a big mess: in your example, if every participant of the American Civil War or of WWII were to be added to those pages, we would potentially get very very VERY overloaded pages: using the property conflict (P607),我发现
(顺便说一句,看看如何使用 SERVICE wikibase:label
来查找标签而不是使用过滤器)
所以似乎有一个从 "small entity" 到 "big entity" 到 link 的约定,并为相对于特别值得注意的实体保留 participant (P710) 等属性学科。所以联盟和 CSA,而不是每个已知的将军和士兵。
我试图找出 "participant of" (P1344) 和参与者 (P710) 的正确用法。
作为示例,我想要美国公民 War 的参与者。 第一条语句:
SELECT ?label WHERE {
wd:Q8676 wdt:P710 ?subj.
?subj rdfs:label ?label.
FILTER((LANG(?label)) = "en")
}
returns 联盟和 CSA。
所以我尝试了 "reverse" 参与者的声明:
SELECT ?label WHERE {
?subj wdt:P1344 wd:Q8676.
?subj rdfs:label ?label.
FILTER((LANG(?label)) = "en")
}
这给了我一个包含 9 个名字和 CSA 的列表,但没有给联盟。
因此,我有点困惑,为什么 1) 列出了几个人,尤其是因为我不认识他们中的任何一个。 (我猜那些是无关联的),2)工会不见了,3)参与者的正确陈述是怎样的。
反向属性不保持同步,因此您会发现很多语句都朝着一个方向发展,而没有反向语句。讨论了保持反向语句同步 here and there, but never done, and maybe for the better as it would be a big mess: in your example, if every participant of the American Civil War or of WWII were to be added to those pages, we would potentially get very very VERY overloaded pages: using the property conflict (P607),我发现
(顺便说一句,看看如何使用 SERVICE wikibase:label
来查找标签而不是使用过滤器)
所以似乎有一个从 "small entity" 到 "big entity" 到 link 的约定,并为相对于特别值得注意的实体保留 participant (P710) 等属性学科。所以联盟和 CSA,而不是每个已知的将军和士兵。