How to display rdf file in web browser

社会主义新天地 提交于 2019-12-10 21:32:59

问题


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



来源:https://stackoverflow.com/questions/10170588/how-to-display-rdf-file-in-web-browser

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