|Item description language|
|Number of disambiguation candidates|
|Highlight matching string in disambiguation candidates|
|Show result removal button|
WikiResolve is a tool for automatically resolving the item ids of a given list of search queries.
The syntax of WikiRsolve is based on the one of QuickStatements v1 and, if successfull, will be processed to valid QuickStatements v1 statements.
A simple query could for example look like:
Command lines don't serve a purpose but can be usefull for generating QuickStatements. Each command line consists of at least one 2-tuple or triple, so called item tuples. Multiple item tuples per command are seperated by a single tab.
An item tuple can be either a 2-tuple or triple and consists of:
P. Defaults to
Qif omitted or empty.
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 is a 2-tuple and consists of a property and a value seperated by a certain command-character. Multiple conditions which all have to be fullfilled (AND conditions) can be specified by seperating them with commas (
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 tuple. 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 is currently work in progress and only works with the German Wikipedia at the moment.
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*