我有一个 HTML5 网站,里面有一些图片和一些关于图片的数据。我想增强它们的描述,以便机器也能够阅读它们。
比如说,有一张达芬奇的蒙娜丽莎照片,于 1503 年至 1519 年左右完成(nb“周围”和“范围”)
我应该使用什么格式?2012 年的最佳实践是什么?RDF?RDFa? 微格式?都柏林核心?架构.org?
将此类元数据集成到 HTML5 页面的最佳方式是什么?
如何表达一个不太准确的日期?
我有一个 HTML5 网站,里面有一些图片和一些关于图片的数据。我想增强它们的描述,以便机器也能够阅读它们。
比如说,有一张达芬奇的蒙娜丽莎照片,于 1503 年至 1519 年左右完成(nb“周围”和“范围”)
我应该使用什么格式?2012 年的最佳实践是什么?RDF?RDFa? 微格式?都柏林核心?架构.org?
将此类元数据集成到 HTML5 页面的最佳方式是什么?
如何表达一个不太准确的日期?
RDFa is your best bet for embedded the RDF in an HTML page, that's what it's designed for. Beyond that, there's no schema you have to use. Something standard like DC makes sense, but I suspect there are also some image-specific schema lying around out there that you could make use of if you want to annotate specific details of the image, width, height, resolution, etc.
I don't have a good suggestions for dealing with an imprecise date. At worse you could annotate it w/ the start and end dates and call it a day. Depends on what you want done with that information. If you're going to reason with it, or expect someone else to, you'll want to look for an ontology about time. Otherwise, you don't need to get too fancy. You could always coin new URI's and when you scrape in the RDF do something sensible when you see those new properties.