-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add WikiProject aspect #2289
Add WikiProject aspect #2289
Conversation
Will consider adding panels suggested here #1853 |
Yes, please do. Note that the second panel would give better results for P6104 instead of P5008, as per this comment. |
Daniel, if you look at the image you will see that I already use both P6104 and P5008 :) |
Once Shex schemas are queryable via SPARQL (coming soon) I'll try add a panel which shows the coverage of the schema properties for the relevant items. |
Had a call with Daniel where we worked on this aspect and he suggested using P6104/P5008 maintained by/focus list rather than getting the P921 main subject for the item. I think I'll remove get_prop_val in this case |
Let me know when you are finished. |
Removed the unused function, now ready to merge :) @fnielsen |
Description
Created a new aspect for WikiProjects. Has panels for items maintained by the WikiProject and items on the focus list of the WikiProject
I have also added a new function
get_prop_value
toquery.py
, which for a given QID and property, returns the value of the (Q, property, value) (where the value is also a QID. This is used to return the main subject.Caveats
If you make changes to the Python code
Testing
Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce. Please also list any relevant details for your test configuration.
Checklist
CC @Daniel-Mietchen