Questions tagged [wikidata]

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

32 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
299 views

Torrent for Wikidata dump

I'm looking for Wikipedia (enwiki-latest-pages-articles-multistream.xml.bz2) and a Wikidata (latest-all.json.bz2 ) dumps. The files are quite large (the latter has ~47GB) and my internet connection ...
  • 211
3 votes
0 answers
205 views

What are the limitations of the Wikidata data model?

Wikidata data model is as follows: The following diagram is a more summarized version of it (source): All terms are defined here. I wonder what the limitations Wikidata data model are.
2 votes
0 answers
90 views

WikiData: filter mwapi results

I am trying to write a sparql query that can retrieve all categories/items from a root and filter down only the ones that are of "human" type. Using the query below, I can retrieve all ...
  • 121
2 votes
0 answers
19 views

Airline Distribution system Data

Appreciate it if anyone can suggest an online data source to capture the below information. Airline | Country | number of Fleet | Number of Destinations | Airline PSS (Passenger Service System)
2 votes
0 answers
83 views

SPARQL - Filter wikidata identifiers

Query below gives me all programming languages entities, with their statements. Problem is that I don't need identifiers now, but these IDs might become necessary. I was just gonna model database ...
  • 121
2 votes
0 answers
143 views

Wikidata SPARQL - get company entities and the location of their headquarters

I'm having trouble extracting location attributes of company HQ's. My query: finds all companies or sub-classes, and returns some basic properties such as ISIN and URL, and the Headquarter location. ...
  • 121
2 votes
0 answers
34 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 ...
  • 133
2 votes
0 answers
69 views

How to use wikidata property paths?

Given a term/concept, I want to decide if it belongs to computer science. For that, I am checking if the concept has a property path to computer science node. In other words, I am checking whether ...
  • 235
2 votes
0 answers
124 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 ...
  • 201
2 votes
0 answers
97 views

Property and sub-property pairs

Here are some example records: https://www.wikidata.org/wiki/Q11361734 https://www.wikidata.org/wiki/Q74669 I have the following (updated) query: # Script #2 SELECT (GROUP_CONCAT( ?...
  • 121
2 votes
0 answers
41 views

Percentage of radio stations that are terrestrial stations versus Internet stations

What are the percentages of radio stations which provide: terrestrial radio station only Internet radio station both I am looking into this data by year and world country. Thank you for your ...
2 votes
0 answers
36 views

Wikidata item add form template

Is it possible in wikidata to make a template form from which wikidata item is created? If this is not yet supported, what would be simplest way to make (program) such implementation integrated into ...
1 vote
0 answers
6 views

Doing a fuzzy search on a particular Portal in Wikisource

I'm wanting to search for poems in the WikiSource Poetry Portal, and I'm finding the API documentation kind of confusing. First off, do I need to use the wikidata API, or is OK to just query ...
  • 111
1 vote
0 answers
31 views

Explanation for behaviour of FILTER in WDQS

I try to write a simple SPARQL query using WDQS to show some information about a city. My first attempt was to filter using a check for equality, like: SELECT ?city ?cityLabel WHERE { ?city wdt:P31/...
1 vote
0 answers
118 views

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 ...
  • 111
1 vote
0 answers
38 views

DOID , SYMP Ontology Sparql Queries

I need to extract the list of diseases, categories, bodyparts and symptoms. I've found several ontologies for that datasets. Disease ontology, symptom ontology, Bioportal and Wikipedia. But I don't ...
  • 21
1 vote
0 answers
73 views

How can I override this «Query is malformed: Bad aggregate» error message?

I'm working with a Wikidata query: SELECT DISTINCT ?protected_area ?protected_areaLabel ?coordinate_location ?territorialEntity ?territorialEntityLabel (SAMPLE(?instance_of) AS ?instance_of) ?...
1 vote
0 answers
35 views

SPARQL to get Wikidata items that have no P18 image but have a Commons image depicting them?

Many Commons images depict Wikidata concepts. How to find these concepts, in particular those that do not have an image (P18) property? The request should output the URIs of both the Wikidata item ...
1 vote
0 answers
34 views

Whole word entity search on Wikidata

Wikidata wbsearchentities service seems perform prefix-based matching, e.g. searching for novel matches as expected: novel : narrative text, normally of a substantial length and in the form of prose ...
  • 111
1 vote
1 answer
65 views

Looking for foot pressure database collected from pressure sensors

I am working on a project where I need foot pressure data that a person put on his foot while walking, running, or doing any other practice. I searched a lot in the search engines and I couldn't find ...
1 vote
0 answers
32 views

How come there are missing entities in this SPARQL query?

I was interested in listing all books, so I wrote: SELECT ?book ?url WHERE { ?book wdt:P31 wd:Q571 . OPTIONAL { ?url schema:about ?book . ?url schema:inLanguage "en" . ?url schema:...
1 vote
0 answers
19 views

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 (...
  • 171
1 vote
0 answers
65 views

Wikidata SPARQL How to speed up this query?

I have come to this query, which retrieves wikipedia and wikidata info from a wikipedia title: SELECT ?wikipediaId ?wikipediaTitle ?wikidataId ?desc ?imageUrl (GROUP_CONCAT(?instanceOfS; SEPARATOR=";"...
1 vote
0 answers
75 views

Wikidata Sparql Getting properties from a Wikipedia generator list

I am trying to get the properties that the linked pages from a wikipedia page have. SELECT ?item ?wikipediaTitle ?target WHERE { SERVICE wikibase:mwapi { bd:serviceParam wikibase:endpoint "en....
1 vote
0 answers
22 views

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 ...
  • 171
1 vote
0 answers
28 views

Filter wikidata results with 'around' service

Is it possible to use the "around" service as a filter, for example to search for a place name in a country and limit results to those within a given distance of a known point. For example, limit ...
  • 111
1 vote
0 answers
42 views

Race, cross-race, and cross culture tolerance data

Where can I find since done per-country data on people's attitudes towards people of other race and/or culture living within the same country and children of mixed race living within those countries. ...
0 votes
1 answer
36 views

Wikidata dump in another language

I am aware that you can download a Wikidata dump file from here But is it possible to only include results for a specific language?I have in the past worked with a json dump file and used python to ...
0 votes
1 answer
24 views

Fail to search a wikidata item through SPARQL

I tried to search and get the ID of a item with a certain label: Teodor Bogdanov. I can search this name successfully through wikidata website. However, I failed to do so by searching through SPARQL. ...
0 votes
1 answer
32 views

What is the best way to convert a taxonomy from wikipedia into a JSON-like object?

I'm trying to use the Wikipedia academic fields as a JSON object in one of my projects. I couldn't find it in a useable or convertible format so I am looking into the best approach to obtain it. I ...
0 votes
0 answers
13 views

Wikidata entities from wikidata toolkit

I am wondering how can i get all the information about Douglas Adams or any other entity of Wikidata using the wikidata toolkit. I have download the wikidata toolkit example from this link https://...
0 votes
0 answers
35 views

How to retrieve infos about creators with sparql in wikidata

I'm trying to retrieve infos about birth and death corresponding to paintors with this query, however I have an empty result if I uncomment birth and death infos. # added before 2016-10 # Recherche de ...
  • 201