Dear DBpedians, I am trying to read all categories for a subject, including the transitive closure w.r.t. skos:broader.
My query to attempt this is SELECT ?subject WHERE {dbpedia:Tim_Berners-Lee dcterms:subject ?s . ?s skos:broader ?subject OPTION(TRANSITIVE, T_DISTINCT, T_IN(?s),T_OUT(?subject),T_MIN(0))} While the first results look sensible, scrolling down the lists yields categories such as http://dbpedia.org/resource/Category:Religion_in_Egypt http://dbpedia.org/resource/Category:Ethnic_groups_in_Slovenia http://dbpedia.org/resource/Category:Subjects_taught_in_medical_school http://dbpedia.org/resource/Category:Water_in_France http://dbpedia.org/resource/Category:Low-energy_building ...just to name a few, see http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=SELECT+%3Fsubject+WHERE+{dbpedia%3ATim_Berners-Lee+dcterms%3Asubject+%3Fs+.+%3Fs+skos%3Abroader+%3Fsubject+OPTION%28TRANSITIVE%2C+T_DISTINCT%2C+T_IN%28%3Fs%29%2CT_OUT%28%3Fsubject%29%2CT_MIN%280%29%29}&format=text%2Fhtml&timeout=30000&debug=on Is there something wrong with my query, or is the category tree in Wikipedia that strange? Trying other subjects gives me equally weird results. Thank you for your support, Heiko -- Dr. Heiko Paulheim Research Group Data and Web Science University of Mannheim Phone: +49 621 181 2646 B6, 26, Room C1.08 D-68159 Mannheim Mail: he...@informatik.uni-mannheim.de Web: www.heikopaulheim.com ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Dbpedia-discussion mailing list Dbpedia-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion