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/PopulatedPlacehttp://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