Hi Hamza,
On 03/02/2013 07:32 AM, Hamza Asad wrote:
Dear all,
I want to get list of all names of resources which is used
for searching in DBPedia e.g Shahid_Afridi, Barrack_Obama, etc etc.
How can i get that WHOLE list?? Also i want to get their categories
e.g Kevin_Peterson belong to Athlete/Sports/cricketer categories. How
and using which Tag i can retrieve all these categories for all resources?
Try the following query, if you want a list of all people in DBpedia:
SELECT * WHERE {?person a dbpedia-owl:Person. ?person rdfs:label
?personName. ?person <http://purl.org/dc/terms/subject> ?category }
LIMIT 1000
You can complete the list by using the same query but with increasing
the "OFFSET" in each subsequent call.
--
*/Muhammad Hamza Asad/*
Hope it helps.
--
Kind Regards
Mohamed Morsey
Department of Computer Science
University of Leipzig
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion