Hi all,

I have an RDF xml, would like parse this in Jean command prompt, so that I can check the if there are any syntax error. Later on would like to convert to n3 format.

Thanks,

asked 22 Feb '12, 09:48

niran's gravatar image

niran
379125
accept rate: 0%


Enter

java jena.rdfparse -t myfile.rdf

To see if myfile.rdf has any errors. Without -t, it dumps the data as ntriples. -t tells it to suppress output and only show errors. If this command shows you nothing, you have no errors.

permanent link

answered 22 Feb '12, 11:51

bobdc's gravatar image

bobdc
4.1k7
accept rate: 15%

got it, thanks

(23 Feb '12, 09:00) niran niran's gravatar image

You can use rdfParse utility that comes with Jena. You can fine more about the usage of the utility in the jena documentation link text

~Codera

permanent link

answered 22 Feb '12, 10:09

Codera%20Purpa's gravatar image

Codera Purpa
14416
accept rate: 0%

I guess you wrongly misunderstood. What am trying here is give RDF xml which I have created. Say C:\Jean>Jena test.rdf once you run this command,console we can see the ouput, if any error exist it will show where it is

(22 Feb '12, 10:16) niran niran's gravatar image

So, what's your problem specifically?

(22 Feb '12, 10:19) Codera Purpa Codera%20Purpa's gravatar image

nothing am getting in the console, am following right approach

(22 Feb '12, 10:49) niran niran's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×615

question asked: 22 Feb '12, 09:48

question was seen: 886 times

last updated: 23 Feb '12, 09:00