1

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)
Joshua Taylor
  • 84,998
  • 9
  • 154
  • 353
ProgramME
  • 653
  • 3
  • 12
  • 23

2 Answers2

2

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.

Ian Dickinson
  • 12,875
  • 11
  • 40
  • 67
  • i downloaded the file and its extension is .nt.How do i view it? – ProgramME Apr 06 '11 at 17:54
  • .nt means that the file is in N-Triples format, which is basically plain text. Depending on the size, you can open it in a text editor, or view it from the command line with a program like `cat` or `less` on Linux, or `type` (if I recall correctly) on Windows. – Ian Dickinson Apr 06 '11 at 22:21
  • i have posted the error i am getting while querying the dump file – ProgramME Apr 07 '11 at 15:16
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.

  • i have posted the error i am getting while querying the dump file – ProgramME Apr 07 '11 at 14:54
  • Try to put the URI to the nt file in lowercase. In doubt there's a thread for this problem here: http://tech.groups.yahoo.com/group/jena-dev/message/45128 –  Apr 07 '11 at 15:17