How does schema.org usage fit into Linked Data principles?

谁都会走 提交于 2019-12-01 02:02:31

问题


I am starting to learn schema.org schema. I come from the RDF/OWL community.

To my surprise I could not indeed find an RDFS or OWL vocabulary representation of schema.org. More specifically, I realised that it was just a HTML page describing the schema. I also found an RDFa representation of the schema. Not sure that it can be a legal RDFS representation by the way. All of this got me a bit confused.

In the meantime I found the following works: http://topbraid.org/schema/ and http://schema.rdfs.org/.

Hence I have the following few questions:

  • 1- Are both work achieving the same thing? if not what is the difference between the two?

  • 1.2- What is their respective goal, and use case?

  • 3- The URIs do not correspond to the URI of the ontology, isn’t it odd? How does that align itself with Linked Data principles?

  • 4- Is schema.org fully aligned with Linked Data principle?

  • 5- I find it odd to reference a schema that has no RDFs representation? How one can one use it in tools like Protégé for instance?

I would really appreciate to have some clarification over this.


回答1:


From http://schema.org/docs/datamodel.html:

The canonical machine representation of schema.org is in RDFa:
schema_org_rdfa.html

(See my answer on Webmasters SE for other representation.)

This HTML+RDFa version uses the RDFS vocabulary. It’s as good as any other RDF serialization. If you don’t like RDFa, you could of course use your favorite converter to get Turtle, RDF/XML, or whatever you prefer.




回答2:


When schema.org was launched in June 2011, it didn't include any up to date schema as RDFS or OWL. http://schema.rdfs.org/ was created to bridge that gap. Since then, the schema.org folks created http://schema.org/docs/schema_org_rdfa.html which is the canonical schema used to generate all the HTML pages for the schema.org types and properties (so it's always up to date). You should use that schema if you intend to publish Linked Data using the general schema.org schema.

  1. Not sure what you mean. The references to types and properties from are all linking to the schema.org type and property URIs, for example http://schema.org/CreativeWork.

  2. Linked Data is mostly about linking data items to others data items from the same dataset and if possible to external datasets too (see Linked Open Data project).

  3. RDFa is one way to serialize RDF data. Therefore http://schema.org/docs/schema_org_rdfa.html is a fine representation of schema.org in RDF. You can the RDF/XML or Turtle if you like from this RDFa schema, by using your favorite parser.



来源:https://stackoverflow.com/questions/23577586/how-does-schema-org-usage-fit-into-linked-data-principles

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!