我用 JENA 创建了一些 RDF 文件。现在我需要在网上公开这个 RDF 文件,但我不知道怎么做。它可能看起来像这个页面:http ://dbpedia.org/page/Berlin或只是示例。重要的是其他 RDF 工具可以将这些文件读取为 RDF
1 回答
Do you have a website or some webspace somewhere? Just save the file as RDF/XML with .rdf
file extension, or as Turtle with .ttl
extension, and upload it to the website. Now it's published on the Web, and you can access it with RDF tools like Marbles and Tabulator, get it indexed in RDF search engines like Sindice, and so on.
If you want the file to work not just in RDF tools but also in normal web browsers, then it's a bit more complicated as you need your server to implement “HTTP content negotiation”. One way to do this is with Pubby, as described in this answer.