Re: rdfs:comment

2016-09-08 Thread Sidra shah
. > > > On 08.09.2016 12:18, Sidra shah wrote: > > Hello Lorenz sir, do we have some alternative way to get this like > > downloading rdfs:comment of all resources from DBpedia and process it > > locally? > > Actually my data i-e about hundred cities are in the Arrayl

Re: rdfs:comment

2016-09-08 Thread Lorenz Buehmann
this query once, save the file to the corresponding place and load this file then via Jena. On 08.09.2016 12:18, Sidra shah wrote: > Hello Lorenz sir, do we have some alternative way to get this like > downloading rdfs:comment of all resources from DBpedia and process it > locally? > Actu

Re: rdfs:comment

2016-09-08 Thread Sidra shah
Hello Lorenz sir, do we have some alternative way to get this like downloading rdfs:comment of all resources from DBpedia and process it locally? Actually my data i-e about hundred cities are in the Arraylist and can be accessed using loop so its not a straight forward way to access it via

Re: rdfs:comment

2016-09-08 Thread Lorenz Buehmann
On 07.09.2016 13:46, Sidra shah wrote: > Cant we access it through a Resource? If I include comment with every > instance of Question (Question is class name) like: What is capital of > Spain? here I include rdfs:comment of Madrid. > Which country has more population? here I include

Re: rdfs:comment

2016-09-07 Thread Sidra shah
Cant we access it through a Resource? If I include comment with every instance of Question (Question is class name) like: What is capital of Spain? here I include rdfs:comment of Madrid. Which country has more population? here I include rdfs:comment of China. So later I set condition like if user

Re: rdfs:comment

2016-09-07 Thread Lorenz Buehmann
How many students of you are doing the same homework assignment? Write a SPARQL query to get the rdfs:comment from the DBpedia endpoint. On 06.09.2016 14:17, Sidra shah wrote: > I have a question class in my ontolgy which have instance: What is capital > city of Spain? I have then Answer

Re: rdfs:comment

2016-09-06 Thread Sidra shah
not know about Madrid so I want to display him about Madrid a short details in shape of rdfs:comment Madrid. On Tue, Sep 6, 2016 at 3:53 AM, Lorenz Buehmann < buehm...@informatik.uni-leipzig.de> wrote: > I don't understand what you are after. > > > 1) This is not a Protege mail

Re: rdfs:comment

2016-09-06 Thread Lorenz Buehmann
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

rdfs:comment

2016-09-06 Thread Sidra shah
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