Editing User:Hweyl/WikidataFootball

From WikiDotMako
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
Let's use Wikidata to answer questions about NFL players!
Let's use Wikidata to answer questions about NFL players!
=Goal=
1. Answer the question "What are the DOB and DOD dates for all NFL players?"
=Data=
I tried to see if the data to answer this question might already be in Wikidata.
<source lang =sparql>
SELECT ?personLabel  ?positionLabel ?DOB ?DOD
WHERE {
  ?person wdt:P106 wd:Q19204627.
  ?person wdt:P413 ?position.
  ?person wdt:P569 ?DOB .
  ?person wdt:P570 ?DOD .
 
  SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
   
}
  }
</source>
It looks like we are missing the occupation data for many people. This data isn't in Wikidata yet, but it is in English Wikipedia.
We can use the PetScan tool to get pages that are in certain categories. There is a  manual for the tool that explains how to use it.
We can find some useful categories here Category:National_Football_League_players_by_team
=Next Steps=
1. I'll try a set with San Diego Chargers data.
Please note that all contributions to WikiDotMako are considered to be released under the Attribution-Share Alike 3.0 Unported (see WikiDotMako:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)