Mariya,
It sounds like your question is more Jena related than DBpedia related. You
may get better help at [email protected]

Have you tried that?

Also, I assume you're pointing Jena to the same SPARQL endpoint? Or are you
loading data from a file?

Best,
Pablo

On Wed, Oct 26, 2011 at 4:29 AM, Mariya.Pervasive
<[email protected]>wrote:

> Hello,
> I  have been using the following query in the dbpedia virtuoso
> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
> PREFIX owl: <http://www.w3.org/2002/07/owl#>
>
> SELECT ?class
> WHERE { ?class rdfs:subClassOf owl:Thing . ?person rdf:type ?class .
> ?person <http://www.w3.org/2000/01/rdf-schema#label> "India"@en.
> }
>
> I get three results there, but when I use Jena to get the results I just
> receive a single result. Could you please help me in getting all the results
> correctly in JENA API.
>
> RESULTS are :
>
> classhttp://dbpedia.org/ontology/Country
> http://dbpedia.org/ontology/PopulatedPlace
> http://dbpedia.org/ontology/Place
>
>
> In Jena, result is :
>
>
> ( ?class = <http://dbpedia.org/ontology/Place> ) -> [Root]
>
> ( ?class = <http://www.w3.org/2004/02/skos/core#Concept> ) -> [Root]
>
> --
> Mariya Quibtiya
> (y08uc078)
> B.Tech. Undergraduate
> (CSE Branch)
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to