Jump to content

User:Bangbang.S

From Meta, a Wikimedia project coordination wiki
#ranking(s) of university(es)
#defaultView:LineChart
SELECT ?year ?ranking  ?deternimationMethodLabel ?universityLabel ?university ?statement WHERE {
  VALUES ?university {
#     wd:Q16952
    wd:Q1711196
    
    # to add another university
    # 1,uncomment the last commented line, 
    # 2,put cursor to the end of line, 
    # 3,and press CTRL+SPACE,or CTRL+ALT+SPACE, or ALT+ENTER. 
    # 4,and select first item, and press CTRL+ENTER.
    #wd:Zhejiang_University
    
    }
  
  #if you want to see all ranking lists, un-comment all following blocks
#   VALUES ?deternimationMethod {
#     wd:Q478743
#     
#     # to add another deternimationMethod
#     # 1,uncomment the last commented line, 
#     # 2,put cursor to the end of line, 
#     # 3,and press CTRL+SPACE,or CTRL+ALT+SPACE, or ALT+ENTER. 
#     # 4,and select first item, and press CTRL+ENTER.
#     #wd:Shanghai_Academic_Ranking_of_World_Universities
#     
#     }
                              
  
  ?university p:P1352 ?statement.
  ?statement ps:P1352 ?ranking.
  ?statement pq:P459 ?deternimationMethod.
  ?statement pq:P585 ?date.
  
  BIND (STR(YEAR(?date)) as ?year)
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}


BUG

[edit]

https://query.wikidata.org/ linechart 点非常难选中,且没有严格对准,弹出文字会一直闪动,弹出文字也没有指向item的链接

TODO

[edit]

wikidata:相关属性 A->B ==> B->A , 机器作业

backup

[edit]