|Item description language|
|Number of disambiguation candidates|
|Maximum number of concurrent requests to Wikidata|
|Highlight matching string in disambiguation candidates|
|Only resolve first column and ignore the other ones|
Resolver is a tool for automatically resolving Wikidata entity ids of a given list of search queries.
The syntax of Rsolver is based on the one of QuickStatements v1 and, if the operations succeed, will be processed to valid QuickStatements v1 statements.
A simple query which consists of only one command line could for example look like this:
| || || || || || || || || || || || || || || || || || || || || || || || |
|search term||property||value||search term||property||value||type||search term||wiki code||type||literal||literal|
|basic condition||basic condition||properties||wiki article name condition||properties|
|resolve tuple||resolve tuple||resolve tuple|
By the way: There's a grammar for those interested.
Command lines don't serve a purpose but can be usefull for generating QuickStatements. Each command line consists of at least one resolve tuple or literal. Multiple resolve tuples/literals per command line are seperated by a single tab each.
A resolve tuple is what actually contains your search term to resolve. It consists of at least one and up to three parts which are seperated by pipes (
A literal is a string which will not be processed but output. This can be handy for generating QuickStatements. A literal starts with a dollar sign (
$) and is followed by the text.
Conditions define which items to automatically ignore. A condition consists of a property and a value seperated by a certain command-character. Multiple conditions which all have to be fullfilled (AND) can be specified by seperating them with semicolons (
A basic condition consists of a property and a value seperated by an "equals to"-character (
=). A candidate has to have the property and value for the property as defined in the condition. This does not check for transitive properties.
A basic condition can be extended to check for transitive properties by appending an "asterisk"-character (
*) to the property.
This condition can be used to extract the associated Wikidata id from a given wiki article. A list of all wiki abbreviations can be found here next to "Sites". Please note that currently this condition cannot be combined with other conditions!
A SPARQL condition consists of a property and a value seperated by a "tilde"-character (
~). They are the most versatile type of conditions and will be set together to
?item <property> <value> .. Please note that SPARQL prefixes like "wdt" and "wd" are required.
Example: Filter organs -
wdt:P31/wdt:P279*~, instance of/subclass of*
| || |
| || |