The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [wikidata]

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

Filter by
Sorted by
Tagged with
24
votes
7answers
7k views

How can I download the complete Wikidata database?

Wikidata is a new Wikimedia project: It centralizes access to and management of structured data, such as interwiki references and statistical information. This data would be of enormous interest ...
18
votes
2answers
4k views

Get Wikipedia URLs (sitelinks) in Wikidata SPARQL query

I can use the following query to list all sovereign states via the Wikidata query interface: PREFIX wikibase: <http://wikiba.se/ontology#> PREFIX wd: <http://www.wikidata.org/entity/> ...
15
votes
6answers
2k views

Mapping all Wikipedia URLs to Wikidata entity ids

Is there a Wikidata dump that maps all Wikipedia URLs to their corresponding Wikidata entity ids, e.g. the Wikipedia URL https://en.wikipedia.org/wiki/Tom_Hanks to the Wikidata entity id Q2263?
8
votes
2answers
526 views

Wikidata get property of property

This question is related to this. We have the following query: SELECT DISTINCT ?item ?itemLabel ?AuthorLabel ?year WHERE { ?item wdt:P166 wd:Q255032. ?item wdt:P50 ?Author . ?item wdt:P577 ...
9
votes
4answers
2k views

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

How collect Wikidata's entities by a certain property?
7
votes
1answer
275 views

wikidata: (when) will it be possible to query for wikipedia page links?

(When) will the following be possible: For a wikipedia page: get the list of all wikipedia links on that page with their respective wikidata IDs in a single query/API call. Receive additional ...
2
votes
0answers
30 views

SPARQL query to get capacity of event venues from Wikidata

I am trying to query Wikidata to find out the capacities of all event venues in specific geographic regions (US urban centers). They have this service for querying: Wikidata Query Service The answer ...
11
votes
2answers
4k views

How to get the name of a Wikidata item

Let's say I have a Wikidata item QID Q19675, and want to get the name of that item in Spanish. While getting a property like P281 postal code is easy, how to get the name, which for some reason is ...
5
votes
2answers
279 views

How can I get a list of currencies from Wikidata?

Some currencies already exist, like [1], [2] and they are all instances of currency [3]. Unfortunately there are no links to all instances from [3]. So is there a possibility to get this list from ...
5
votes
2answers
259 views

How to get urls of entries in wikipedia list articles?

I am trying to retrieve the URL of all articles listed inside wikipedia list articles. For concreteness lets consider the wikimedia list article List_of_American_scientists I know how to use the wiki ...
4
votes
1answer
81 views

Sort results by proximity with the “around” service in Wikidata

With this query, I can get a list of German cities around Berlin, within a radius of 50 km. SELECT ?place ?placeLabel ?location WHERE { wd:Q64 wdt:P625 ?arcLoc . ?place wdt:P31 wd:Q515 . ?...
4
votes
1answer
135 views

Publishing (structured?) data about products: information about products, barcodes, photos (incl. packaging)

Is it legal to publish photos of products and their packaging? Can such be done anonymously on some open license? (which would be the best for such data to be open for public use, as products are ...
4
votes
2answers
507 views

get item's properties know QID

Know QID I can get items's label: SELECT DISTINCT * WHERE { wd:Q302 rdfs:label ?label . FILTER (langMatches( lang(?label), "EN" ) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "...
2
votes
0answers
102 views

How to use DBpedia to identify the topics

In the paper "Discovering Relevant Topics using DBPedia providing non-obvious recommendations" they have used skos:broader property and dcterms:subject property. In my task given the word I want to ...
2
votes
1answer
63 views

Find all Wikidata items that use a particular P18 picture

I want to find all Wikidata items that have "Gthumb.svg" as a P18 property. Leaving aside the fact that "Gthumb.svg" may not exist on Commons and that normal P18 values have a "commons:" prefix, it ...