I have some web services which return RDF file. Now I need to display this RDF file like: http://dbpedia.org/page/Berlin. Is there some Java library which can do this, because now it looks like just as XML.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Try Pubby, a Java webapp that can connect to an RDF data source and presents an HTML view. Usually the RDF data is stored in a SPARQL store, but you can also just load it from an RDF file using the conf:loadRDF
configuration option.
回答2:
Try Jena, it will parse the RDF into Java structures which you can use to generate HTML. Also see the answers here: XSLT transformation from RDF to html