On 10/8/16 5:04 PM, Thad Guidry wrote:
Class mappings are almost complete Kingsley. We were trying to get Wikidata to the point where it is easy for folks to do trivial queries right inside WDQS as part of WD Goals for 2016.
Is there a dump of the class mappings anywhere? Fundamentally, once you have those mappings the result you desire will be achievable and demonstrable via a live Linked Data Space.
Kingsley
On Sat, Oct 8, 2016, 2:38 PM Kingsley Idehen <kidehen@openlinksw.com mailto:kidehen@openlinksw.com> wrote:
On 10/6/16 2:57 PM, Thad Guidry wrote:
Hello team :) So while I'm helping with the Wikidata - Schema.org mappings, a request came in to expose subcategories of an existing Wikipedia category. For example, say I start with this topic: https://www.wikidata.org/wiki/Q27119725 Parking facilities The topic's main category is shown as "Category:Parking facilities" and that has links to Wikipedia, specifically a Wikipedia category link, and where the WP category page has subcategories that I would like to expose somehow in whichever way is *easiest* currently with our tools, apis, etc. Can it all be done in SPARQL against some services that already expose WP subcategories given a specific category ? Or is there an API that does this already ? other tools that might expose WP categories ? The IDEAL GOAL is to query 'equivalent class' = schema.org/ParkingFacility <http://schema.org/ParkingFacility> and get back the WP categories *in one shot or query or api call.* http://schema.org/ParkingFacility * Parking facilities in India <https://en.wikipedia.org/wiki/Category:Parking_facilities_in_India> * Parking facilities in the United States <https://en.wikipedia.org/wiki/Category:Parking_facilities_in_the_United_States> * Aircraft hangars <https://en.wikipedia.org/wiki/Category:Aircraft_hangars> * Garages (parking) <https://en.wikipedia.org/wiki/Category:Garages_%28parking%29> * Railway depots <https://en.wikipedia.org/wiki/Category:Railway_depots> Any gurus ?
Hi Thad, If there are owl:equivalentClass mappings in some Linked Data Space, and the SPARQL service associated with said Data Space supports owl:equivalentClass reasoning, then the answer to your question is yes. What unknown right now is the class mappings between Wikidata and Schema.org. If a dump of those exist, the rest is trivial :) -- Regards, Kingsley Idehen Founder & CEO OpenLink Software (Home Page: http://www.openlinksw.com) Weblogs (Blogs): Legacy Blog: http://www.openlinksw.com/blog/~kidehen/ <http://www.openlinksw.com/blog/%7Ekidehen/> Blogspot Blog: http://kidehen.blogspot.com Medium Blog: https://medium.com/@kidehen Profile Pages: Pinterest: https://www.pinterest.com/kidehen/ Quora: https://www.quora.com/profile/Kingsley-Uyi-Idehen Twitter: https://twitter.com/kidehen Google+: https://plus.google.com/+KingsleyIdehen/about LinkedIn: http://www.linkedin.com/in/kidehen Web Identities (WebID): Personal: http://kingsley.idehen.net/dataspace/person/kidehen#this : http://id.myopenlink.net/DAV/home/KingsleyUyiIdehen/Public/kingsley.ttl#this _______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org <mailto:Wikidata@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/wikidata
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata