Re: [Wikidata-l] WikiData Categories

2014-07-04 Thread Daniel Kinzler
Am 04.07.2014 07:10, schrieb Rohan Badlani:
 I had downloaded the wikidata dump from
 http://dumps.wikimedia.org/wikidatawiki/latest/
 There is a file wikidatawiki-20140420-pages-articles-multistream-index which
 consists of triplets like:
 
 537:114:Q17

I couldn't find documentation for the multistream-index format at
https://meta.wikimedia.org/wiki/Data_dumps. I can't make sense of it myself
offhand. Perhaps ask on the wikitech-l list. I suppose the authority on the
question would be Ariel Glenn, perhaps you can get hold of him on IRC.

Note that this format is used for all wikis, so it will not contain anything
that is specific to Wikidata. It would be the same for Wikipedia.

If you figure it out, please add the info to
https://meta.wikimedia.org/wiki/Data_dumps!

 which I interpreted as following:
 537 - category of the topic (which I am unable to find. I want the details of
 this item)

It's not a category. Wikidata doesn't use MediaWiki's Category feature for data
items at all. Wikipedia does, but there pages generally have multiple
categories, identified by name, not a numeric ID.

If you want to build a classification graph of the concepts in Wikidata (I'm
intentionally avoiding the terms ontology and taxonomy here), you will have
to go by the properties P31 (instance of) and P279 (subclass of) which are used
in many (roughly half) of the data items.

 114 - page_id of the item Q17.

That seems to be correct.

 Q17 - which is the item. (JSON:
 https://www.wikidata.org/wiki/Special:EntityData/Q17.json)

It's the page title, which, on wikidata.org, is the same as the item ID.


HTH
Daniel

PS: we are close to providing JSON dumps on a regular basis, and also make the
JSON contained in the XML dumps more readable. This will hopefully make
analyzing Wikidata less painful.

-- 
Daniel Kinzler
Senior Software Developer

Wikimedia Deutschland
Gesellschaft zur Förderung Freien Wissens e.V.

___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] WikiData Categories

2014-07-04 Thread Jane Darnell
Q17 is Japan, and if you are interested in people from Japan for example,
you can do this:
http://tools.wmflabs.org/reasonator/?q=7463305
(thanks to Magnus' reasonator tool that can extract category-like info from
Wikidata based on properties and qualifiers)


On Fri, Jul 4, 2014 at 9:01 AM, Daniel Kinzler daniel.kinz...@wikimedia.de
wrote:

 Am 04.07.2014 07:10, schrieb Rohan Badlani:
  I had downloaded the wikidata dump from
  http://dumps.wikimedia.org/wikidatawiki/latest/
  There is a file wikidatawiki-20140420-pages-articles-multistream-index
 which
  consists of triplets like:
 
  537:114:Q17

 I couldn't find documentation for the multistream-index format at
 https://meta.wikimedia.org/wiki/Data_dumps. I can't make sense of it
 myself
 offhand. Perhaps ask on the wikitech-l list. I suppose the authority on the
 question would be Ariel Glenn, perhaps you can get hold of him on IRC.

 Note that this format is used for all wikis, so it will not contain
 anything
 that is specific to Wikidata. It would be the same for Wikipedia.

 If you figure it out, please add the info to
 https://meta.wikimedia.org/wiki/Data_dumps!

  which I interpreted as following:
  537 - category of the topic (which I am unable to find. I want the
 details of
  this item)

 It's not a category. Wikidata doesn't use MediaWiki's Category feature for
 data
 items at all. Wikipedia does, but there pages generally have multiple
 categories, identified by name, not a numeric ID.

 If you want to build a classification graph of the concepts in Wikidata
 (I'm
 intentionally avoiding the terms ontology and taxonomy here), you will
 have
 to go by the properties P31 (instance of) and P279 (subclass of) which are
 used
 in many (roughly half) of the data items.

  114 - page_id of the item Q17.

 That seems to be correct.

  Q17 - which is the item. (JSON:
  https://www.wikidata.org/wiki/Special:EntityData/Q17.json)

 It's the page title, which, on wikidata.org, is the same as the item ID.


 HTH
 Daniel

 PS: we are close to providing JSON dumps on a regular basis, and also make
 the
 JSON contained in the XML dumps more readable. This will hopefully make
 analyzing Wikidata less painful.

 --
 Daniel Kinzler
 Senior Software Developer

 Wikimedia Deutschland
 Gesellschaft zur Förderung Freien Wissens e.V.

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l

___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] WikiData Categories

2014-07-04 Thread Scott MacLeod
Jane, Lydia and WikiDatans,

These are great and helpful developments, which seem to be quite far along
now.

Jane and WikiDatans, can you point to similar helpful examples that would
distinguish how WikiData Categories and what one can extract with Magnus'
reasonator tool from what one can 'extract' with SemanticWiki from WikiData
Categories?

Lydia, are there any emerging video tutorials (in the manner of some of
Google's, for example) of tutorials about WikiData Categories and/or
Wikidata itself, in terms of making it very easy to use?

Thanks,
Scott



On Fri, Jul 4, 2014 at 4:40 AM, Jane Darnell jane...@gmail.com wrote:

 Q17 is Japan, and if you are interested in people from Japan for example,
 you can do this:
 http://tools.wmflabs.org/reasonator/?q=7463305
 (thanks to Magnus' reasonator tool that can extract category-like info
 from Wikidata based on properties and qualifiers)


 On Fri, Jul 4, 2014 at 9:01 AM, Daniel Kinzler 
 daniel.kinz...@wikimedia.de wrote:

 Am 04.07.2014 07:10, schrieb Rohan Badlani:
  I had downloaded the wikidata dump from
  http://dumps.wikimedia.org/wikidatawiki/latest/
  There is a file wikidatawiki-20140420-pages-articles-multistream-index
 which
  consists of triplets like:
 
  537:114:Q17

 I couldn't find documentation for the multistream-index format at
 https://meta.wikimedia.org/wiki/Data_dumps. I can't make sense of it
 myself
 offhand. Perhaps ask on the wikitech-l list. I suppose the authority on
 the
 question would be Ariel Glenn, perhaps you can get hold of him on IRC.

 Note that this format is used for all wikis, so it will not contain
 anything
 that is specific to Wikidata. It would be the same for Wikipedia.

 If you figure it out, please add the info to
 https://meta.wikimedia.org/wiki/Data_dumps!

  which I interpreted as following:
  537 - category of the topic (which I am unable to find. I want the
 details of
  this item)

 It's not a category. Wikidata doesn't use MediaWiki's Category feature
 for data
 items at all. Wikipedia does, but there pages generally have multiple
 categories, identified by name, not a numeric ID.

 If you want to build a classification graph of the concepts in Wikidata
 (I'm
 intentionally avoiding the terms ontology and taxonomy here), you
 will have
 to go by the properties P31 (instance of) and P279 (subclass of) which
 are used
 in many (roughly half) of the data items.

  114 - page_id of the item Q17.

 That seems to be correct.

  Q17 - which is the item. (JSON:
  https://www.wikidata.org/wiki/Special:EntityData/Q17.json)

 It's the page title, which, on wikidata.org, is the same as the item ID.


 HTH
 Daniel

 PS: we are close to providing JSON dumps on a regular basis, and also
 make the
 JSON contained in the XML dumps more readable. This will hopefully make
 analyzing Wikidata less painful.

 --
 Daniel Kinzler
 Senior Software Developer

 Wikimedia Deutschland
 Gesellschaft zur Förderung Freien Wissens e.V.

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l



 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l




-- 
- Scott MacLeod - Founder  President
- 415 480 4577
- http://worlduniversityandschool.org
- World University and School - like Wikipedia with MIT OpenCourseWare (not
endorsed by MIT OCW) - incorporated as a nonprofit university and school in
California, and is a U.S. 501 (c) (3) tax-exempt educational organization,
both effective April 2010.

World University and School is sending you this because of your interest in
free, online, higher education. If you don't want to receive these, please
reply with 'unsubscribe' in the subject line. Thank you.
___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] WikiData Categories

2014-07-04 Thread Magnus Manske
On Fri, Jul 4, 2014 at 1:40 PM, Scott MacLeod 
worlduniversityandsch...@gmail.com wrote:

 Jane, Lydia and WikiDatans,

 These are great and helpful developments, which seem to be quite far along
 now.

 Jane and WikiDatans, can you point to similar helpful examples that would
 distinguish how WikiData Categories and what one can extract with Magnus'
 reasonator tool from what one can 'extract' with SemanticWiki from WikiData
 Categories?


Can everyone please stop with the categories? Wikidata has items and
properties. I assume you mean properties here.

As for tools to get to data,
* Reasonator [1] is for viewing a single item, and see related items
* WDQ [2] is for machine-readable querying of Wikidata; basically, what
SPARQL does on SMW
* Autolist [3] is for getting clickable results from WDQ, intersecting
results with Wikipedia (!) categories, and semi-automated editing

For more details on these, feel free to email me, or search my blog [4].

Cheers,
Magnus

[1] http://tools.wmflabs.org/reasonator/
[2] http://wdq.wmflabs.org/
[3] http://tools.wmflabs.org/wikidata-todo/autolist.html and
http://tools.wmflabs.org/wikidata-todo/autolist2.php
[4] http://magnusmanske.de/wordpress/



 Lydia, are there any emerging video tutorials (in the manner of some of
 Google's, for example) of tutorials about WikiData Categories and/or
 Wikidata itself, in terms of making it very easy to use?

 Thanks,
 Scott



 On Fri, Jul 4, 2014 at 4:40 AM, Jane Darnell jane...@gmail.com wrote:

 Q17 is Japan, and if you are interested in people from Japan for example,
 you can do this:
 http://tools.wmflabs.org/reasonator/?q=7463305
  (thanks to Magnus' reasonator tool that can extract category-like info
 from Wikidata based on properties and qualifiers)


 On Fri, Jul 4, 2014 at 9:01 AM, Daniel Kinzler 
 daniel.kinz...@wikimedia.de wrote:

 Am 04.07.2014 07:10, schrieb Rohan Badlani:
  I had downloaded the wikidata dump from
  http://dumps.wikimedia.org/wikidatawiki/latest/
  There is a file wikidatawiki-20140420-pages-articles-multistream-index
 which
  consists of triplets like:
 
  537:114:Q17

 I couldn't find documentation for the multistream-index format at
 https://meta.wikimedia.org/wiki/Data_dumps. I can't make sense of it
 myself
 offhand. Perhaps ask on the wikitech-l list. I suppose the authority on
 the
 question would be Ariel Glenn, perhaps you can get hold of him on IRC.

 Note that this format is used for all wikis, so it will not contain
 anything
 that is specific to Wikidata. It would be the same for Wikipedia.

 If you figure it out, please add the info to
 https://meta.wikimedia.org/wiki/Data_dumps!

  which I interpreted as following:
  537 - category of the topic (which I am unable to find. I want the
 details of
  this item)

 It's not a category. Wikidata doesn't use MediaWiki's Category feature
 for data
 items at all. Wikipedia does, but there pages generally have multiple
 categories, identified by name, not a numeric ID.

 If you want to build a classification graph of the concepts in Wikidata
 (I'm
 intentionally avoiding the terms ontology and taxonomy here), you
 will have
 to go by the properties P31 (instance of) and P279 (subclass of) which
 are used
 in many (roughly half) of the data items.

  114 - page_id of the item Q17.

 That seems to be correct.

  Q17 - which is the item. (JSON:
  https://www.wikidata.org/wiki/Special:EntityData/Q17.json)

 It's the page title, which, on wikidata.org, is the same as the item ID.


 HTH
 Daniel

 PS: we are close to providing JSON dumps on a regular basis, and also
 make the
 JSON contained in the XML dumps more readable. This will hopefully make
 analyzing Wikidata less painful.

 --
 Daniel Kinzler
 Senior Software Developer

 Wikimedia Deutschland
 Gesellschaft zur Förderung Freien Wissens e.V.

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l



 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l




 --
 - Scott MacLeod - Founder  President
  - 415 480 4577
 - http://worlduniversityandschool.org
 - World University and School - like Wikipedia with MIT OpenCourseWare
 (not endorsed by MIT OCW) - incorporated as a nonprofit university and
 school in California, and is a U.S. 501 (c) (3) tax-exempt educational
 organization, both effective April 2010.

 World University and School is sending you this because of your interest
 in free, online, higher education. If you don't want to receive these,
 please reply with 'unsubscribe' in the subject line. Thank you.

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l




-- 
undefined
___
Wikidata-l mailing list

Re: [Wikidata-l] WikiData Categories

2014-07-04 Thread Scott MacLeod
Magnus,

Thanks for the clarification. Adding some of the resources you shared to
the Wiki subject page at WUaS.

Cheers,
Scott





On Fri, Jul 4, 2014 at 8:49 AM, Magnus Manske magnusman...@googlemail.com
wrote:




 On Fri, Jul 4, 2014 at 1:40 PM, Scott MacLeod 
 worlduniversityandsch...@gmail.com wrote:

 Jane, Lydia and WikiDatans,

 These are great and helpful developments, which seem to be quite far
 along now.

 Jane and WikiDatans, can you point to similar helpful examples that would
 distinguish how WikiData Categories and what one can extract with Magnus'
 reasonator tool from what one can 'extract' with SemanticWiki from WikiData
 Categories?


 Can everyone please stop with the categories? Wikidata has items and
 properties. I assume you mean properties here.

 As for tools to get to data,
 * Reasonator [1] is for viewing a single item, and see related items
 * WDQ [2] is for machine-readable querying of Wikidata; basically, what
 SPARQL does on SMW
 * Autolist [3] is for getting clickable results from WDQ, intersecting
 results with Wikipedia (!) categories, and semi-automated editing

 For more details on these, feel free to email me, or search my blog [4].

 Cheers,
 Magnus

 [1] http://tools.wmflabs.org/reasonator/
 [2] http://wdq.wmflabs.org/
 [3] http://tools.wmflabs.org/wikidata-todo/autolist.html and
 http://tools.wmflabs.org/wikidata-todo/autolist2.php
 [4] http://magnusmanske.de/wordpress/



 Lydia, are there any emerging video tutorials (in the manner of some of
 Google's, for example) of tutorials about WikiData Categories and/or
 Wikidata itself, in terms of making it very easy to use?

 Thanks,
 Scott



 On Fri, Jul 4, 2014 at 4:40 AM, Jane Darnell jane...@gmail.com wrote:

 Q17 is Japan, and if you are interested in people from Japan for
 example, you can do this:
 http://tools.wmflabs.org/reasonator/?q=7463305
  (thanks to Magnus' reasonator tool that can extract category-like info
 from Wikidata based on properties and qualifiers)


 On Fri, Jul 4, 2014 at 9:01 AM, Daniel Kinzler 
 daniel.kinz...@wikimedia.de wrote:

 Am 04.07.2014 07:10, schrieb Rohan Badlani:
  I had downloaded the wikidata dump from
  http://dumps.wikimedia.org/wikidatawiki/latest/
  There is a file
 wikidatawiki-20140420-pages-articles-multistream-index which
  consists of triplets like:
 
  537:114:Q17

 I couldn't find documentation for the multistream-index format at
 https://meta.wikimedia.org/wiki/Data_dumps. I can't make sense of it
 myself
 offhand. Perhaps ask on the wikitech-l list. I suppose the authority on
 the
 question would be Ariel Glenn, perhaps you can get hold of him on IRC.

 Note that this format is used for all wikis, so it will not contain
 anything
 that is specific to Wikidata. It would be the same for Wikipedia.

 If you figure it out, please add the info to
 https://meta.wikimedia.org/wiki/Data_dumps!

  which I interpreted as following:
  537 - category of the topic (which I am unable to find. I want the
 details of
  this item)

 It's not a category. Wikidata doesn't use MediaWiki's Category feature
 for data
 items at all. Wikipedia does, but there pages generally have multiple
 categories, identified by name, not a numeric ID.

 If you want to build a classification graph of the concepts in Wikidata
 (I'm
 intentionally avoiding the terms ontology and taxonomy here), you
 will have
 to go by the properties P31 (instance of) and P279 (subclass of) which
 are used
 in many (roughly half) of the data items.

  114 - page_id of the item Q17.

 That seems to be correct.

  Q17 - which is the item. (JSON:
  https://www.wikidata.org/wiki/Special:EntityData/Q17.json)

 It's the page title, which, on wikidata.org, is the same as the item
 ID.


 HTH
 Daniel

 PS: we are close to providing JSON dumps on a regular basis, and also
 make the
 JSON contained in the XML dumps more readable. This will hopefully make
 analyzing Wikidata less painful.

 --
 Daniel Kinzler
 Senior Software Developer

 Wikimedia Deutschland
 Gesellschaft zur Förderung Freien Wissens e.V.

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l



 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l




 --
 - Scott MacLeod - Founder  President
  - 415 480 4577
 - http://worlduniversityandschool.org
 - World University and School - like Wikipedia with MIT OpenCourseWare
 (not endorsed by MIT OCW) - incorporated as a nonprofit university and
 school in California, and is a U.S. 501 (c) (3) tax-exempt educational
 organization, both effective April 2010.

 World University and School is sending you this because of your interest
 in free, online, higher education. If you don't want to receive these,
 please reply with 'unsubscribe' in the subject line. Thank you.

 

Re: [Wikidata-l] WikiData Categories

2014-07-04 Thread Gerard Meijssen
Hoi,
To confuse you even more, Reasonator knows about Wikipedia categories. What
is so exciting is that it is possible to include statements in Wikidata
that Reasonator interprets as statements for a query. Reasonator shows you
the results from that query.

I blogged about a Mr Sinegal [1], in the article are links that include
numbers, they show off that these queries are live and will show new
numbers when either US musicians or musicians are added in Wikidata.
Thanks,
  GerardM

PS I am harvesting information at this time, so you will see updates more
or less every fifteen minutes.

[1]
http://ultimategerardm.blogspot.nl/2014/07/wikidata-bill-sinegal-us-rhythm-blues.html


On 4 July 2014 14:49, Magnus Manske magnusman...@googlemail.com wrote:




 On Fri, Jul 4, 2014 at 1:40 PM, Scott MacLeod 
 worlduniversityandsch...@gmail.com wrote:

 Jane, Lydia and WikiDatans,

 These are great and helpful developments, which seem to be quite far
 along now.

 Jane and WikiDatans, can you point to similar helpful examples that would
 distinguish how WikiData Categories and what one can extract with Magnus'
 reasonator tool from what one can 'extract' with SemanticWiki from WikiData
 Categories?


 Can everyone please stop with the categories? Wikidata has items and
 properties. I assume you mean properties here.

 As for tools to get to data,
 * Reasonator [1] is for viewing a single item, and see related items
 * WDQ [2] is for machine-readable querying of Wikidata; basically, what
 SPARQL does on SMW
 * Autolist [3] is for getting clickable results from WDQ, intersecting
 results with Wikipedia (!) categories, and semi-automated editing

 For more details on these, feel free to email me, or search my blog [4].

 Cheers,
 Magnus

 [1] http://tools.wmflabs.org/reasonator/
 [2] http://wdq.wmflabs.org/
 [3] http://tools.wmflabs.org/wikidata-todo/autolist.html and
 http://tools.wmflabs.org/wikidata-todo/autolist2.php
 [4] http://magnusmanske.de/wordpress/



 Lydia, are there any emerging video tutorials (in the manner of some of
 Google's, for example) of tutorials about WikiData Categories and/or
 Wikidata itself, in terms of making it very easy to use?

 Thanks,
 Scott



 On Fri, Jul 4, 2014 at 4:40 AM, Jane Darnell jane...@gmail.com wrote:

 Q17 is Japan, and if you are interested in people from Japan for
 example, you can do this:
 http://tools.wmflabs.org/reasonator/?q=7463305
  (thanks to Magnus' reasonator tool that can extract category-like info
 from Wikidata based on properties and qualifiers)


 On Fri, Jul 4, 2014 at 9:01 AM, Daniel Kinzler 
 daniel.kinz...@wikimedia.de wrote:

 Am 04.07.2014 07:10, schrieb Rohan Badlani:
  I had downloaded the wikidata dump from
  http://dumps.wikimedia.org/wikidatawiki/latest/
  There is a file
 wikidatawiki-20140420-pages-articles-multistream-index which
  consists of triplets like:
 
  537:114:Q17

 I couldn't find documentation for the multistream-index format at
 https://meta.wikimedia.org/wiki/Data_dumps. I can't make sense of it
 myself
 offhand. Perhaps ask on the wikitech-l list. I suppose the authority on
 the
 question would be Ariel Glenn, perhaps you can get hold of him on IRC.

 Note that this format is used for all wikis, so it will not contain
 anything
 that is specific to Wikidata. It would be the same for Wikipedia.

 If you figure it out, please add the info to
 https://meta.wikimedia.org/wiki/Data_dumps!

  which I interpreted as following:
  537 - category of the topic (which I am unable to find. I want the
 details of
  this item)

 It's not a category. Wikidata doesn't use MediaWiki's Category feature
 for data
 items at all. Wikipedia does, but there pages generally have multiple
 categories, identified by name, not a numeric ID.

 If you want to build a classification graph of the concepts in Wikidata
 (I'm
 intentionally avoiding the terms ontology and taxonomy here), you
 will have
 to go by the properties P31 (instance of) and P279 (subclass of) which
 are used
 in many (roughly half) of the data items.

  114 - page_id of the item Q17.

 That seems to be correct.

  Q17 - which is the item. (JSON:
  https://www.wikidata.org/wiki/Special:EntityData/Q17.json)

 It's the page title, which, on wikidata.org, is the same as the item
 ID.


 HTH
 Daniel

 PS: we are close to providing JSON dumps on a regular basis, and also
 make the
 JSON contained in the XML dumps more readable. This will hopefully make
 analyzing Wikidata less painful.

 --
 Daniel Kinzler
 Senior Software Developer

 Wikimedia Deutschland
 Gesellschaft zur Förderung Freien Wissens e.V.

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l



 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l




 --
 - Scott MacLeod - Founder  President
  - 415 480 4577
 

Re: [Wikidata-l] WikiData Categories

2014-07-04 Thread Markus Krötzsch

On 04/07/14 14:49, Magnus Manske wrote:




On Fri, Jul 4, 2014 at 1:40 PM, Scott MacLeod
worlduniversityandsch...@gmail.com
mailto:worlduniversityandsch...@gmail.com wrote:

Jane, Lydia and WikiDatans,

These are great and helpful developments, which seem to be quite far
along now.

Jane and WikiDatans, can you point to similar helpful examples that
would distinguish how WikiData Categories and what one can extract
withMagnus' reasonator tool from what one can 'extract' with
SemanticWiki from WikiData Categories?


Can everyone please stop with the categories? Wikidata has items and
properties. I assume you mean properties here.

As for tools to get to data,
* Reasonator [1] is for viewing a single item, and see related items
* WDQ [2] is for machine-readable querying of Wikidata; basically, what
SPARQL does on SMW
* Autolist [3] is for getting clickable results from WDQ, intersecting
results with Wikipedia (!) categories, and semi-automated editing


Well, and of course some items are used as classes, which might be 
somewhat related to categories (in one of their many uses). For an 
overview of these, see


http://tools.wmflabs.org/wikidata-exports/miga/

To find instances of a particular class, you can then use the tools 
Magnus already mentioned.


Cheers,

Markus



___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] WikiData Categories

2014-07-03 Thread Gerard Meijssen
Hoi,
I do not get it.. Wikidata has items not categories, so you get access to
the item for a category in the same way as you get access to any other item.
Thanks,
 GerardM


On 3 July 2014 11:03, Rohan Badlani rohan.badl...@gmail.com wrote:

 Hi!

 I am new to WikiData. I wanted to know how can we get the json belonging
 to a category. Say I want to access the json belonging to Category 537. If
 I can get the Json, can you pls specify how I can access this json?

 Main Aim: I want to know what Category 537 means and the sub categories
 and topics within this category.

 Regards!

 --

 *Rohan Badlani *
 2nd year undergraduate student,
 B.E.(Hons), Computer Science,
 Birla Institute of Technology and Science, Pilani.

 Email: rohan.badl...@gmail.com
 Phone: +91-9660582805.

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l


___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] WikiData Categories

2014-07-03 Thread Magnus Manske
Hi Rohan,

if by category you mean item, e.g.
https://www.wikidata.org/wiki/Q537

the easiest way to get the corresponding JSON is:
https://wikidata.org/entity/Q537.json

If you want a JSON object for all items with property P537, try:
http://wdq.wmflabs.org/api?q=claim[537]

See here for many more options to interrogate Wikidata:
http://wdq.wmflabs.org/api_documentation.html

Cheers,
Magnus


On Thu, Jul 3, 2014 at 10:03 AM, Rohan Badlani rohan.badl...@gmail.com
wrote:

 Hi!

 I am new to WikiData. I wanted to know how can we get the json belonging
 to a category. Say I want to access the json belonging to Category 537. If
 I can get the Json, can you pls specify how I can access this json?

 Main Aim: I want to know what Category 537 means and the sub categories
 and topics within this category.

 Regards!

 --

 *Rohan Badlani *
 2nd year undergraduate student,
 B.E.(Hons), Computer Science,
 Birla Institute of Technology and Science, Pilani.

 Email: rohan.badl...@gmail.com
 Phone: +91-9660582805.

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l




-- 
undefined
___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] WikiData Categories

2014-07-03 Thread Rohan Badlani
Thanks for an early response.

@Magnus: I was able to get the json of the items. Still thanks.
However, my exact problem is the following.

I had downloaded the wikidata dump from
http://dumps.wikimedia.org/wikidatawiki/latest/
There is a file wikidatawiki-20140420-pages-articles-multistream-index
which consists of triplets like:

537:114:Q17

which I interpreted as following:
537 - category of the topic (which I am unable to find. I want the details
of this item)
114 - page_id of the item Q17.
Q17 - which is the item. (JSON:
https://www.wikidata.org/wiki/Special:EntityData/Q17.json)

I want to know whether my interpretation is correct. If it is correct, how
can I get the details abt the category 537.
If my interpretation is incorrect, how can I get the wikidata category to
which an item belongs to?

Thanks and Regards!


On Thu, Jul 3, 2014 at 7:17 PM, Magnus Manske magnusman...@googlemail.com
wrote:

 Hi Rohan,

 if by category you mean item, e.g.
 https://www.wikidata.org/wiki/Q537

 the easiest way to get the corresponding JSON is:
 https://wikidata.org/entity/Q537.json

 If you want a JSON object for all items with property P537, try:
 http://wdq.wmflabs.org/api?q=claim[537]

 See here for many more options to interrogate Wikidata:
 http://wdq.wmflabs.org/api_documentation.html

 Cheers,
 Magnus


 On Thu, Jul 3, 2014 at 10:03 AM, Rohan Badlani rohan.badl...@gmail.com
 wrote:

 Hi!

 I am new to WikiData. I wanted to know how can we get the json belonging
 to a category. Say I want to access the json belonging to Category 537. If
 I can get the Json, can you pls specify how I can access this json?

 Main Aim: I want to know what Category 537 means and the sub categories
 and topics within this category.

 Regards!

 --

 *Rohan Badlani *
 2nd year undergraduate student,
 B.E.(Hons), Computer Science,
 Birla Institute of Technology and Science, Pilani.

 Email: rohan.badl...@gmail.com
 Phone: +91-9660582805.

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l




 --
 undefined

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l




-- 

*Rohan Badlani*
2nd year undergraduate student,
B.E.(Hons), Computer Science,
Birla Institute of Technology and Science, Pilani.

Email: rohan.badl...@gmail.com
Phone: +91-9660582805.
___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l