Questions tagged [wikidata]

Wikidata is a project of the Wikimedia foundation related to open data

134 questions
12
votes
4 answers

How to get list of all items that have a particular property, in Wikidata?

How collect Wikidata's entities by a certain property?
Kirill Freiman
  • 141
  • 1
  • 5
7
votes
2 answers

How can I get the Wikidata inter-language links?

I'm trying to get hold of the Wikidata inter-language links, i.e. a file listing all of the articles and which articles they are linked to in other languages. ( http://www.wikidata.org/wiki/Wikidata:Glossary#Sitelink ) It seems like this should…
MHG
  • 173
  • 5
5
votes
1 answer

Wikidata: How to represent British Hong Kong's under Japanese occupation?

Between 1941 and 1945, British Hong Kong (then a colony) was occupied by the Japanese, see this Wikipedia article. However on British Hong Kong's Wikidata page, there's no mention of the Japaneses occupation whatsoever. It seems like it was a…
jeanpaul62
  • 195
  • 4
4
votes
1 answer

What are the practical differences between WikiData's infrastructure and SemanticMediawiki?

Wikidata is a new addition to the WikiMedia foundation that focusses on providing machine-readable data that can be re-used by other sites. SemanticMediaWiki is a large extension for mediawiki that allows users to embed semantic data in the…
naught101
  • 173
  • 6
3
votes
1 answer

Mapping a Wikimedia project URL to the corresponding Wikidata entity id

I am looking for the best method to map a given Wikipedia/Wikisource/Wikibooks/... URL to the corresponding Wikidata entity id (similar to this question but via API calls instead of a full data dump). The URL can be in many forms,…
Jakob
  • 195
  • 5
3
votes
1 answer

Subquery in wikidata

I would like to get a list of all the current ministers in Germany. Those are CLAIM[39:248352]. This gives me all ministers that have ever been there though. I would like to limit it on the current ones though. So I figured I could go for…
k-nut
  • 211
  • 1
  • 6
2
votes
1 answer

What is the best way to create private wikidata items

I am looking for a way to create new private wikidata items to be integrated with the existing public wikidata. Example: Fluffy (Qxxxx) is a (P31) red (Q3142) rabbit (Q9394) stuffed toy (Q682582) . Poo (Qyyyy) is a (P31) stuffed toy…
acortis
  • 121
  • 1
1
vote
0 answers

Is it possible to query Wikidata to get a list of things by item index?

Say, for example, that I wanted to know what the first 100 items are on WikiData (which I do,) without searching in WikiData Q1, Q2, Q3 and so on. Is there a way to write a SPARQL query to find all WikiData entries (either items or properties)…
Lou
  • 111
  • 2
1
vote
0 answers

How to distinguish between human and animal bones in Wikidata?

The two topics https://www.wikidata.org/wiki/Q16343 (Clavicle) https://www.wikidata.org/wiki/Q835986 (Baculum, Penis bone) are both instances of Q265868 (Bone). However, the clavicle is a human (and animal) bone, whereas the Baculum is afaik not…
1
vote
0 answers

Does Wikidata contain the data from the Wikipedia {{distinguish}} template?

Wikipedia uses the {{Distinguish}} template for pages whose subject is easily confused with another subject. For example, the two Congo countries are frequently confused with each other, so their Wikipedia articles warn the user: This establishes a…
1
vote
1 answer

Wikidata on all Trump's executive orders

I'd like a wikidata query that returns all executive orders signed by President Trump. This query gets all executive…
fgregg
  • 5,108
  • 16
  • 37
1
vote
1 answer

WikiData - Specific country with flag and emojiflag by item ID

I need to query the WikiData to get for an specific country code (that I've, for the example is Q414 (ARG), the flag and the emoji flag respective. The emoji, by I know, is on zxx lang, but anyway any of my solutions worked. Any help will be…