Skip to content

cnschema.openkg.cn和schema.org发布的jsonId文件格式为什么不一样? #72

@crazyyanchao

Description

@crazyyanchao

各位好,最近在使用cnSchema发布的数据,发现格式和schema.org不一样,请问有数据说明文档嘛?数据格式为什么不一致呢?另外数据字段有些是中英文混合,是数据问题吗(下面的JSON数据中有展示这种情况)?

  • cnschema.openkg.cn发布的jsonId文件
https://github.com/cnschema/cnSchema/tree/master/data/releases/4.0/cns-core.jsonId
  • schema.org发布的jsonId文件
https://schema.org/version/latest/schemaorg-current-https.jsonld
  • 例如3DModel定义【cnschema.openkg.cn】
 {
      "SchemaorgV13": "SchemaorgV13",
      "category": "type",
      "name": "3DModel",
      "description": "A 3D model represents some kind of 3D content, which may have <a class=\"localLink\" href=\"encoding\">encoding</a>s in one or more <a class=\"localLink\" href=\"/MediaObject\">MediaObject</a>s. Many 3D formats are available (e.g. see <a href=\"https://en.wikipedia.org/wiki/Category:3D_graphics_file_formats\">Wikipedia</a>); specific encoding formats can be represented using the <a class=\"localLink\" href=\"/encodingFormat\">encodingFormat</a> property applied to the relevant <a class=\"localLink\" href=\"/MediaObject\">MediaObject</a>. For the\ncase of a single file published after Zip compression, the convention of appending '+zip' to the <a class=\"localLink\" href=\"encodingFormat\">encodingFormat</a> can be used. Geospatial, ARVR, artisticanimation, gaming3DModel\">3DModel</a>./",
      "nameZh": "3D模型",
      "descriptionZh校验": "3D 模型表示某种 3D 内容,可能在一个或多个 MediaObject 中具有编码。 许多 3D 格式可用(例如,参见 Wikipedia); 可以使用应用于相关MediaObject 的encodingFormat 属性来表示特定的编码格式。 对于 Zip 压缩后发布的单个文件的情况,可以使用将“+zip”附加到 encodingFormat 的约定。 地理空间、AR/VR、艺术/动画、游戏、工程和科学内容都可以使用 3DModel 表示。",
      "properties": "https://cnschema.openkg.cn/关于, https://cnschema.openkg.cn/摘要,*",
      "equivalentClass": "",
      "subTypeOf": "https://cnschema.openkg.cn/媒体对象/",
      "subTypes": "",
      "wikidataUrl": "",
      "schemaorgUrl": "https://schema.org/3DModel"
    }
  • 例如3DModel定义【schema.org】
{
            "@id": "schema:3DModel",
            "@type": "rdfs:Class",
            "rdfs:comment": "A 3D model represents some kind of 3D content, which may have [[encoding]]s in one or more [[MediaObject]]s. Many 3D formats are available (e.g. see [Wikipedia](https://en.wikipedia.org/wiki/Category:3D_graphics_file_formats)); specific encoding formats can be represented using the [[encodingFormat]] property applied to the relevant [[MediaObject]]. For the\ncase of a single file published after Zip compression, the convention of appending '+zip' to the [[encodingFormat]] can be used. Geospatial, AR/VR, artistic/animation, gaming, engineering and scientific content can all be represented using [[3DModel]].",
            "rdfs:label": "3DModel",
            "rdfs:subClassOf":
            {
                "@id": "schema:MediaObject"
            },
            "schema:isPartOf":
            {
                "@id": "https://pending.schema.org"
            },
            "schema:source":
            {
                "@id": "https://github.com/schemaorg/schemaorg/issues/2140"
            }
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions