User:Mzaki/P1114
quantity (P1114)の用法の整理をしたい。すごい大変そうだけど。
本来quantity (P1114)は項目のインスタンスの総数を表すプロパティなのだが、そこから逸脱した用法がかなり多く存在している。また修飾子としての利用の方がはるかに多い。
in main statement
editentity types
editWikibase property (Q29934218)は除外されている。プロパティに対しては、number of records (P4876)を使うことになっている。外部識別子に対して考える場合、意味論上quantity (P1114)が間違っているわけではないと思うが、完全性の統計などはnumber of records (P4876)を使って算出される。
#title:Properties using P1114
SELECT ?prop ?propLabel ?num WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?prop a wikibase:Property.
?prop wdt:P1114 ?num.
}
LIMIT 1000
units
edit単位は必要ないはず。計数基準はcriterion used (P1013)で表現するべき。計数対象はhas part(s) of the class (P2670)やhas part(s) (P527)にquantity (P1114)で修飾する形で表現するべき。ほかにも修飾子で表現すべきところを単位で表現しているものはありそう。
#title:P1114 statements with units
SELECT ?item ?itemLabel ?st ?val ?unit ?unitLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?item p:P1114 ?st.
?st psv:P1114 ?v.
?v wikibase:quantityAmount ?val.
?v wikibase:quantityUnit ?unit.
FILTER( ?unit != wd:Q199 )
}
ORDER BY ?item
LIMIT 1000
list of qualifiers
editquantity (P1114)に対して使われている修飾子の統計:
#title:Qualifiers for P1114
SELECT DISTINCT ?qual ?qualLabel ?count ?sample ?isAllowed ?isRequired {
{
SELECT ?qual (COUNT(DISTINCT ?item) AS ?count) (SAMPLE(?statement) AS ?sample) {
hint:Query hint:optimizer "None" .
?item p:P1114 ?statement .
?statement ?pq_qual ?pq_obj .
?qual wikibase:qualifier ?pq_qual .
} GROUP BY ?qual
} .
OPTIONAL { wd:P1114 p:P2302 [ pq:P2306 ?qual ; ps:P2302 wd:Q21510851 ] . BIND("y" as ?isAllowed) }
OPTIONAL { wd:P1114 p:P2302 [ pq:P2306 ?qual ; ps:P2302 wd:Q21510856 ] . BIND("y" as ?isRequired ) }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?count) ASC(?qualLabel)
用法が明瞭で検討が不要のもの(誤用がないとは限らない)
- point in time (P585)
- start time (P580)とend time (P582)
- reason for deprecated rank (P2241)とreason for preferred rank (P7452)
statement is subject of (P805)の本来の用法は、statementと等価な項目へのリンクを提供することであり、statementの解釈には影響がない(statement is subject of (P805)instance of (P31)non-restrictive qualifier (Q61719274)なので)。
Title | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
statement is subject of | P805 | Item | (qualifying) item that describes the relation identified in this statement | Barack Obama <statement is subject of> presidency of Barack Obama | main subject |
#title:breakdown of P1114 statements qualified with P805
SELECT ?obj ?objLabel ?count ?sample {
{
SELECT ?obj (COUNT(DISTINCT ?item) AS ?count) (SAMPLE(?st) AS ?sample) {
?item p:P1114 ?st .
?st pq:P805 ?obj .
} GROUP BY ?obj
}.
SERVICE wikibase:label { bd:serviceParam wikibase:language "ja,en" }
}
ORDER BY DESC(?count) ASC(?objLabel)
#title:all usages of P1114 statements qualified with P805
SELECT ?item ?itemLabel ?prop ?propLabel ?value ?qual ?qualLabel ?qual_value ?qual_valueLabel ?statement WHERE {
?item p:P1114 ?statement.
?statement ps:P1114 ?value;
pq:P805 ?qual_value.
BIND(wd:P1114 AS ?prop)
BIND(wd:P805 AS ?qual)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
- quantity (P1114)の値が(全てではないにせよ)項目のインスタンスの数であるもの
- statement is subject of (P805)の値が本来の用法(statementと等価な項目)に近いもの
- global Internet usage (Q15542961) (Internet user (Q115460164)=>4,900,000,000): 本来の用法
- thirty-six initials (Q836305) (Q10872630(中古漢語声母)=>36): これはたぶん本来の用法にかなり近い
- geocentric model (Q165800) (inner and outer planets (Q13205267)=>5): 本来の目的に近いがちょっと微妙
- discovery of Neptune (Q1356165) (inner and outer planets (Q13205267)=>8): 本来の目的に近いがちょっと微妙
- Q106544587(アルジェリアの法律) (province of Algeria (Q240601)=>58): アルジェリアの県の数が変更になった。本来の目的に近いがちょっと微妙。referenceにすべきでは?
- statement is subject of (P805)の値がquantity (P1114)の値の制約条件になっているもの(これはstatement is subject of (P805)instance of (P31)non-restrictive qualifier (Q61719274)に反する)
- patient (Q181600) (2020 COVID-19 related intensive care treatment in Sweden (Q88240196)=>214): これも微妙だなぁ
- preserved steam locomotive (Q27955408) (Ferrocarriles Nacionales de México QR-1 (Q116997097)=>12): これは微妙だとは思うけどあり得る用法
France (Q142) (cremation (Q207315)=>49,743): 実施例数をインスタンスと言っていいのか。少なくとも地域の限定はvalid in place (P3005)で表現すべき。
- statement is subject of (P805)の値が本来の用法(statementと等価な項目)に近いもの
- quantity (P1114)の値が項目のインスタンスの数ではないもの
- quantity (P1114)の値がstatement is subject of (P805)の値のインスタンスの数となっているもの
大多数(99.8%)を占めるのがclass (Q18204)で、日本の学校項目で使われている。has part(s) of the class (P2670) + quantity (P1114)で表現すべき。Q11570773 (Q86496416=>2): これは上と同様の用法。coin (Q41207) (Gingelom hoard (Q104205901)=>14,154): 大量の硬貨からなる「財宝」。has part(s) of the class (P2670) + quantity (P1114)で表現すべき。inland waterway vessel (Q863970) (Thames Clippers (Q1474872)=>18): 輸送事業者が運用する船の数。item operated (P121) + quantity (P1114)で表現すべき。shop (Q213441) (IperSoap (Q113580448)=>100): ストアチェーンの店舗数。number of branches (P8368)で表現すべき。contributor (Q20204892) (IperSoap (Q113580448)=>700): ストアチェーンの従業員数。employees (P1128)で表現すべき。- COVID-19 intensive care treatment occurrence (Q88240100) (COVID-19 pandemic in Sweden (Q84081576)=>3): ある一日における集中治療の症例数。
- quantity (P1114)の値が項目のサブクラスの数となっているもの
g1 (Q50276388)~g8 (Q50277800) (gluon (Q3299)=>8): 8種類ある、であって、インスタンスが8つ、ではない。disjoint union of (P2738)で表現すべき。
- quantity (P1114)の値がstatement is subject of (P805)の値のインスタンスの数となっているもの
Title | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
criterion used | P1013 | Item | criterion: property by which a distinction or classification is made | north <criterion used> direction | - |
#title:P1114 statements qualified with P1013
SELECT ?obj ?objLabel ?count ?sample {
{
SELECT ?obj (COUNT(DISTINCT ?item) AS ?count) (SAMPLE(?st) AS ?sample) {
?item p:P1114 ?st .
?st pq:P1013 ?obj .
} GROUP BY ?obj
}.
SERVICE wikibase:label { bd:serviceParam wikibase:language "ja,en" }
}
ORDER BY DESC(?count) ASC(?objLabel)
大部分はQ106497152のような感じでユダヤ人関連の統計データの分類基準として使っている。(たぶん1ユーザー)
#title:some usages of P1114 statements qualified with P1013
SELECT ?item ?itemLabel ?prop ?propLabel ?value ?qual ?qualLabel ?qual_value ?qual_valueLabel ?statement WHERE {
?item p:P1114 ?statement.
?statement ps:P1114 ?value;
pq:P1013 ?qual_value.
BIND(wd:P1114 AS ?prop)
BIND(wd:P1013 AS ?qual)
MINUS{ ?item wdt:P31/wdt:P279* wd:Q12483. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
- quantity (P1114)の値が(全てではないにせよ)項目のインスタンスの数であるもの
- criterion used (P1013)の値がquantity (P1114)の値の制約条件になっているもの
- Guangyun (Q2189818) (Q107107437=>206): stated in (P248)っぽいけど、まあ体系の差という感覚かな
- point in time (Q186408) (tipping-point state (Q65077752)=>1,2): ある時点について見ると、インスタンスは1つまたは2つ、ということ
- simultaneity (Q1530412) (Knight Commander of the Order of the Bath (Q12177470)=>355): これもある時点について、ということ。定数っぽいからちょっと微妙。
- criterion used (P1013)の値がquantity (P1114)の値の制約条件になっていないもの
- Universally Unique Identifier (Q195284) (UUID version 4 variant 1 (Q73747203)=>5316911983139663491615228241121378304): 根拠
- criterion used (P1013)の値がquantity (P1114)の値の制約条件になっているもの
- quantity (P1114)の値が項目のインスタンスの数ではないもの
- intensive care medicine (Q679690) (pandemic in France (Q83873593)=>15): おそらくnumber of hospitalized cases (P8049)の内数。
- noble title (Q355567) (peerage of Ireland (Q1859616)=>135): 項目のpeerageは不可算であるところ、可算のtitleの数を示している。
Title | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
of | P642 | Item | (This property is being deprecated, see details at WD:P642) qualifier stating that a statement applies within the scope of a particular item | → Property talk:P642 | - |
#title:P1114 statements qualified with P642
SELECT ?obj ?objLabel ?count ?sample {
{
SELECT ?obj (COUNT(DISTINCT ?item) AS ?count) (SAMPLE(?st) AS ?sample) {
?item p:P1114 ?st .
?st pq:P642 ?obj .
} GROUP BY ?obj
}.
SERVICE wikibase:label { bd:serviceParam wikibase:language "ja,en" }
}
ORDER BY DESC(?count) ASC(?objLabel)
electric vehicle charging station (Q2140665)の項目で使われている。
#title:P1114 statements for class Q2140665 qualified with P642
SELECT ?obj ?objLabel ?count ?sample {
{
SELECT ?obj (COUNT(DISTINCT ?item) AS ?count) (SAMPLE(?st) AS ?sample) {
?item wdt:P279 wd:Q2140665 .
?item p:P1114 ?st .
?st pq:P642 ?obj .
} GROUP BY ?obj
}.
SERVICE wikibase:label { bd:serviceParam wikibase:language "ja,en" }
}
ORDER BY DESC(?count) ASC(?objLabel)
2通りの使用法が混在している。
- コネクタの数
- 電流
#title:some usages of P1114 statements qualified with P642
SELECT ?item ?itemLabel ?prop ?propLabel ?value ?qual ?qualLabel ?qual_value ?qual_valueLabel ?statement WHERE {
?item p:P1114 ?statement.
?statement ps:P1114 ?value;
pq:P642 ?qual_value.
BIND(wd:P1114 AS ?prop)
BIND(wd:P642 AS ?qual)
MINUS{ ?item wdt:P279 wd:Q2140665. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
- quantity (P1114)の値が(全てではないにせよ)項目のインスタンスの数であるもの
- of (P642)の値がquantity (P1114)の値の制約条件になっているもの
- standard 52-card deck (Q3419503) (straight flush (Q20679886)=>40): インスタンスと言って良いのかちょっと微妙ではある。
- COVID-19 intensive care treatment occurrence (Q88240100) (2020 COVID-19 related intensive care treatment in Sweden (Q88240196)=>264): 制約条件と言って良いのかちょっと微妙ではある。
- village (Q532),daba (Q15008703),list of cities and towns in Georgia (Q109199) (populated place in Georgia (Q4313794)=>3633, 39, 54): 集落数の内訳。
- of (P642)の値がquantity (P1114)の値の制約条件になっているもの
- quantity (P1114)の値が項目のインスタンスの数ではないもの
- quantity (P1114)の値がof (P642)の値のインスタンスの数となっているもの
associate lawyer (Q107023681) (Factorhy Avocats (Q106594103)=>8): 弁護士事務所における主任弁護士の数。has part(s) of the class (P2670) + quantity (P1114)で表現する。Cedrus deodara (Q146935),Quercus (Q12004) (Highway 152 Tree Row (Q108839997)=>115, 20): 並木を構成する樹の樹種ごとの内訳。has part(s) of the class (P2670):tree (Q10884) + of (P642) + quantity (P1114)で表現する。data set (Q1172284) (European Commission Data Portal (Q5412398)=>15,648): データポータルに含まれるデータセットの数。has part(s) of the class (P2670) + quantity (P1114)で表現する。step (Q53996838) (Q117486907=>347): 階段の段数。has part(s) of the class (P2670) + quantity (P1114)で表現する。transistor (Q5339) (Radeon HD 5830 (Q4047936)=>2,154,000,000): GPUを構成するトランジスタ数。has part(s) (P527) + quantity (P1114)で表現すべき。contact area count (Q66061119),pin grid array (Q130985) (AMD Phenom II X6 1090T (Q66481199)=>938): CPUの接続ピン数(PGA)。has part(s) (P527):electrical contact (Q394001) + quantity (P1114)で表現すべき。sporting event (Q16510064) (2014 Première Ligue de soccer du Québec season (Q18089651)=>60): シーズン中の試合数。number of matches played/races/starts (P1350)で表現すべき。video clip (Q677466) (Q109733723=>118): 動画シリーズを構成する動画数。number of parts of this work (P2635)で表現すべき。work (Q386724) (Q23017994=>40): 動画シリーズを構成する動画数。number of parts of this work (P2635)で表現すべき。bridge (Q12280) (BRUTUS (Q107699833)=>24,554): データベース中の橋のエントリ数。number of records (P4876)で表現する。retail outlet (Q57334497) (Road Runner Sports (Q113494713)=>42): チェーンストアの店舗数。number of branches (P8368)で表現する。
- quantity (P1114)の値がof (P642)の値のインスタンスの数となっていないもの
Klemkestraße (Q91557947) (Kolonie Felseneck (Q114689403)=>71): 市民農園における区画の数。has part(s) of the class (P2670):allotment plot (Q11901469) + quantity (P1114)で表現する。Norway (Q20) (Haugen (Q16870574)=>14,163): この姓を持つ人の数。population (P1082)で表現する。Pearson product-moment correlation coefficient (Q1136628) (Q11304604=>0.86): 相関関係の相関係数。has part(s) of the class (P2670) + numeric value (P1181)で表現する。Vertebrata (Q25241) (eye (Q7364)=>2): 脊椎動物には眼が2つある。これはeye (Q7364)のプロパティではない。
- quantity (P1114)の値がof (P642)の値のインスタンスの数となっているもの
- よくわからないもの
- event sequence (Q15900616) (NC Final Session – mixed pair, the 2019-2020 Edition (Q106890160)=>4): 第○回戦てきなもの?よくわからない
- motif (Q1229071),Block der Frauen (Q6578286) (Block der Frauen (Q6578286)=>2): ローゼンシュトラーセ抗議の記念碑群。なにが2?
- First Nation band (Q2882257),Alberta (Q1951) (First Nations in Alberta (Q5453438)=>48): アルバータ州に存在する先住民バンドの数。ファーストネーションとバンドの概念の差がよくわからない。has part(s) (P527):First Nation band (Q2882257) + quantity (P1114)で表現すべき?
- web page (Q36774) (cIMeC.Ro (Q106806915)=>213,824): cimec.roにあるサイト内ページの数?
- painting (Q3305213) (The Scream (Q471379)=>4): 一連の作品としての「叫び」(インスタンス)に対し、それを構成する作品数。
- whole (Q16868672),transfer (Q315364) (Tezos (Q55290870)=>763,306,929.69, 381,000,000): 暗号通貨の総量?
Title | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
applies to part | P518 | Item | part, aspect, or form of the item to which the claim applies | Lady with an Ermine <applies to part> painting support | - |
#title:P1114 statements qualified with P518
SELECT ?obj ?objLabel ?count ?sample {
{
SELECT ?obj (COUNT(DISTINCT ?item) AS ?count) (SAMPLE(?st) AS ?sample) {
?item p:P1114 ?st .
?st pq:P518 ?obj .
} GROUP BY ?obj
}.
SERVICE wikibase:label { bd:serviceParam wikibase:language "ja,en" }
}
ORDER BY DESC(?count) ASC(?objLabel)
rolling stock class (Q811704)の項目で使われている。
#title:P1114 statements for class Q811704 qualified with P518
SELECT ?item ?itemLabel ?obj ?objLabel ?st WHERE {
?item (wdt:P31/(wdt:P279*)) wd:Q811704;
p:P1114 ?st.
?st pq:P518 ?obj.
SERVICE wikibase:label { bd:serviceParam wikibase:language "ja,en". }
}
ORDER BY ?item
- インスタンスの数の内訳を示している
#title:some usages of P1114 statements qualified with P518
SELECT ?item ?itemLabel ?prop ?propLabel ?value ?qual ?qualLabel ?qual_value ?qual_valueLabel ?statement WHERE {
?item p:P1114 ?statement.
?statement ps:P1114 ?value;
pq:P518 ?qual_value.
MINUS { ?item wdt:P31/wdt:P279* wd:Q811704. }
BIND(wd:P1114 AS ?prop)
BIND(wd:P518 AS ?qual)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?item
- quantity (P1114)の値が(全てではないにせよ)項目のインスタンスの数であるもの
- applies to part (P518)の値がquantity (P1114)の値の制約条件になっているもの
- Hyrule Warriors: Age of Calamity (Q98969837) (Korok seed (Q119142190)=>175): ゲーム中で入手可能なアイテムの総数。ゲーム毎に区別している。
- state (Q308463) (View of Venice (Q26106449)=>11): 版画の現存する部数。series ordinal (P1545)と併用してstate (Q308463)毎に区別している。
- judgment (Q3769186) (Q2865639=>740): 合憲性審査の件数。修飾子の意味はあまりよくわからない。
- altarpiece (Q15711026) (Cycle of Passion (Q67150028)=>10): 連作絵画の作品数。
- applies to part (P518)の値がquantity (P1114)の値の制約条件になっているもの
- quantity (P1114)の値が項目のインスタンスの数ではないもの
- quantity (P1114)の値がapplies to part (P518)の値のインスタンスの数となっているもの
entry about an individual (Q19859352) (Familypedia (Q5433416)=>66,000): データベース中の人物のエントリ数。number of records (P4876)で表現する。同様9件。Tensor core (Q110647350) (Gigabyte GeForce RTX 3090 Eagle OC 24G (Q110646830)=>328): グラフィックスボードが持つTensorコアの数。has part(s) (P527) + quantity (P1114)で表現する。electrical contact (Q394001) (floppy drive power connector (Q16951277)=>4): コネクタが持つ接点の数。has part(s) (P527) + quantity (P1114)で表現する。
- quantity (P1114)の値がapplies to part (P518)の値のインスタンスの数となっていないもの
image sensor (Q209121) (Canon EOS R3 (Q106963109)=>24.1 megapixel): イメージセンサの論理的大きさ。すでにあるsensors (P9192)をdata size (P3575)で修飾すべき。download (Q7126717) (Labyrinth (Q115982911)=>16,014): ソフトウェアのダウンロード数。total produced (P1092) + criterion used (P1013):download (Q7126717)で表現する。compact disc (Q34467) (Blaze (Q18002910)=>1,500): CDの生産枚数。total produced (P1092) + distribution format (P437):compact disc (Q34467)で表現する。
- quantity (P1114)の値がapplies to part (P518)の値のインスタンスの数となっているもの
- よくわからないもの
- Unix-like operating system (Q14656) (virtual file system (Q1330734)=>1): システム中での仮想ファイルシステムのインスタンス数?
- thoroughfare (Q83620) (streetcars in New Orleans (Q3468104)=>5): 路面電車の路線数。インスタンスといっていいのか?
Title | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
valid in place | P3005 | Item | place where a statement is valid | stadion <valid in place> Delphi | - |
#title:all usages of P1114 statements qualified with P3005
SELECT ?item ?itemLabel ?prop ?propLabel ?value ?qual ?qualLabel ?qual_value ?qual_valueLabel ?statement WHERE {
?item p:P1114 ?statement.
?statement ps:P1114 ?value;
pq:P3005 ?qual_value.
BIND(wd:P1114 AS ?prop)
BIND(wd:P3005 AS ?qual)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
現状、基本的にはステートメントの値が項目のインスタンスの数になっている。
- 修飾子がインスタンス数を数えた地理的範囲を示していると言いがたいケース
この2つはインスタンスの数を数える時の条件として使われているのが自然な用法。
Title | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
excluding | P1011 | Item | exception: usually used as a qualifier | British Islands <excluding> Republic of Ireland | - |
including | P1012 | Item | usually used as a qualifier | 2015 San Bernardino shooting <including> suspect | - |
たとえばcounty of Maryland (Q13410464)に対して、
quantity (P1114) |
| |||||||||||||||||||||||||||
add value |
それ以外に、
- インスタンスの数だけincluding (P1012)を追加する用法がある。
- 時系列を示している時の異動を明記する用法もある。(これはexcluding (P1011)がrestrictive qualifier (Q61719275)なので微妙)
- republic of the Soviet Union (Q236036)=>11: 5増1減した結果11になったので、including (P1012)が5つ、excluding (P1011)が1つある。
この2つの用法には混乱がある。経緯として先にsourcing circumstances (P1480)があり、そこからnature of statement (P5102)が分かれた。Wikidata:Property_proposal/nature_of_statementによれば、sourcing circumstances (P1480)は情報源についての状況であり、nature of statement (P5102)はステートメントについての状況。
Title | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
sourcing circumstances | P1480 | Item | sourcing circumstance: qualification of the truth or accuracy of a source: circa (Q5727902), near (Q21818619), presumably (Q18122778), etc. | gas lighting <sourcing circumstances> circa | - |
nature of statement | P5102 | Item | (qualifier only) the underlying circumstances of this statement | Vermont <nature of statement> hypothesis | - |
#title:all usages of P1114 statements qualified with P1480
SELECT ?item ?itemLabel ?prop ?propLabel ?value ?qual ?qualLabel ?qual_value ?qual_valueLabel ?statement WHERE {
?item p:P1114 ?statement.
?statement ps:P1114 ?value;
pq:P1480 ?qual_value.
BIND(wd:P1114 AS ?prop)
BIND(wd:P1480 AS ?qual)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
#title:all usages of P1114 statements qualified with P5102
SELECT ?item ?itemLabel ?prop ?propLabel ?value ?qual ?qualLabel ?qual_value ?qual_valueLabel ?statement WHERE {
?item p:P1114 ?statement.
?statement ps:P1114 ?value;
pq:P5102 ?qual_value.
BIND(wd:P1114 AS ?prop)
BIND(wd:P5102 AS ?qual)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
この2つのqualifierはもともとreference value (P5446)で「範囲」型を実現するためのギミックとして導入されている。他のプロパティで使うこともできるが、「範囲」の表現でないなら別の表現のほうが望ましいような気がする。
Title | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
lower limit | P5447 | Quantity | lower limit of a range or an interval; (qualifier) used with a dummy value which specifies the type of the range or interval | red blood cell count <lower limit> 4.35 trillion cells per litre | - |
upper limit | P5448 | Quantity | upper limit of a range or an interval; (qualifier) used with a dummy value which specifies the type of the range or interval | red blood cell count <upper limit> 5.55 trillion cells per litre | - |
#title:all usages of P1114 statements qualified with P5447
SELECT ?item ?itemLabel ?prop ?propLabel ?value ?qual ?qualLabel ?qual_value ?qual_valueLabel ?statement WHERE {
?item p:P1114 ?statement.
?statement ps:P1114 ?value;
pq:P5447 ?qual_value.
BIND(wd:P1114 AS ?prop)
BIND(wd:P5447 AS ?qual)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
たとえばfriends of the paralytic man (Q114804902)に対して
quantity (P1114) |
| ||||||||||||
add value |
これは以下のようにも表現できる。
quantity (P1114) |
| ||||||||||||
add value |
これは具体的な手法(「○○法」)であるべきで、estimation (Q791801)とかestimate (Q37113960)というような値はnature of statement (P5102)の方が適切な気がする。
Title | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
determination method | P459 | Item | determination method: how a value is determined, or the standard by which it is declared | Interchange Bad Neuenahr-Ahrweiler <determination method> Normalhöhennull | - |
#title:all usages of P1114 statements qualified with P459
SELECT ?item ?itemLabel ?prop ?propLabel ?value ?qual ?qualLabel ?qual_value ?qual_valueLabel ?statement WHERE {
?item p:P1114 ?statement.
?statement ps:P1114 ?value;
pq:P459 ?qual_value.
BIND(wd:P1114 AS ?prop)
BIND(wd:P459 AS ?qual)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
これは疑わしい用法。一般的な制約的修飾子としてはvalid in place (P3005)の方が適切だと思われる。
Title | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
country | P17 | Item | country: sovereign state that this item is in (not to be used for human beings) | Wusung Radio Tower <country> People's Republic of China | - |
#title:all usages of P1114 statements qualified with P17
SELECT ?item ?itemLabel ?prop ?propLabel ?value ?qual ?qualLabel ?qual_value ?qual_valueLabel ?statement WHERE {
?item p:P1114 ?statement.
?statement ps:P1114 ?value;
pq:P17 ?qual_value.
BIND(wd:P1114 AS ?prop)
BIND(wd:P17 AS ?qual)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
- 軍事作戦の結果授与された記章の該当国
Operation Python (Q3533435)=>1 (Sitara-e-Jurat (Q7531675)): country (P17):Pakistan (Q843)- すごく変。たとえばhas effect (P1542)とかをつかうべき?これもちょっと微妙だけども。
- ゲームの記念バージョンの販売数
Title | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
has characteristic | P1552 | Item | quality: inherent or distinguishing quality or feature of the entity. Use a more specific property when possible | human <has characteristic> gender | - |
#title:all usages of P1114 statements qualified with P1552
SELECT ?item ?itemLabel ?prop ?propLabel ?value ?qual ?qualLabel ?qual_value ?qual_valueLabel ?statement WHERE {
?item p:P1114 ?statement.
?statement ps:P1114 ?value;
pq:P1552 ?qual_value.
BIND(wd:P1114 AS ?prop)
BIND(wd:P1552 AS ?qual)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
- 該当する特性を持つインスタンスの数
- International Docking Adapter (Q22080327)=>1: has characteristic (P1552):demolished or destroyed (Q56556915)。ISSで使われるドッキング装置の数。state of use (P5817)で修飾するというアイデアもあり得る。
- インスタンスの数という文の持つ特性
- インスタンスの数ではない
To Share Our Love (Q7811115)=>4 (guitar (Q6607)): has characteristic (P1552):mute (Q941882)。楽曲で使われている楽器の数?弱音器は謎。すくなくともinstrumentation (P870) + quantity (P1114)で表現する。
その他
editInternational Ideographs Core (Q10927426)quantity (P1114)9,810 CJK unified ideograph- 文字集合に含まれる文字数。has part(s) of the class (P2670)CJK unified ideograph (Q796156)
quantity (P1114)9,810で表現する。
- 文字集合に含まれる文字数。has part(s) of the class (P2670)CJK unified ideograph (Q796156)
Avro Vulcan (Q218931)quantity (P1114)19has list (P2354)list of surviving Avro Vulcans (Q23808408) - 戦闘機の現存数。has list (P2354)ではなくstatement is subject of (P805)で修飾する。ちょっと微妙かな。
Q1573643quantity (P1114)50,578location (P276)Japan (Q17) - 国別の受刑者数。location (P276)ではなくvalid in place (P3005)で修飾する。
COVID-19 related donations (Q88542183)quantity (P1114)10,000,000 Eurodonated by (P1028)Agnelli family (Q21055394) destination point (P1444)Italy (Q38) announcement date (P6949)2020-03-18 - 寄付額。額はdonations (P8093)で表現すべき。仮に受領者をaddressee (P1817)でmain statementとしたが微妙なところ。
Q1619647quantity (P1114)unknown valueminimum value (P2313)6 - 列車の編成数。少なくともminimum value (P2313)は間違っている。実際の記載からはQ1619647quantity (P1114)6
point in time (P585)1990のようだ。
- 列車の編成数。少なくともminimum value (P2313)は間違っている。実際の記載からはQ1619647quantity (P1114)6
A series of portraits in a laurel wreath (Q105638619)quantity (P1114)unknown valuegreater than (P5135)126 (Q223661) - 一連の肖像画。数はhas part(s) of the class (P2670):portrait (Q134307) + quantity (P1114)で表現する。greater than (P5135)は項目間の大小関係に用いるプロパティで、数の大小には使えない。
China-South Korea currency swap agreement (Q39237589)quantity (P1114)360,000,000,000 renminbiissued by (P2378)People's Bank of China (Q249203) - 協定の限度額。額はbudget (P2769)で表現する。issued by (P2378)はすでにあるparticipant (P710)で十分。
Andorrans (Q2146321)quantity (P1114)6,000sourcing circumstances (P1480)circa (Q5727902) - 民族の人口。population (P1082)に移動。
Q4070982quantity (P1114)8,000sourcing circumstances (P1480)circa (Q5727902) - 新聞の部数?total produced (P1092)に移動。
Photographes en Rhône-Alpes (Q113727364)quantity (P1114)88,508sourcing circumstances (P1480)circa (Q5727902) - 写真サイトの写真数?number of records (P4876)に移動。
Inscription Painter (Q3905866)quantity (P1114)50 vasesourcing circumstances (P1480)circa (Q5727902) - 不詳作家の作品数。notable work (P800)vase (Q191851)
quantity (P1114)50で表現する。
- 不詳作家の作品数。notable work (P800)vase (Q191851)
Chalkidian pottery (Q785498)quantity (P1114)600 vasesourcing circumstances (P1480)circa (Q5727902) - 作陶様式に属する作品数。has part(s) of the class (P2670)vase (Q191851)
quantity (P1114)600で表現する。
- 作陶様式に属する作品数。has part(s) of the class (P2670)vase (Q191851)
Sainte-Onenne church of Tréhorenteuc (mosaics) (Q120689304)quantity (P1114)180,000 tesserasourcing circumstances (P1480)estimation (Q791801) - モザイク画を構成する陶片数。has part(s) of the class (P2670)tessera (Q2484793)
quantity (P1114)180,000で表現する。
- モザイク画を構成する陶片数。has part(s) of the class (P2670)tessera (Q2484793)
Sainte-Onenne church of Tréhorenteuc (mosaics) (Q120689304)quantity (P1114)17 color- モザイク画を構成する陶片の色数。made from material (P186)tessera (Q2484793)
quantity (P1114)17 colorとした。微妙。
- モザイク画を構成する陶片の色数。made from material (P186)tessera (Q2484793)
as qualifier
edit修飾子としてquantity (P1114)を使っているプロパティの統計:
#title:List of properties qualified with P1114
SELECT ?prop ?propLabel ?count ?sample WHERE {
{
SELECT ?prop (COUNT(DISTINCT ?item) AS ?count) (SAMPLE(?st) AS ?sample) WHERE {
hint:Query hint:optimizer "None".
?st pq:P1114 ?val.
?item ?p ?st.
?prop wikibase:claim ?p.
}
GROUP BY ?prop
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "ja,en". }
}
ORDER BY DESC (?count) (?propLabel)
quantity (P1114)で修飾されているhas part(s) (P527)の値:
#title:P527 statements qualified with P1114
SELECT ?obj ?objLabel ?count ?sample {
{
SELECT ?obj (COUNT(DISTINCT ?item) AS ?count) (SAMPLE(?st) AS ?sample) {
?item p:P527 ?st .
?st ps:P527 ?obj .
?st pq:P1114 ?val .
} GROUP BY ?obj
}.
SERVICE wikibase:label { bd:serviceParam wikibase:language "ja,en" }
}
ORDER BY DESC(?count) ASC(?objLabel)
quantity (P1114)で修飾されているhas part(s) of the class (P2670)の値:
#title:P2670 statements qualified with P1114
SELECT ?obj ?objLabel ?count ?sample {
{
SELECT ?obj (COUNT(DISTINCT ?item) AS ?count) (SAMPLE(?st) AS ?sample) {
?item p:P2670 ?st .
?st ps:P2670 ?obj .
?st pq:P1114 ?val .
} GROUP BY ?obj
}.
SERVICE wikibase:label { bd:serviceParam wikibase:language "ja,en" }
}
ORDER BY DESC(?count) ASC(?objLabel)
as reference
edit出典としてquantity (P1114)を使っているステートメントの一覧:
#title:List of statements with references having P1114
SELECT ?st ?prop ?propLabel ?val WHERE {
hint:Query hint:optimizer "None".
?refnode pr:P1114 ?val.
?st prov:wasDerivedFrom ?refnode .
BIND(wd:P1114 AS ?prop)
SERVICE wikibase:label { bd:serviceParam wikibase:language "ja,en". }
}
関連プロパティ
edit項目間の比較のためのプロパティ。2つの項目間に何らかの大小関係があるときに、その2者を結びつける。大小関係のあるパラメータをcriterion used (P1013)で修飾して示す。ただし、修飾子として使える局面もあることはある。
Title | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
greater than | P5135 | Item | greater than: instances of the item have a greater value than corresponding instances of the object, for the given measure | em dash <greater than> en dash | less than |
less than | P5136 | Item | less than: instances of the item have a lesser value than corresponding instances of the object, for the given measure | aerostat <less than> air | greater than |
もともとはreference value (P5446)で「範囲」型を実現するためのギミックとして提唱されているが、数量型のプロパティの最大値最小値を表現する修飾子だと一般化して考える事はできそう。
Title | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
lower limit | P5447 | Quantity | lower limit of a range or an interval; (qualifier) used with a dummy value which specifies the type of the range or interval | red blood cell count <lower limit> 4.35 trillion cells per litre | - |
upper limit | P5448 | Quantity | upper limit of a range or an interval; (qualifier) used with a dummy value which specifies the type of the range or interval | red blood cell count <upper limit> 5.55 trillion cells per litre | - |
プロパティ制約のための修飾子であり、Wikibase item (Q29934200)には使用できない。
Title | ID | Data type | Description | Examples | Inverse |
---|---|---|---|---|---|
maximum value | P2312 | Quantity | maximum: qualifier to define a property constraint in combination with P2302. "no value" can be used to specify no upper bound | range constraint <maximum value> 1,234 | - |
minimum value | P2313 | Quantity | minimum: qualifier to define a property constraint in combination with P2302 | range constraint <minimum value> 0 | - |
quantity (P1114) + statement is subject of (P805)=>class (Q18204)を、has part(s) of the class (P2670)=>class (Q18204) + quantity (P1114)に移行したい。
共起する全てのプロパティ:
#title:Qualifier and reference properies used in P1114 statements qualified with P805:Q18204
SELECT ?prop ?propLabel ?count ?sample {
{
SELECT ?prop (COUNT(DISTINCT ?item) AS ?count) (SAMPLE(?st) AS ?sample) {
?item p:P1114 ?st .
?st pq:P805 wd:Q18204 .
{
?st ?pq ?pq_val .
?prop wikibase:qualifier ?pq .
} UNION {
?st prov:wasDerivedFrom ?refnode .
?refnode ?pr ?pr_val .
?prop wikibase:reference ?pr .
}
} GROUP BY ?prop
}.
SERVICE wikibase:label { bd:serviceParam wikibase:language "ja,en" }
}
ORDER BY DESC(?count) ASC(?propLabel)
quantity (P1114) + of (P642)=>Combined Charging System Type 2 connector (Q66024992),CHAdeMO connector (Q66024981),Type 2 connector (Q2335519),Schuko (Q1123613)を、connector (P2935) + quantity (P1114)に移行したい。
共起する全てのプロパティ:
#title:Qualifier and reference properies used in P1114 statements for class Q2140665 qualified by P642 with class Q2119531
SELECT ?prop ?propLabel ?count ?sample {
{
SELECT ?prop (COUNT(DISTINCT ?item) AS ?count) (SAMPLE(?st) AS ?sample) {
?item wdt:P279 wd:Q2140665 .
?item p:P1114 ?st .
?st pq:P642 ?obj .
?obj wdt:P279+ wd:Q2119531 .
{
?st ?pq ?pq_val .
?prop wikibase:qualifier ?pq .
} UNION {
?st prov:wasDerivedFrom ?refnode .
?refnode ?pr ?pr_val .
?prop wikibase:reference ?pr .
}
} GROUP BY ?prop
}.
SERVICE wikibase:label { bd:serviceParam wikibase:language "ja,en" }
}
ORDER BY DESC(?count) ASC(?propLabel)