(Created page for Wikidata and Football project) |
(describing the state of the data before the project) |
||
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. | |||
<src 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> |
Revision as of 19:32, 16 January 2017
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. <src 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>