我正在使用 freebase 库来打印这篇文章。一切正常。但我想问你一件事。以下示例工作正常。假设我有这样的标题bol (film)
。现在我想像这样使用这个标题"id": "/en/bol_(film)",
。但这不起作用。在 wikipedia API 中,我们可以将此标题用作bol20%28%film29%
. 谁能帮我?非常感谢
query = [{
"id": "/en/barak_obama",
"/common/topic/article": [{
"id": None
}],
"/common/topic/image": [{
"id": None
}]
}]
编辑:我已经为 freebase 网站阅读了这个。但这不起作用。
For example, $0028 in a fully-qualified name represents a left parenthesis and $0029 represents a right parenthesis. (See Section 2.5.9 for the full list of legal characters in fully-qualified names.