User:Sriveenkat/notes

From Wikidata
Jump to navigation Jump to search

To Do[edit]

https://archive.org/details/gc-sh10-0116/page/14/mode/2up

Quick Links[edit]

Wikidata:Tools


Queries[edit]

QuickStatements
WikiProject Music
Tamiḷ
WikiProject Films
TABernacle

Wikidata:Request a query[edit]

These queries are requested by me on Wikidata:Request a query. Some users accept my requests and created some queries for me. So these are not my own work. (The requests will be archived after seven days on that page, It's really hard to find in the archives. So I just copied the query text in this page.)

Tagishsimon[edit]

Tagishsimon! Thanks for Creating these queries
SELECT ?item ?itemLabel ?property ?propertyLabel ?type  ?sproperty ?spropertyLabel ?value ?valueLabel WITH {
  SELECT ?statement ?type ?property ?sproperty ?value WHERE 
  {
    ?statement ?predicate wd:Q5885.
    hint:Prior hint:runFirst true.

    {?property wikibase:statementProperty ?predicate. 
    BIND("statement" as ?type) }
    UNION
    {?property wikibase:qualifier ?predicate. 
    filter not exists {wd:P407 wikibase:qualifier ?predicate. } 
    BIND("qualifier" as ?type)
    ?statement ?predicate3 ?value .
    ?sproperty wikibase:statementProperty ?predicate3 .
    }
    UNION
    {?property wikibase:reference ?predicate. 
    filter not exists {wd:P407 wikibase:reference ?predicate. } 
    BIND("reference" as ?type) 
    ?statement ?predicate3 ?value .
    ?sproperty wikibase:statementProperty ?predicate3 .
    }
  } 
}  as %i
WHERE
{
  INCLUDE %i  
  ?item ?predicate2 ?statement .
  ?property2 wikibase:claim ?predicate2. 
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,ta". } 
}
Try it!
#Lexemes that means water ordered by language
# By So9q
# Lexemes that means (liquid) water
SELECT ?l ?sense ?lemma ?language ?languageLabel WHERE {
  ?l a ontolex:LexicalEntry ; # get from the special LexicalEntry
       ontolex:sense ?sense ; # the sense
       dct:language ?language ; # the language
       wikibase:lemma ?lemma. # and the lemma
  ?sense wdt:P5137 wd:Q29053744 .

  VALUES ?language { wd:Q5885 wd:Q36236 wd:Q150 wd:Q7737 }
  
                   # change Q29053744 to anything you want 
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
# Lower case before order
ORDER BY (LCASE(?languageLabel))
Try it!

Mahir256[edit]

select ?form ?rep {
  ?form ontolex:representation ?rep ; ^ontolex:lexicalForm/dct:language wd:Q5885 ; wikibase:grammaticalFeature wd:Q146233 .
}
Try it!

Show All Tamil Wikipedia Article without Wikidata Item[edit]

Copied version of the discussion in Wikidata:Request a query Hi @Tagishsimon, It's possible please make a query for All Tamil Wikipedia Articles without an Wikidata Item. Because Some Newly created Tawiki Articles are not linked with wikidata. We need to link that. Thanks Sriveenkat (talk) 02:48, 11 December 2023 (UTC)

@Sriveenkat: Probably the best resource to use for this is duplicity. It's updated once per day, as far as I know:
The next best option is https://petscan.wmflabs.org/ but I've not been able to get that to work for ta wikipedia. WDQS reports are not very useful for the problem of language wiki articles that are not linked to wikidata items.
Let me know if duplicity works for you. Ideally log into it duplicity (login at the top right) since it provides tools to do lookups from article titles to wikidata - although maybe that won't be so successful for Tamil language titles? --Tagishsimon (talk) 03:46, 11 December 2023 (UTC)
Hello @Sriveenkat, Tagishsimon: PetScan for example, for one category for unconnected pages on ta lanuage wikipedia:
With PetScan/QuickStatemens it is also possible to add one or more base statements (e.g. "is a (P31:...") and so on) to every newly created item after clicking on "Start QS" (QuickStatements).
Petscan-Examples:
After connecting to existing objects or creating new items they can be enriched with additional statemtents and information, for example:
M2k~dewiki (talk) 16:56, 12 December 2023 (UTC)

Some Useful User pages[edit]