local version of Linked Movie Database at linkedmdb.org

删除回忆录丶 提交于 2019-12-01 11:24:37

问题


i want to query from Linked Movie Database at linkedmdb.org locally. is there some rdf or owl version of it that can i download query locally instead of remotely
I tried to query it and got the following error:

org.openjena.riot.RiotException: <E:\Applications\linkedmdb-latest-dump\linkedmdb-latest-dump.nt> Code: 11/LOWERCASE_PREFERRED in SCHEME: lowercase is preferred in this component
    org.openjena.riot.system.IRIResolver.exceptions(IRIResolver.java:256)
    org.openjena.riot.system.IRIResolver.access$100(IRIResolver.java:24)
    org.openjena.riot.system.IRIResolver$IRIResolverNormal.resolveToString(IRIResolver.java:380)
    org.openjena.riot.system.IRIResolver.resolveGlobalToString(IRIResolver.java:78)
    org.openjena.riot.system.JenaReaderRIOT.readImpl(JenaReaderRIOT.java:121)
    org.openjena.riot.system.JenaReaderRIOT.read(JenaReaderRIOT.java:79)
    com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:226)
    com.hp.hpl.jena.util.FileManager.readModelWorker(FileManager.java:395)
    com.hp.hpl.jena.util.FileManager.loadModelWorker(FileManager.java:299)
    com.hp.hpl.jena.util.FileManager.loadModel(FileManager.java:250)
    ServletExample.runQuery(ServletExample.java:92)
    ServletExample.doGet(ServletExample.java:62)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

回答1:


There's a claim that there is a download from this page. Haven't tried it myself, so I don't know whether it's fresh or not.




回答2:


There is a dump in ntriples format at this address: http://queens.db.toronto.edu/~oktie/linkedmdb/ If you want to query it you may upload the dump files onto one local triple store such as 4store or jena (using the relational support). Other libraries and tools are available, depending on the language you're more familiar with.

If you need more information let me know.



来源:https://stackoverflow.com/questions/5567617/local-version-of-linked-movie-database-at-linkedmdb-org

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