Différences entre les versions de « Issue/1344 (MonolingualTextValue) »

De Semantic MediaWiki - Sandbox
(Created page with "https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1344 In case where <code><nowiki>Has type::Monolingual text</nowiki></code> is being used, <code>php update.ph...")
 
Ligne 46 : Ligne 46 :
 
{{#ask: [[-Has text with language::{{PAGENAME}}]]
 
{{#ask: [[-Has text with language::{{PAGENAME}}]]
 
  |?Language code
 
  |?Language code
  |?Language dependent text
+
  |?Text
 
}}
 
}}
 
</pre>
 
</pre>
 
{{#ask: [[-Has text with language::{{PAGENAME}}]]
 
{{#ask: [[-Has text with language::{{PAGENAME}}]]
 
  |?Language code
 
  |?Language code
  |?Language dependent text
+
  |?Text
 
}}
 
}}
  
 
<pre>
 
<pre>
 
{{#ask: [[Language code::ja]]
 
{{#ask: [[Language code::ja]]
  |?Language dependent text
+
  |?Text
 
  |?-Has text with language
 
  |?-Has text with language
 
}}
 
}}
 
</pre>
 
</pre>
 
{{#ask: [[Language code::ja]]
 
{{#ask: [[Language code::ja]]
  |?Language dependent text
+
  |?Text
 
  |?-Has text with language
 
  |?-Has text with language
 
}}
 
}}

Version du 17 janvier 2016 à 15:20

https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1344

In case where [[Has type::Monolingual text]] is being used, php update.php is required to run first as elements of MonolingualTextValue are stored in separate tables.

Valid annotations

La propriété « Translation » a une zone d’application restreinte et ne peut pas être utilisée comme propriété d’annotation par un utilisateur.La propriété « Translation » a une zone d’application restreinte et ne peut pas être utilisée comme propriété d’annotation par un utilisateur.

text (fr) abc@example.com wrote an email to (en)

Invalid annotations

Pour l’annotation « Has text with language », l’analyseur n’a pas pu déterminer un code de langue (par ex. « foo@en »).

« example.com » n’a pas été reconnu comme un code de langue pris en charge.

Query examples

{{#ask: [[Has text with language::text]]
 |?Has text with language
}}
 Has text with language
Issue/1344 (MonolingualTextValue)text (fr)
abc@example.com wrote an email to (en)
{{#ask: [[Has text with language::?@en]] OR [[Has text with language::~例の*]]
 |?Has text with language
}}
 Has text with language
Issue/1344 (MonolingualTextValue)text (fr)
abc@example.com wrote an email to (en)
Issue/1344 (MonolingualTextValue)例の一 (ja)
{{#ask: [[-Has text with language::{{PAGENAME}}]]
 |?Language code
 |?Text
}}
 Language code« Language code » est une propriété prédéfinie qui représente un code de langue au format BCP47 et est fournie par MediaWiki Sémantique.Text« Text » est une propriété prédéfinie fournie par MediaWiki Sémantique et qui représente un texte de longueur quelconque.
Issue/1344 (MonolingualTextValue)enabc@example.com wrote an email to
Issue/1344 (MonolingualTextValue)frtext
{{#ask: [[Language code::ja]]
 |?Text
 |?-Has text with language
}}
 Text« Text » est une propriété prédéfinie fournie par MediaWiki Sémantique et qui représente un texte de longueur quelconque.-Has text with language
CXuesong/Sandbox2テスト
Example/S0016/1テスト
Has GND統合典拠ファイル(ドイツ語: Gemeinsame Normdatei、別名: 共通データベース、共通統一データベース)またはGNDとは目録からの個人名、件名標目、企業団体を組織化するための国際的典拠ファイルである
Has URLインターネットURL
Has population人口
Intel 8 16 LAN Adapter.jpgIntel 8∕16 LAN ネットワークカード
Issue/1344 (MonolingualTextValue)例の一Issue/1344_(MonolingualTextValue)
NDL ID国立国会図書館典拠データ検索
P106人物の職業。「専門分野」(Property:P101) も参照
P106職業
P136ジャンル
P136主題の創作物・芸術作品のジャンル
P1449ニックネーム
P1449主題の愛称、あだ名
P19出生地
P19最も詳細かつ知られた出生地(例:国ではなく市)
P569その生物が生まれた日付
P569生年月日
P570その生物が死亡した日付
P570没年月日
Rashômon (羅生門)羅生門
Test one一二三
Triacylglycerol lipaseトリアシルグリセロールリパーゼ
dwc:kingdomその分類群が位置づけられている、分類上の「界」のフルネーム。
{{#ask: [[Has text with language::?@~zh*]]
 |?Has text with language=Text |+index=1
 |?Has text with language=Code |+index=2
}}
 TextCode
Issue/1344 (MonolingualTextValue)zh-Hans
Issue/1344 (MonolingualTextValue)zh-Hant
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.