从 Schema.org 获取 JSON-LD 信息

Get JSON-LD information from Schema.org

我想获得 Schema.org 的 JSON-LD 表示,就像我在 http://topbraid.org/schema/ 中获得 RDF 版本一样。

我看到 Schema.org 的主页是用 JSON-LD 表示的,但是没有像 RDF 版本中那样的类型定义。

对于第二个问题,如果 JSON-LD 解析器无法访问 JSON-LD 中的此类信息,那么它如何理解 Schema.org 的 Person 类型的属性?

canonical representation of Schema.org 在 HTML+RDFa 中。

RDFa 与 JSON-LD 一样,是一种 RDF 序列化。如果需要,使用您最喜欢的 RDF 工具应该可以轻松地将 RDFa 转换为 JSON-LD。

https://schema.org/docs/tree.jsonld a JSON-LD file can be downloaded which seems to describe all types (but no properties). (Corresponding issue: Add a JSON(-LD) view of the entire type hierarchy 下。)

http://schema.org/docs/jsonldcontext.json下可以下载JSON-LD上下文文件,它似乎包含所有类型和属性。但它没有说明包含哪些 domain/range 属性。

问题 Add more export formats (e.g. as offered but obsolete at schema.rdfs.org) 跟踪 ideas/plans 提供除 RDFa 之外的其他格式。