I don't understand what you are after.
1) This is not a Protege mailing list 2) http://dbpedia.org/Madrid is not a valid DBpedia URI 3) rdfs:comment could be retrieved by 3)a) SPARQL query 3)b) Load all triples about a particular resource, load those triples into Jena, use Jena RDF layer interface to get the information 4) I can't see the image, probably attachments are not allowed here Lorenz On 06.09.2016 12:43, Sidra shah wrote: > Hi > > How can we get the rdfs:comment of certain resource in dbpedia? I give > the address of resource in protege, but when I close it and open > again, the address changes again to my ontology address and under > comment Annotation only the address appears like > http://dbpedia.org/Madrid instead of the comments about Madrid city.?. > > And how can we use this rdfs:comment in the jena code? Is it possible > to import the rdfs:comment details in our ontology and then access it > using Jena code? > > Inline image 1