Help:Extension:WikibaseCirrusSearch/ja

WikibaseCirrusSearchは の上にあるで、Wikibase関連の機能を有効化します.

以下にこの拡張に固有のキーワードと機能が記述されています. これ以外の文法はを参照してください

haswbstatement
指定されたプロパティを持つ文にある指定された値を持つ項目を返します. 検索では大文字小文字は区別しません.

例えば、 という値を持つプロパティ  では   を、そして"113230702" という値を持つプロパティ  の項目では   を使います.

You can also make queries without a specified value, e.g. for all items with property (in main value) use. You can even leave out the property as well, and use  to search for pages with any statement at all.

To search for items that do not have a certain statement, add an “exclude” modifier, for example. will find items with no statement.

Statements with qualifiers can also be searched for by adding a qualifier statement in square brackets. For example, to search for items that a  you can use   - and to further specify that the cat must have the   you can use. A wildcard can also be used when specifying qualifiers - to find all items that depict a cat of any color use.

Statement searches can be combined using logical OR by using a pipe character e.g.  will find all items that depict a cat OR a dog.

Statements can be combined using logical AND by using two separate  queries, e.g.   will find all items that depict both a cat AND a dog.

On Wikidata this currently works for all properties with "external identifier", "string", "item", "property", "lexeme", "form" and "sense" datatypes, except and, which are currently omitted for performance reasons.

inlabel/incaption
Allows the user to search for pages that have wikibase labels, optionally in user specified languages. Example:  looks for items that have the word "duck" in their English labels. More than one language can be specified, separated by commas:. If you append * to the language name, fallbacks to this language will also be searched. If you append +, then 'en' (English) will be excluded from fallbacks:  searches for word "gift" in language "de-at" and its fallback chain, not including English. Language of " " searches all labels using language-insensitive match (labels_all field) - it can only be specified on its own, not in combination with other languages. Not specifying the language -  or   - will also search all labels.

If you need to search string with spaces, use quotes:.

is the alias for  and they work identically.

wbstatementquantity
Allows the user to search for pages/items that have wikibase statements associated with them, and specify quantities of those statements. If an item has the statement  with the qualifier   (meaning "depicts human, quantity 5" in Wikidata), then it can be found using any of the following search queries: wbstatementquantity:P180=Q5<6 wbstatementquantity:P180=Q5<=5 wbstatementquantity:P180=Q5>=5 wbstatementquantity:P180=Q5>4 wbstatementquantity:P180=Q5=5 Statements can be combined using logical OR by separating them using a pipe, e.g..

Statements can be combined using logical AND by using two separate  queries, e.g.   (a range search) or

注意点として、文が全て索引化されているわけではありません. インデックス化されていないプロパティについての文の検索は、空の結果を返すでしょう.

hasdescription
指定された言語話者の説明を持つWikibase項目を返します. 例えば、日本語の説明を持つ項目を探すには、以下を使います.

Supports providing multiple language codes to support a search for items with a description in language X OR Y. 例えば、 はイタリア語 OR ハンガリー語の説明を持つ項目を返します.

これは返された結果に、複数の要件を課すのにも複数回使えます. 例えば、  は 英語 AND ドイツ語の説明を持つ項目を返し、   はスペイン語の説明があってかつフランス語の説明が無い項目を返します.

haslabel/hascaption
と同様ですが、ラベル用です(非公式にはキャプションとして知られています). 上述の  同様、  は別名として提供されます.