For the _last time_, please give some actual examples of your data. This mailing list does not permit attachments. Use a paste service or put an extract in your message. Also give the code you are trying to use.
--- A. Soroka The University of Virginia Library > On Aug 20, 2016, at 3:51 AM, neha gupta <neha.bang...@gmail.com> wrote: > > Hello Soroka thanks for your reply. > > Actually I know these basics. I have read the owl file in Jena, run SPARQL, > execute it and display the question/answers(required output). > > What I need is to download/show the rdfs:comment or rdfs:abstract of the > ten resources(ten cities of Europe Berlin, London) from dbpedia in a > page/document . > > Can I do it if I hard code them in the rdfs:comment in Protege with each > question and display it along the answer of the question? > > On Fri, Aug 19, 2016 at 11:58 AM, A. Soroka <aj...@virginia.edu> wrote: > >> If you have not written any Jena code than you should begin with the >> tutorials provided exactly for that purpose: >> >> https://jena.apache.org/getting_started/index.html >> >> --- >> A. Soroka >> The University of Virginia Library >> >>> On Aug 19, 2016, at 2:49 PM, neha gupta <neha.bang...@gmail.com> wrote: >>> >>> Dear Soroka, I do not know how to use Gist etc but if this mailing list >>> support attachment , I can attach the owl file.. Jena code, I did not try >>> it because I am totally clueless how can I do it? >>> >>> In one statement, my question is can I get rdfs:comments of , say ten >>> resources, of dbpedia using Jena methods? >>> Thanks. >>> >>> On Fri, Aug 19, 2016 at 7:42 AM, A. Soroka <aj...@virginia.edu> wrote: >>> >>>> No, please provide _actual data_. You are describing your data in words. >>>> That is not helpful. Make your OWL data available somewhere using a >> service >>>> like Gist or at the very least, include an excerpt. Also please include >> the >>>> code you have written so far. >>>> >>>> --- >>>> A. Soroka >>>> The University of Virginia Library >>>> >>>>> On Aug 19, 2016, at 10:34 AM, neha gupta <neha.bang...@gmail.com> >> wrote: >>>>> >>>>> I am working on undergrad project. The detail is I have owl file where >> I >>>>> included ten questions about European cities like Born city belongs to >>>>> which country? The resources/answers are imported from dbpedia in >> Protege >>>>> Individual tab. I then used Jena API. The questions/answers work fine. >>>>> >>>>> The point where I have problem is I want a document/file etc where I >>>>> include the rdfs:comments or rdfs:abstract of these cities so that the >>>>> users knows about the resources. >>>>> >>>>> I mean when users finishes all the ten questions, at the end he/she >> gets >>>>> rdfs:comment details about these resources in a document or so.If this >> is >>>>> not possible, then please suggest me some soloutions which is near to >> it. >>>>> >>>>> I hope I conveyed my message? >>>>> >>>>> On Fri, Aug 19, 2016 at 7:12 AM, A. Soroka <aj...@virginia.edu> wrote: >>>>> >>>>>> Please give us an actual example with data and your attempts at code. >> As >>>>>> for "dereferencing": >>>>>> >>>>>> https://www.w3.org/wiki/DereferenceURI >>>>>> >>>>>> --- >>>>>> A. Soroka >>>>>> The University of Virginia Library >>>>>> >>>>>>> On Aug 19, 2016, at 4:36 AM, neha gupta <neha.bang...@gmail.com> >>>> wrote: >>>>>>> >>>>>>> I want the rdfs:comment of European capital cities in one file using >>>>>> Jena. >>>>>>> While studied a lot about it, I still have no idea how to do this. I >>>> can >>>>>> do >>>>>>> it of individual resource using Virtuoso but combining these into one >>>>>> file >>>>>>> using Jena is currently beyond my knowledge. >>>>>>> Also what is Dereference URI to RDF? >>>>>>> >>>>>>> Kindly if some one can help me here. >>>>>> >>>>>> >>>> >>>> >> >>