Hi Somesh
On 01/22/2013 02:51 PM, Somesh Jain wrote:
Hi folks,
I want to extract parent yago categories upto 4 levels . For eg :
http://dbpedia.org/class/yago/AcademicsOfTheCharlesUniversity has
parent yago category as
'http://dbpedia.org/class/yago/Academician109759069 ' . Similarly
this parent category has
'http://dbpedia.org/class/yago/EduCAtor110045713' as its parent .
Using
PREFIX yago: <http://dbpedia.org/class/yago/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?title WHERE {
<http://dbpedia.org/class/yago/GermanPhysicists> rdfs:subClassOf ?title.
}
I get 1 level parent . How to get parents of more than 1 level i.e.
rdfs:subClassOf transitivity
This thread discusses what you want to achieve [1].
Hope it helps.
Please help
--
Regards
Somesh Jain
5th year Dual Degree Student
Department of Computer Science & Engineering
IIT Kharagpur
[1]
http://answers.semanticweb.com/questions/15481/getting-all-transitive-subtypes-of-a-type-through-dbpedia-sparql-endpoint
--
Kind Regards
Mohamed Morsey
Department of Computer Science
University of Leipzig
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion