Difference between revisions of "Wikidata"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | = The Genesis of WikiData = | ||
+ | # In the beginning there was the [https://tools.wmflabs.org/sqid/#/view?id=Q1 Universe] [https://www.wikidata.org/wiki/Q1 Q1]. | ||
+ | # [https://tools.wmflabs.org/sqid/#/view?id=Q2 Earth] [https://www.wikidata.org/wiki/Q2 Q2]was at the center of it. | ||
+ | # After a while [https://tools.wmflabs.org/sqid/#/view?id=Q3 Life] [https://www.wikidata.org/wiki/Q3 Q3] showed up on it. | ||
+ | # [https://tools.wmflabs.org/sqid/#/view?id=Q4 Death] [https://www.wikidata.org/wiki/Q4 Q4] set time limits to it. | ||
+ | # [https://tools.wmflabs.org/sqid/#/view?id=Q5 Man] [https://www.wikidata.org/wiki/Q5 Q5] recently entered the scene in this chain of life and death. | ||
+ | # [https://tools.wmflabs.org/sqid/#/view?id=Q6 void] [https://www.wikidata.org/wiki/Q6 Q6] is void and so is | ||
+ | [https://www.wikidata.org/wiki/Q6 Q6] | ||
+ | # [https://tools.wmflabs.org/sqid/#/view?id=Q8 Happiness] [https://www.wikidata.org/wiki/Q8 Q8] <youtube>v=eMD_SWtPzlk</youtube> | ||
= Links = | = Links = | ||
= Structure = | = Structure = |
Revision as of 11:38, 16 January 2018
The Genesis of WikiData
- In the beginning there was the Universe Q1.
- Earth Q2was at the center of it.
- After a while Life Q3 showed up on it.
- Death Q4 set time limits to it.
- Man Q5 recently entered the scene in this chain of life and death.
- void Q6 is void and so is
Links
Structure
https://www.mediawiki.org/wiki/Wikibase/DataModel/Primer
https://upload.wikimedia.org/wikipedia/commons/c/c2/Wikibase_JavaScript_Data_Model_1.0.svg
Example
Æthelstan King of the English - 927-939
Position Held
Queen Victoria
- https://en.wikipedia.org/wiki/Queen_Victoria
- https://www.wikidata.org/wiki/Q9439
- http://royal-family.bitplan.com/index.php/Queen_Victoria
Entity:Queen Victoria
Statements | |
---|---|
PropertyId/name | value |
P18/image | |
P569/date of birth | 24 May 1819 |
P39/position held | Q9134365/Monarch of the United Kingdom qualifiers -> start:20 June 1837, end:22 January 1901, replaced by:https://www.wikidata.org/wiki/Q20875 |
P570/date of death | 22 January 1901 |
P20/place of death | Osborne House |
P21/sex or gender] | Q6581072/female |
Descendants of Queen Victoria
# WikiData SPARQL Query
#
# Wolfgang Fahl 2018-01-06
#
# get childen of queen victoria
SELECT ?child ?childLabel ?genderLabel ?dob
WHERE {
#
# child
# https://www.wikidata.org/wiki/Property:P40
# Queen Victoria
# https://www.wikidata.org/wiki/Q9439
wd:Q9439 wdt:P40+ ?child.
# gender
# https://www.wikidata.org/wiki/Property:P21
?child wdt:P21 ?gender.
# date of birth
# https://www.wikidata.org/wiki/Property:P569
?child wdt:P569 ?dob
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY ?dob
Import
- https://www.wikidata.org/wiki/Wikidata:Data_Import_Guide
- https://www.wikidata.org/wiki/Q2140665
- https://github.com/maxlath/wikidata-cli
- https://www.wikidata.org/wiki/Wikidata:Tools/External_tools