Hello Guys,

I am kinda newbie in Jena and have just started exploring it in eclipse recently.

The thing I would like to ask is how to retrieve a resource object from a model as it wrote here in the documentation :

// retrieve the John Smith vcard resource from the model
Resource vcard = model.getResource(johnSmithURI);

I am following the tutorial on this linke: (Jena documentation)

[link text][1]

p.s: the section tutorials links on this page is not available as well when I click them.

Thanks for your time,

Mona

[1]: http://jena.apache.org/tutorials/rdf_api.html#ch-Jena RDF Packages

asked 30 Dec '12, 11:00

Mona's gravatar image

Mona
112
accept rate: 0%

Hi,

you gave the answer in your question with the code snippet. I don't exactly understand what your problem is. What is not working with this code? Anyway, there is also a JENA mailing list. Maybe this is better for JENA specific questions.

Greetings, Lorenz

(31 Dec '12, 04:06) AKSWMember AKSWMember's gravatar image

Thanks for the reply. Fortunately i got my answer by " Andy Seaborne" from apache jena mailing list. As he mentionesd in his response the complete tutorial codes are in this link: link text

Thanks again

permanent link

answered 02 Jan '13, 20:35

Mona's gravatar image

Mona
112
accept rate: 0%

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:

×602
×20

question asked: 30 Dec '12, 11:00

question was seen: 603 times

last updated: 02 Jan '13, 20:35