In T279290#7041106, @Anubhuti wrote:I thought we had to go to each article and search for all wikidata properties that could be added to the wikidata article. Then we would look for the values of those properties from the wikipedia article.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Apr 28 2021
Apr 28 2021
Apr 20 2021
Apr 20 2021
Yes - there are several shell scripts that cron runs automatically at those times of the day. Click on the times and you'll see the shell scripts, and the python script names that they run.
Normally you do some test edits, then stop and wait for approval, then do the full run. There is also normally some discussion you need to engage in. For an example, see https://www.wikidata.org/wiki/Wikidata:Requests_for_permissions/Bot/Pi_bot_17 (for others, see the links under the 'Task' column at https://www.wikidata.org/wiki/User:Pi_bot ).
Hello!
I had a doubt regarding the bot approval process for importing data. Does our system need to be active throughout the time we wait for the bot to approve the import?
Apr 19 2021
Apr 19 2021
I forgot to mention namespaces in the tutorial template, but this page will explain how they work: https://en.wikipedia.org/wiki/Wikipedia:Namespace
In short -- articles with the same "title" can exist in different namespaces where they serve different purposes. You should focus on namespace 0, which is what we think of as traditional Wikipedia articles. Namespace is an attribute in the XML dump that you can easily access and filter on. In general, when trying to figure these things out, one trick is that you can easily figure out what article is associated with a page ID like this: if the page ID is 413520, then you can see the associated article by going to: https://simple.wikipedia.org/wiki/?curid=413520. Good catch!
Apr 17 2021
Apr 17 2021
Hi @Palak199 ! Thank you! I forgot to convert it to string even if I did so in the code snippet above that. That was silly of me. :(
Hello @DaneshwariK ! Thank you for the suggestion. However, both, the page IDs and the revision IDs associated with each page are different.
The following is just a part of the output that I received: (The numbers below the Page id are the revision IDs in that page)
Hello everyone! I am Nirali, an applicant for Outreachy and I wanted to contribute to this project as well. :)
Apr 13 2021
Apr 13 2021
In T278997#6993037, @Mike_Peel wrote:In T278997#6992891, @Nizz009 wrote:In T278997#6992887, @Aminehassou wrote:In T278997#6992884, @Nizz009 wrote:In T278997#6992880, @Aminehassou wrote:Since we are parsing through the article text on wikipedia, are we also meant to get the property id as shown in the example?
"P31 = radio telescope"If so, how is this possible without accessing wikidata?
Hello @Aminehassou ! What I think that we have to do is that, we search for 'specific information' (especially those that we searched for in Task 1) in the Wikipedia article. And since we know what kind of information we searched for, we can assign the corresponding property ID which is appropriate for it.
Hey, thanks for the response, so in other words, we hardcode the value in since we have already found it during task 1?
No problem. And yes, that's pretty much what we have to do.
Not quite. You hard-code 'P31' ('instance of'), since that is what you are looking for. But then you extract 'radio telescope' directly from the article (e.g., by retrieving the "Lovell Telescope" article and finding "is a [[radio telescope]]" in the first sentence). So you hard-code the question ('what is this an instance of?'), find the answer from the article by python, and then get your code to print it out in terms of Wikidata value 'P31 = value".
In T278997#6992887, @Aminehassou wrote:In T278997#6992884, @Nizz009 wrote:In T278997#6992880, @Aminehassou wrote:Since we are parsing through the article text on wikipedia, are we also meant to get the property id as shown in the example?
"P31 = radio telescope"If so, how is this possible without accessing wikidata?
Hello @Aminehassou ! What I think that we have to do is that, we search for 'specific information' (especially those that we searched for in Task 1) in the Wikipedia article. And since we know what kind of information we searched for, we can assign the corresponding property ID which is appropriate for it.
Hey, thanks for the response, so in other words, we hardcode the value in since we have already found it during task 1?
In T278997#6992880, @Aminehassou wrote:Since we are parsing through the article text on wikipedia, are we also meant to get the property id as shown in the example?
"P31 = radio telescope"If so, how is this possible without accessing wikidata?
Apr 9 2021
Apr 9 2021
In T279290#6982664, @Mike_Peel wrote:In T279290#6982646, @Nizz009 wrote:Hello Everyone! I want to try and take up the category of "Category:Date of death not in Wikidata" for this task.
Sorry, I shoud have said that 'Date of death' and 'Date of birth' are not suitable for this task, since they are not IDs, and Pi bot automatically synchrotronises them with Wikidata already - so the only ones in those categories will be mismatches and complicated format strings. Sorry about that!
Apr 8 2021
Apr 8 2021
Hello Everyone! I want to try and take up the category of "Category:Date of death not in Wikidata" for this task.
Apr 5 2021
Apr 5 2021
In T279288#6972486, @Mike_Peel wrote:In T279288#6972480, @Nizz009 wrote:Hello! Can someone help with what Numerical ID means? I am kind of confused with the difference between the QID and the Numerical ID. Does that refer to the values of properties in the "Identifiers" section in the Wikidata?
Yes, this is under 'identifiers'. For example, https://www.wikidata.org/wiki/Q555130 ('Lovell Telescope') has Property:P1216 ('National Heritage List for England number') as '1221685'.
Hello! Can someone help with what Numerical ID means? I am kind of confused with the difference between the QID and the Numerical ID. Does that refer to the values of properties in the "Identifiers" section in the Wikidata?
Apr 4 2021
Apr 4 2021
In T278863#6971072, @AnkitaxPriya wrote:In T278863#6971042, @Srishti0gupta wrote:In T278863#6971034, @AnkitaxPriya wrote:@Mike_Peel I tried to configure Pywikibot but I am facing some issues while doing so. Here is the screenshot of the commands I am running.
Please guide me on what must I do to fix this.@AnkitaxPriya Would you once try to login through your username only i.e AnkitaxPriya. Meaning not keeping botname bot1 and setting password for it and see if your problem is resolving.
After you run this command: $ python pwb.py generate_user_files , you have to do below step manually by going inside the User Config File which was generated in this step.
this step --> usernames['wikidata']['wikidata'] = u'Your username' into the generated user-config.py file.
After this try to login with $ python pwb.py login command.
Hope it works.
@Srishti0gupta so we have to rename the user-config.py.sample file to user-config.py and then manually enter our username there?
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits