Questions tagged [wikibase]

Wikibase is the software that enables MediaWiki to store structured data or access data that is stored in a structured data repository. Wikibase basically consists of two MediaWiki extensions, Wikibase Repository and Wikibase Client, that can be enabled individually or together for a certain MediaWiki installation to turn it into a structured data repository, a client of a structured data repository or both.

36 questions
1
vote
2 answers

The Wikipedia iwlinks table only stores some links to Wikidata pages. Where are the others?

I'm using the Wikipedia dumps extracts to process Wikipedia instead of the Wikipedia API because I'd like to run a lot of queries quickly. I'd like to connect Wikipedia pages to their respective Wikidata pages. My understanding is the iwlinks table…
1
vote
1 answer

MediaWiki API not returning depictions in languages other than English

I was using the API https://commons.wikimedia.org/w/api.php?action=help&modules=wbsearchentities to fetch depictions In Wikimedia Commons. On modifying the attributes language/strictlanguage should return depiction in the corresponding language I…
1
vote
1 answer

Get depictions from Wikimedia Commons

Wikimedia Commons has a new feature to describe what a picture depicts. Example: Question How to get the "depicts" of a given image, as JSON, using either a wikimedia-android-data-client library call or a REST HTTP request?
1
vote
0 answers

Unexpected character in wdqs-updater_1 upon restart of a Wikibase

When working with a local Wikibase I noticed that the autocomplete function stopped working in the local query service. After a shutdown and startup I get the following message: ... Stopping phenowiki_wdqs_1 ...…
Jasper
  • 628
  • 1
  • 9
  • 19
1
vote
1 answer

Wikidata statement ordering

I am using the RDF dump format of Wikidata, according to Wiki this format does not have the ordering of statements. I want to have attributes always in order, such as this "inception" is always followed by "official names",…
William
  • 5,526
  • 6
  • 20
  • 42
0
votes
1 answer

How to make the value of a claim in wikidata a hyperlink or link to another external page

I am trying to create a script in Wikidata that creates a claim for certain entities. The claim should have a property of "external identifier" and a value that is the identifier generated by an external organization. Additionally, I want the value…
James_00
  • 5
  • 2
0
votes
0 answers

Integrating Semantic Mediawiki with Wikibase

Installed Semantic mediawiki version 4.1.0 successfully in wikibase for the linking of wikibase data to semantic mediawiki, When i am trying to create any property inside wikibase then it is showing up with the error after adding semanting mediawiki…
0
votes
0 answers

Unable to get Installed Capacity Unit (megawatt) for this wikidata SPARQL query

Trying to get wiki data for nuclear power plant, in that I am unable to get install capacity unit(megawatt) SELECT ?ps ?wdLabel ?ps_Label ?pq ?wdpqLabel ?pq_Label { VALUES (?item) {(wd:Q32159)} ?item ?p ?statement . ?statement ?ps…
Vim
  • 578
  • 5
  • 16
0
votes
1 answer

wikibase-docker won't start on Azure container instance

It's possible to run a wikibase/mediawiki instance locally using docker-compose: https://www.mediawiki.org/wiki/Wikibase/Docker. This works on my macbook without trouble, but now I'm trying to get it running on Azure as a Container Instance (ACI). I…
0
votes
1 answer

Make external identifier property values to URLs in a Wikibase

In Wikidata, external identifier properties can have an associated "formatter URL" that will allow Wikidata to format a URL for the property value based on the identifier, e.g., https://www.wikidata.org/wiki/Property:P10831 has set the…
Finn Årup Nielsen
  • 6,130
  • 1
  • 33
  • 43
0
votes
1 answer

Error when attempting to run update.php following Wikibase install

I am attempting to install Wikibase using the documentation on a remote Ubuntu server. I have successfully installed everything up to this point that I can think of. MediaWiki 1.37.2 is up and running with no errors that I know of The concurrent…
0
votes
1 answer

Submitting time data to wikibase with `wbcreateclaim` results in "invald-snak" error

I am currently trying to populate a wikidata instance via POST requests. For this purpose I use the requests library in Python together with the MediaWiki API. So far I managed to create claims with different datatypes (like String, Quantity,…
Elaphus
  • 1
  • 3
0
votes
1 answer

Wikibase language links

In a custom installation of wikibase I have links to wikipedia and my wiki family. In the left sidebar the language links to the wikis in my family do not show up as desired but with their wiki prefix and the name of the page. So at the german site…
c.holtermann
  • 113
  • 1
  • 9
0
votes
1 answer

Change the order of properties rendered in Wikibase

Within Wikidata the properties P31 (instance of) and P279 (subclass of) - when stated - are always the first statements in the set of statements of a wikidata item. On a random wikibase install, the properties simply follow the order in which they…
Andra
  • 687
  • 2
  • 9
  • 20
0
votes
1 answer

Create a claim on Wikidata with a specific type of value

I am trying to ingest data to a local Wikibase, which I installed following the steps described in https://docs.docker.com/compose/install/. I'm using the API of wikibase/wikidata for the ingestion and it works as expected. For instance, I could…
henryr
  • 169
  • 1
  • 15