Talk:Research in programming Wikidata/Tennis

From Wikiversity
Jump to navigation Jump to search

List of tennis players[edit source]

Dear @Willyg.x.x:, please, write your first SPARQL script which generates a list of tennis players in the section "Tennis player objects". Andrew Krizhanovsky (discusscontribs) 06:24, 22 October 2022 (UTC)[reply]

SELECT DISTINCT ?item ?itemLabel WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
  {
    SELECT DISTINCT ?item WHERE {
      ?item p:P106 ?statement0.
      ?statement0 (ps:P106/(wdt:P279*)) wd:Q10833314.
    }
    LIMIT 100
  }
}

185.90.100.202 (discuss) 14:08, 23 October 2022 (UTC)[reply]

About Tennis and Britannica[edit source]

Dear @Willyg.x.x:, you wrote: "The modern game of tennis is played by millions in clubs and on public courts. Its period of most rapid growth..."

  1. The texts written by other peoples should be quoted and attributed (with a link to the source of this text).
  2. Please, respect copyright, and double check the text in the page Tennis.
  3. Please, write SPARQL, not sparql.
  4. In every section (Competitions, Tennis Players, Net worth and Player salaries) write which Wikidata properties you are going to use. And add the blue link to the corresponding feature (property) in Wikidata site.
  5. After your SPARQL query add the link to WDQS with this query. So every reader can click it and run it. --Andrew Krizhanovsky (discusscontribs) 04:49, 31 October 2022 (UTC)[reply]