Note that when a blacklist is supplied, a field name is also needed, otherwise the call returns nothing.
Article
Code
Result
Peskovnik
Živalska farma (Q1396889)
{{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |osd=no}}
George Orwell
George Orwell
Živalska farma (Q1396889)
{{#invoke:WikidataIB |getValue |qid=Q1396889 |P50 |fwd=ALL |osd=yes}}
George Orwell
George Orwell
Živalska farma (Q1396889)
{{#invoke:WikidataIB |getValue |qid=Q1396889 |P166 |fwd=ALL |osd=no}}
retrospektivna nagrada hugo za najboljšo novelo, Modern Library 100 Best Novels, najboljših 100 znanstvenofantastičnih in fantazijskih knjig NPR, nagrada Prometheus – hram slavnih
retrospektivna nagrada hugo za najboljšo novelo, Modern Library 100 Best Novels, najboljših 100 znanstvenofantastičnih in fantazijskih knjig NPR, nagrada Prometheus – hram slavnih
Živalska farma (Q1396889)
{{#invoke:WikidataIB |getValue |qid=Q1396889 |P166 |fwd=ALL |osd=yes}}
retrospektivna nagrada hugo za najboljšo novelo
retrospektivna nagrada hugo za najboljšo novelo
Živalska farma (Q1396889)
{{#invoke:WikidataIB |getValue |qid=Q1396889 |P166 |fwd=ALL |osd=}}
retrospektivna nagrada hugo za najboljšo novelo
retrospektivna nagrada hugo za najboljšo novelo
Article
Code
Result
Peskovnik
Mark Antonij (Q357585)
{{#invoke:WikidataIB |getValue |qid=Q357585 |P569 |fwd=ALL |osd=no}}
2. stoletje pr. n. št.
2. stoletje pr. n. št.
Mark Antonij (Q51673)
{{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no}}
14. januar 83 pr. n. št., 83 pr. n. št.
14. januar 83 pr. n. št., 83 pr. n. št.
Mark Antonij (Q51673)
{{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |bc=BC}}
14. januar 83 pr. n. št., 83 pr. n. št.
14. januar 83 pr. n. št., 83 pr. n. št.
Mark Antonij (Q51673)
{{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |bc=BCE}}
14. januar 83 pr. n. št., 83 pr. n. št.
14. januar 83 pr. n. št., 83 pr. n. št.
Mark Antonij (Q51673)
{{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |df=mdy}}
14. januar 83 pr. n. št., 83 pr. n. št.
14. januar 83 pr. n. št., 83 pr. n. št.
Mark Antonij (Q51673)
{{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |df=y}}
83 pr. n. št., 83 pr. n. št.
83 pr. n. št., 83 pr. n. št.
Mark Antonij (Q51673)
{{#invoke:WikidataIB |getValue |qid=Q51673 |P569 |fwd=ALL |osd=no |lang=fr}}
14 janvier 83 av. J.-C., 83 av. J.-C.
14 janvier 83 av. J.-C., 83 av. J.-C.
Richard Burton (Q151973)
{{#invoke:WikidataIB |getValue |qid=Q151973 |P569 |fwd=ALL |osd=no}}
10. november 1925
10. november 1925
Richard Burton (Q151973)
{{#invoke:WikidataIB |getValue |qid=Q151973 |P569 |fwd=ALL |osd=no |bc=BC}}
10. november 1925
10. november 1925
Richard Burton (Q151973)
{{#invoke:WikidataIB |getValue |qid=Q151973 |P569 |fwd=ALL |osd=no |df=mdy}}
10. november 1925
10. november 1925
Richard Burton (Q151973)
{{#invoke:WikidataIB |getValue |qid=Q151973 |P569 |fwd=ALL |osd=no |df=y}}
1925
1925
Filip Arabec (Q1817)
{{#invoke:WikidataIB |getValue |qid=Q1817 |P569 |fwd=ALL |osd=no}}
Napaka Lua v Modul:I18n/complex_date v vrstici 36: assign to undeclared variable 'yearCase'.
Napaka Lua v Modul:I18n/complex_date/peskovnik v vrstici 36: assign to undeclared variable 'yearCase'.
Filip Arabec (Q1817)
{{#invoke:WikidataIB |getValue |qid=Q1817 |P569 |fwd=ALL |osd=no |pd=yes}}
204
204
Filip Arabec (Q1817)
{{#invoke:WikidataIB |getValue |qid=Q1817 |P570 |fwd=ALL |osd=no}}
249, september 249, oktober 249
249, september 249, oktober 249
Earliest and latest date as qualifiers[ uredi kodo ]
Article
Code
Result
Peskovnik
Fred W. Wright (Q61714940)
{{#invoke:WikidataIB |getValue |ps=1 |P570 |qid=Q61714940}}
20. stoletje
20. stoletje
Fred W. Wright (Q61714940)
{{#invoke:WikidataIB |getValue |ps=1 |P570 |qid=Q61714940 |qual=ALL}}
Napaka Lua v Modul:I18n/complex_date v vrstici 36: assign to undeclared variable 'yearCase'.
Napaka Lua v Modul:I18n/complex_date/peskovnik v vrstici 36: assign to undeclared variable 'yearCase'.
Jan I Carondelet (Q1786)
{{#invoke:WikidataIB |getValue |ps=1 |P569 |qid=Q1786}}
1428
1428
Jan I Carondelet (Q1786)
{{#invoke:WikidataIB |getValue |ps=1 |P569 |qid=Q1786 |qual=ALL}}
Napaka Lua v Modul:I18n/complex_date v vrstici 36: assign to undeclared variable 'yearCase'.
Napaka Lua v Modul:I18n/complex_date/peskovnik v vrstici 36: assign to undeclared variable 'yearCase'.
Gaj Julij Cezar (Q1048)
{{#invoke:WikidataIB |getValue |ps=1 |P569 |qid=Q1048}}
julij 100 pr. n. št.
julij 100 pr. n. št.
Gaj Julij Cezar (Q1048)
{{#invoke:WikidataIB |getValue |ps=1 |P569 |qid=Q1048 |qual=ALL}}
Napaka Lua v Modul:I18n/complex_date v vrstici 36: assign to undeclared variable 'yearCase'.
Napaka Lua v Modul:I18n/complex_date/peskovnik v vrstici 36: assign to undeclared variable 'yearCase'.
industrijska revolucija (Q2269)
{{#invoke:WikidataIB |getValue |ps=1 |P582 |qid=Q2269}}
1820
1820
industrijska revolucija (Q2269)
{{#invoke:WikidataIB |getValue |ps=1 |P582 |qid=Q2269 |qual=ALL}}
Napaka Lua v Modul:I18n/complex_date v vrstici 36: assign to undeclared variable 'yearCase'.
Napaka Lua v Modul:I18n/complex_date/peskovnik v vrstici 36: assign to undeclared variable 'yearCase'.
industrijska revolucija (Q2269)
{{#invoke:WikidataIB |getValue |ps=1 |P582 |qid=Q2269 |lang=fr |qual=ALL}}
1820 (avant 1840, après 1820)
1820 (avant 1840, après 1820)
industrijska revolucija (Q2269)
{{#invoke:WikidataIB |getValue |ps=1 |P582 |qid=Q2269 |lang=zh |qual=ALL}}
1820年 (在1840年之前, 在1820年之后)
1820年 (在1840年之前, 在1820年之后)
Francija (Q142)
{{#invoke:WikidataIB |getValue |fwd=ALL |osd=n |P610 |qid=Q142 |list=ubl}}
Francija (Q142)
{{#invoke:WikidataIB |getValue |fwd=ALL |osd=n |P610 |qid=Q142 |list=ubl |qual=ALL}}
Napaka Lua v Modul:I18n/complex_date v vrstici 36: assign to undeclared variable 'yearCase'.
Napaka Lua v Modul:I18n/complex_date/peskovnik v vrstici 36: assign to undeclared variable 'yearCase'.
poklic (P106)
Article
Code
Result
Peskovnik
Douglas Adams (Q42)
{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no}}
Douglas Adams (Q42)
{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=}}
Douglas Adams (Q42)
{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |locally supplied value}}
locally supplied value
locally supplied value
Douglas Adams (Q42)
{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |2=locally supplied value}}
locally supplied value
Douglas Adams (Q42)
{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |}}
dramatik, scenarist , romanopisec, otroški pisatelj, pisatelj znanstvene fantastike, komik , pisatelj , glasbenik
dramatik, scenarist , romanopisec, otroški pisatelj, pisatelj znanstvene fantastike, komik , pisatelj , glasbenik
Douglas Adams (Q42)
{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |2=}}
dramatik, scenarist , romanopisec, otroški pisatelj, pisatelj znanstvene fantastike, komik , pisatelj , glasbenik
dramatik, scenarist , romanopisec, otroški pisatelj, pisatelj znanstvene fantastike, komik , pisatelj , glasbenik
Douglas Adams (Q42)
{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42}}
dramatik, scenarist , romanopisec, otroški pisatelj, pisatelj znanstvene fantastike, komik , pisatelj , glasbenik
dramatik, scenarist , romanopisec, otroški pisatelj, pisatelj znanstvene fantastike, komik , pisatelj , glasbenik
Douglas Adams (Q42)
{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |maxvals=1}}
dramatik
dramatik
Douglas Adams (Q42)
{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |maxvals=4}}
dramatik, scenarist , romanopisec, otroški pisatelj
dramatik, scenarist , romanopisec, otroški pisatelj
Douglas Adams (Q42)
{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |maxvals=99}}
dramatik, scenarist , romanopisec, otroški pisatelj, pisatelj znanstvene fantastike, komik , pisatelj , glasbenik
dramatik, scenarist , romanopisec, otroški pisatelj, pisatelj znanstvene fantastike, komik , pisatelj , glasbenik
Douglas Adams (Q42)
{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=no |qid=Q42 |maxvals=0}}
dramatik, scenarist , romanopisec, otroški pisatelj, pisatelj znanstvene fantastike, komik , pisatelj , glasbenik
dramatik, scenarist , romanopisec, otroški pisatelj, pisatelj znanstvene fantastike, komik , pisatelj , glasbenik
Douglas Adams (Q42)
{{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |onlysourced=yes |qid=Q42 |maxvals=0}}
scenarist , romanopisec, pisatelj znanstvene fantastike, pisatelj , glasbenik
scenarist , romanopisec, pisatelj znanstvene fantastike, pisatelj , glasbenik
površina (P2046) , nadmorska višina (P2044)
Article
Code
Result
Peskovnik
Birmingham (Q2256)
{{#invoke:WikidataIB |getValue |P2046 |qid=Q2256 |fwd=ALL |osd=no}}
267,77 ±0.01 kvadratni kilometer
267,77 ±0.01 kvadratni kilometer
Birmingham (Q2256)
{{#invoke:WikidataIB |getValue |P2046 |qid=Q2256 |fwd=ALL |osd=no |unitabbr=yes}}
267,77 ±0.01 km²
267,77 ±0.01 km²
Birmingham (Q2256)
{{#invoke:WikidataIB |getValue |P2046 |qid=Q2256 |fwd=ALL |osd=no |unitabbr=yes |conv=y}}
26.776 do 26.778 km2 (10.338 do 10.339 sq mi)
26.776 do 26.778 km2 (10.338 do 10.339 sq mi)
Capitancillo (Q18208369)
{{#invoke:WikidataIB |getValue |qid=Q18208369 |P2044 |ps=1 |uabbr=y |conv=y}}
45 m (148 ft)
45 m (148 ft)
1970 Mount Everest disaster (Q4574072)
{{#invoke:WikidataIB |getValue |qid=Q4574072 |P2044 |ps=1 |uabbr=y |conv=y}}
8.848 m (29.029 ft)
8.848 m (29.029 ft)
Mednarodna vesoljska postaja (Q25271)
{{#invoke:WikidataIB |getValue |qid=Q25271 |P2044 |ps=1 |uabbr=y |conv=y}}
Article
Code
Result
Peskovnik
Douglas Adams (Q42)
{{#invoke:WikidataIB |getValue |P106 |fwd=ALL |osd=no |qid=Q42}}
dramatik, scenarist , romanopisec, otroški pisatelj, pisatelj znanstvene fantastike, komik , pisatelj , glasbenik
Douglas Adams (Q42)
{{#invoke:WikidataIB |getValue |P106 |fwd=ALL |osd=no |qid=Q42 |sep=" – "}}
dramatik – scenarist – romanopisec – otroški pisatelj – pisatelj znanstvene fantastike – komik – pisatelj – glasbenik
Douglas Adams (Q42)
{{#invoke:WikidataIB |getValue |P106 |fwd=ALL |osd=no |qid=Q42 |list=hlist}}
Douglas Adams (Q42)
{{#invoke:WikidataIB |getValue |P106 |fwd=ALL |osd=no |qid=Q42 |list=ubl}}
Douglas Adams (Q42)
{{#invoke:WikidataIB |getValue |P106 |fwd=ALL |osd=no |qid=Q42 |list=prose}}
dramatik, scenarist , romanopisec, otroški pisatelj, pisatelj znanstvene fantastike, komik , pisatelj in glasbenik
glavno mesto od (P1376) for Ženeva (Q71)
Qualifiers: čas začetka (P580) and čas konca (P582)
Code
Result
Peskovnik
{{#invoke:WikidataIB |getValue |P1376 |fwd=ALL |osd=no |qid=Q71}}
Kanton Ženeva , Léman, Republika Ženeva, Republika Ženeva
{{#invoke:WikidataIB |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=P580}}
Kanton Ženeva (1815–), Léman (1798–), Republika Ženeva (1534–), Republika Ženeva (1813–)
{{#invoke:WikidataIB |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=P582}}
Kanton Ženeva , Léman (–1813), Republika Ženeva (–1798), Republika Ženeva (–1815)
{{#invoke:WikidataIB |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=P1326}}
Kanton Ženeva , Léman, Republika Ženeva, Republika Ženeva
{{#invoke:WikidataIB |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=DATES}}
Kanton Ženeva (1815–), Léman (1798–1813), Republika Ženeva (1534–1798), Republika Ženeva (1813–1815)
{{#invoke:WikidataIB |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=ALL}}
Kanton Ženeva (1815–), Léman (1798–1813), Republika Ženeva (1534–1798), Republika Ženeva (1813–1815)
{{#invoke:WikidataIB |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=ALL |sep=" or " |qsep=" to "}}
Kanton Ženeva (1815–) or Léman (1798–1813) or Republika Ženeva (1534–1798) or Republika Ženeva (1813–1815)
glavno mesto (P36) for Francija (Q142)
Code
Result
Peskovnik
{{#invoke:WikidataIB |getValue |P36 |fwd=ALL |osd=no |qid=Q142 |qual=DATES |list=ubl}}
najvišji vrh (P610) for Francija (Q142)
Qualifiers: najpoznejši datum (P1326) is handled to include "before "
Code
Result
Peskovnik
{{#invoke:WikidataIB |getValue |P610 |fwd=ALL |osd=no |qid=Q142}}
Mont Blanc , Barre des Écrins
{{#invoke:WikidataIB |getValue |P610 |fwd=ALL |osd=no |qid=Q142 |qual=DATES}}
Mont Blanc (1860–), Barre des Écrins
{{#invoke:WikidataIB |getValue |P610 |fwd=ALL |osd=no |qid=Q142 |qual=P1326}}
Napaka Lua v Modul:I18n/complex_date v vrstici 36: assign to undeclared variable 'yearCase'.
{{#invoke:WikidataIB |getValue |P610 |fwd=ALL |osd=no |qid=Q142 |qual=P1326 |list=hlist}}
Napaka Lua v Modul:I18n/complex_date v vrstici 36: assign to undeclared variable 'yearCase'.
nominalni BDP (P2131) for Združene države Amerike (Q30) and Nemčija (Q183)
Code
Result
Peskovnik
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n}}
23.315.080.560.000 ameriški dolar, 25.462.700.000.000 ameriški dolar
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |uabbr=y}}
$23.315.080.560.000, $25.462.700.000.000
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=3}}}
23.315.080.560 tisoč ameriški dolar, 25.462.700.000 tisoč ameriški dolar
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=3 |uabbr=y}}}
$23.315.080.560 tisoč, $25.462.700.000 tisoč
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=6}}}
23.315.081 milijon ameriški dolar, 25.462.700 milijon ameriški dolar
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=6 |uabbr=y}}}
$23.315.081 milijon, $25.462.700 milijon
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=9}}}
23.315 milijarda ameriški dolar, 25.463 milijarda ameriški dolar
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=9 |uabbr=y}}}
$23.315 milijarda, $25.463 milijarda
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=12}}}
23,32 bilijarda ameriški dolar, 25,46 bilijarda ameriški dolar
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=12 |uabbr=y}}}
$23,32 bilijarda, $25,46 bilijarda
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=}}}
23.315.080.560.000 ameriški dolar, 25.462.700.000.000 ameriški dolar
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale= |uabbr=y}}}
$23.315.080.560.000, $25.462.700.000.000
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=10}}}
23.315 milijarda ameriški dolar, 25.463 milijarda ameriški dolar
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=10 |uabbr=y}}}
$23.315 milijarda, $25.463 milijarda
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=-10}}}
23.315.080.560.000 ameriški dolar, 25.462.700.000.000 ameriški dolar
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=-10 |uabbr=y}}}
$23.315.080.560.000, $25.462.700.000.000
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=auto}}}
23.315 milijarda ameriški dolar, 25.463 milijarda ameriški dolar
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=A |uabbr=y}}}
$23.315 milijarda, $25.463 milijarda
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=auto}}}
23.315 milijarda ameriški dolar, 25.463 milijarda ameriški dolar
{{#invoke:WikidataIB |getValue |qid=Q30 |P2131 |rank=b |fwd=ALL |osd=n |scale=A |uabbr=y}}}
$23.315 milijarda, $25.463 milijarda
{{#invoke:WikidataIB |getValue |qid=Q183 |P2131 |rank=b |fwd=ALL |osd=n |scale=auto}}}
4.121 milijarda evro
{{#invoke:WikidataIB |getValue |qid=Q183 |P2131 |rank=b |fwd=ALL |osd=n |scale=A |uabbr=y}}}
4.121 milijarda €
Fetching the names of the ustvarjalec (P170) from Corisca and the Satyr (Q29016906) (one value preferred):
Code
Result
Peskovnik
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no}}
Artemisia Gentileschi , Aniella di Beltrano, Massimo Stanzione
{{#invoke:WikidataIB |getPreferredValue |P170 |fwd=ALL |qid=Q29016906 |osd=no}}
Artemisia Gentileschi
Using getValue only:
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=}}
Artemisia Gentileschi , Aniella di Beltrano, Massimo Stanzione
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=p}}
Artemisia Gentileschi
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=n}}
Aniella di Beltrano, Massimo Stanzione
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=b}}
Artemisia Gentileschi
{{#invoke:WikidataIB |getValue |P170 |fwd=ALL |qid=Q29016906 |osd=no |rank=x}}
Artemisia Gentileschi , Aniella di Beltrano, Massimo Stanzione
Fetching the values of motiv (P180) from Corisca and the Satyr (Q29016906) (no values preferred):
Code
Result
Peskovnik
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no}}
Corisca, satir , nimfa , lasulja
{{#invoke:WikidataIB |getPreferredValue |P180 |fwd=ALL |qid=Q29016906 |osd=no}}
Corisca, satir , nimfa , lasulja
Using getValue only:
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=}}
Corisca, satir , nimfa , lasulja
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=p}}
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=n}}
Corisca, satir , nimfa , lasulja
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=b}}
Corisca, satir , nimfa , lasulja
{{#invoke:WikidataIB |getValue |P180 |fwd=ALL |qid=Q29016906 |osd=no |rank=x}}
Corisca, satir , nimfa , lasulja
Using template – Fetching the names of the ustvarjalec (P170) from Corisca and the Satyr (Q29016906) (one value preferred):
Code
Result
Peskovnik
{{wdib |P170 |qid=Q29016906 |fwd=ALL |osd=no}}
Artemisia Gentileschi , Aniella di Beltrano, Massimo Stanzione
{{wdib |P170 |qid=Q29016906 |fwd=ALL |osd=no |rank=p}}
Artemisia Gentileschi
{{wdib |P170 |qid=Q29016906 |fwd=ALL |osd=no |rank=n}}
Aniella di Beltrano, Massimo Stanzione
{{wdib |P170 |qid=Q29016906 |fwd=ALL |osd=no |rank=best}}
Artemisia Gentileschi
{{wdib |P170 |qid=Q29016906 |fwd=ALL |osd=no |rank=xyz}}
Artemisia Gentileschi , Aniella di Beltrano, Massimo Stanzione
Date precision is month
In Teleskop Južnega pola (Q1513315) : property pomemben dogodek (P793) equal to gradnja (Q385378) has a čas začetka (P580) qualifier
Code
Result
Peskovnik
{{#invoke:WikidataIB |getQualifierValue |P793 |pval=Q385378 |qual=P580 |fwd=ALL |qid=Q1513315}}
november 2006
{{#invoke:WikidataIB |getQualifierValue |P793 |pval=Q385378 |qual=P580 |fwd=ALL |qid=Q1513315 |osd=no}}
november 2006
Date precision is day
In Richard Burton (Q151973) : property zakonec (P26) equal to Sally Burton (Q3469983) has a čas začetka (P580) qualifier
Code
Result
Peskovnik
{{#invoke:WikidataIB |getQualifierValue |P26 |pval=Q3469983 |qual=P580 |fwd=ALL |qid=Q151973}}
{{#invoke:WikidataIB |getQualifierValue |P26 |pval=Q3469983 |qual=P580 |fwd=ALL |qid=Q151973 |osd=no}}
3. julij 1983
{{#invoke:WikidataIB |getQualifierValue |P26 |pval=Q3469983 |qual=P580 |fwd=ALL |qid=Q151973 |osd=no |df=mdy}}
3. julij 1983
Multiple date values
In Richard Burton (Q151973) : property zakonec (P26) equal to Elizabeth Taylor (Q34851) has čas začetka (P580) qualifiers
Code
Result
Peskovnik
{{#invoke:WikidataIB |getQualifierValue |P26 |pval=Q34851 |qual=P580 |fwd=ALL |qid=Q151973}}
15. marec 1964
{{#invoke:WikidataIB |getQualifierValue |P26 |pval=Q34851 |qual=P580 |fwd=ALL |qid=Q151973 |osd=no}}
15. marec 1964, 10. oktober 1975
{{#invoke:WikidataIB |getQualifierValue |P26 |pval=Q34851 |qual=P580 |fwd=ALL |qid=Q151973 |osd=no |df=mdy}}
15. marec 1964, 10. oktober 1975
Qualifier value is an article
In Teleskop Južnega pola (Q1513315) : property ima dele razreda (P2670) equal to montaža teleskopa (Q1205231) has an primerek od (P31) qualifier
Code
Result
Peskovnik
{{#invoke:WikidataIB |getQualifierValue |P2670 |pval=Q1205231 |qual=P31 |fwd=ALL |qid=Q1513315}}
altazimutalna montaža
{{#invoke:WikidataIB |getQualifierValue |P2670 |pval=Q1205231 |qual=P31 |fwd=ALL |qid=Q1513315 |osd=no}}
altazimutalna montaža
In meso (Q10990) , the value of the property posnetek z izgovarjavo (P443) which has qualifier jezik dela (P407) equal to britanska angleščina (Q7979) is:
{{#invoke:WikidataIB |getValueByQual |qid=Q10990 |P443 |qualID=P407 |qvalue=Q7979 |fwd=ALL |osd=no |noicon=true}}
In meso (Q10990) , the value of the property posnetek z izgovarjavo (P443) which has the fixed qualifier "language of work or name " equal to a given language code (or default) is:
{{#invoke:WikidataIB |getValueByLang |qid=Q10990 |P443 |fwd=ALL |osd=no |noicon=true}}
{{#invoke:WikidataIB |getValueByLang |qid=Q10990 |P443 |fwd=ALL |osd=no |noicon=true |lang=sv}}
{{#invoke:WikidataIB |getValueByLang |qid=Q10990 |P443 |fwd=ALL |osd=no |noicon=true |lang=en}}
{{#invoke:WikidataIB |getValueByLang |qid=Q10990 |P443 |fwd=ALL |osd=no |noicon=true |lang=en-gb}}
{{#invoke:WikidataIB |getValueByLang |qid=Q10990 |P443 |fwd=ALL |osd=no |noicon=true |lang=en-us}}
Expensive call if using arbitrary access.
Expensive call if using arbitrary access.
Testing getAllAliases
tramadol (Q407592)
{{#invoke:WikidataIB |getAllAliases}}
tramadol (Q407592)
{{#invoke:WikidataIB |getAllAliases |qid=}}
tramadol (Q407592)
{{#invoke:WikidataIB |getAllAliases |qid=Q407592}}
(±)-tramadol (nn); (R,R)-tramadol, (+)-trans-2-(dimethylaminomethyl)-1-(m-methoxyphenyl)cyclohexanol, (+)-tramadol (cy); טרמל, זאלדיאר, טרמדקס (he); (+)-trans-2-(dimethylaminomethyl)-1-(m-methoxyphenyl)cyclohexanol, (+)-tramadol, 2-[(dimethylamino)methyl]-1-(3-methoxyphenyl)cyclohexan-1-ol, (R,R)-tramadol (en); (+)-Tramadol, (R,R)-tramadol (eu); 曲馬多, 曲马朵, 特拉嗎竇 (zh); ترمدول (ar)
Expensive call if using arbitrary access.
Testing getAllLabels
tramadol (Q407592)
{{#invoke:WikidataIB |getAllLabels}}
tramadol (Q407592)
{{#invoke:WikidataIB |getAllLabels |qid=}}
tramadol (Q407592)
{{#invoke:WikidataIB |getAllLabels |qid=Q407592}}
tramadol (es); tramadol (hu); tramadol (eu); ٹرامادول (ks); Tramadol (ast); трамадол (ru); Tramadol (de); ترامادول (fa); трамадол (bg); tramadol (da); Tramadol (tr); 曲馬多 (zh-hk); Tramadol (ha); Tramadol (sv); Трамадол (uk); טרמדול (he); 曲马多 (zh-hans); 曲馬多 (zh-hant); 曲马多 (zh-cn); tramadol (ro); tramadoli (fi); 曲马多 (zh); トラマドール (ja); Трамадол (mk); tramadol (pt); tramadolo (it); ترامادول (arz); tramadol (fr); tramadol (ca); tramadool (et); 曲馬多 (zh-tw); 트라마돌 (ko); (R,R)-tramadol (pl); ทรามาดอล (th); tramadol (sk); ଟ୍ରାମାଡଲ (or); Tramadol (vi); ترامادول (mzn); tramadol (cy); Tramadol (sh); трамадол (sr); tramadol (sl); ترامادول (azb); Tramadol (sr-el); 曲马多 (zh-sg); tramadol (id); tramadol (nn); ട്രമാഡോൾ (ml); tramadol (nl); Τραμαδόλη (el); Трамадол (sah); Tramadol (uz); Трамадол (sr-ec); tramadol (en); ترامادول (ar); Tramadoło (vec); tramadol (cs)
Expensive call if using arbitrary access.
Testing getAllDescriptions
tramadol (Q407592)
{{#invoke:WikidataIB |getAllDescriptions}}
tramadol (Q407592)
{{#invoke:WikidataIB |getAllDescriptions |qid=}}
tramadol (Q407592)
{{#invoke:WikidataIB |getAllDescriptions |qid=Q407592}}
analgésico opioide (es); opioid, kábító fájdalomcsillapító (hu); konposatu kimiko (eu); کیٖمیٲیی مُرَکَب (ks); compuestu químicu (ast); compost químic (ca); chemische Verbindung (de-ch); organische Verbindung, Opioid, Arzneistoff, Analgetikum (de); chemical compound (en-gb); داروی ضددرد و مخدر (fa); 鸦片类药物,用作镇痛药 (zh); kemisk forbindelse (da); compus chimic (ro); chemická zlúčenina (sk); component quimic (oc); compositum chemicum (la); 鸦片类药物,用作镇痛药 (zh-cn); kemiallinen yhdiste (fi); kemia kombinaĵo (eo); chemická sloučenina (cs); compuesto quimico (an); রাসায়নিক যৌগ (bn); composé chimique (fr); composto químico (gl); 鸦片类药物,用作镇痛药 (zh-hans); քիմիական միացություն (hy); composto químico e medicamento opioide (pt); kemisk förening (sv); ķīmisks savienojums (lv); chemiese verbinding (af); תרכובת (he); pharmaceutical drug (en); komponim kimik (sq); composto químico (pt-br); composto chimico (it); cheemesch Verbindung (lb); związek chemiczny (pl); kjemisk forbindelse (nb); chemische verbinding (nl); senyawa kimia (id); kjemisk sambinding (nn); chemical compound (en-ca); ମଧ୍ୟମ ଓ ସାଂଘାତିକ ଯନ୍ତ୍ରଣା ନିବାରକ ଔଷଧ (or); pharmaceutical drug (en); مركب كيميائي (ar); οπιοειδές αναλγητικό φάρμακο (el); 약물의 종류 (ko)
debugging
{{#invoke:WikidataIB |location}}
→
{{#invoke:WikidataIB |location |qid=Q1}}
→
{{#invoke:WikidataIB |location |debug=}}
→
{{#invoke:WikidataIB |location |debug= |qid=Q1}}
→
{{#invoke:WikidataIB |location |debug=y}}
→ Entiteta ni bila najdena.
{{#invoke:WikidataIB |location |debug=y |qid=Q1}}
→
Milton Keynes Dons F.C. (Q248188)
Milton Keynes, Borough of Milton Keynes, Buckinghamshire, Jugovzhodna Anglija, Anglija
Milton Keynes, Borough of Milton Keynes, Buckinghamshire, Jugovzhodna Anglija, Anglija
Milton Keynes Dons F.C., Milton Keynes, Borough of Milton Keynes, Buckinghamshire, Jugovzhodna Anglija, Anglija
Tadž Mahal (Q9141)
{{#invoke:WikidataIB |location |Q9141 |first=yes |skip=yes}}
→ Tadž Mahal , Indija
{{#invoke:WikidataIB |location |Q9141 |first=yes}}
→ Tadž Mahal , Utar Pradeš, Indija
But for the USA, we normally miss off the "US" part. So put it back and change Wikidata's "USA" to enwiki's "US" when skip is true.
Empire State Building (Q9188)
{{#invoke:WikidataIB |location |Q9188 |first=yes |skip=yes}}
→ Empire State Building , ZDA
{{#invoke:WikidataIB |location |Q9188 |first=yes}}
→ Empire State Building , Midtown Manhattan, Manhattan , New York , ZDA
For British locations, it would skip to Združeno kraljestvo (Q145) which is the first instance of država (Q6256) . Unfortunately Anglija (Q21) is not an instance of a country, but an instance of a konstitutivna dežela Združenega kraljestva (Q3336843) , according to Wikidata. So also test for Q3336843 when skip is true.
Milton Keynes Dons F.C. (Q248188)
{{#invoke:WikidataIB |location |Q248188 |first=y |skip=y}}
→ Milton Keynes Dons F.C., Anglija
{{#invoke:WikidataIB |location |Q248188 |first=y}}
→ Milton Keynes Dons F.C., Milton Keynes, Borough of Milton Keynes, Buckinghamshire, Jugovzhodna Anglija, Anglija
Some locations (like North Yorkshire (Q23086) ) have multiple values for je v (P131) . So check for qualifier nanaša se na del (P518) to pick the right one.
Selby (Q527846)
{{#invoke:WikidataIB |location |Q527846 |first=y |skip=y}}
→ Selby, Anglija
{{#invoke:WikidataIB |location |Q527846 |first=y}}
→ Selby, North Yorkshire, Anglija
Examining Živalska farma (Q1396889) slika (P18)
{{#invoke:WikidataIB |examine |pid=P18 |qid=Q1396889}}
→
table#1 {
table#2 {
["id"] = "Q1396889$152458fe-434e-a46e-299c-36f3ffdb2c6b",
["mainsnak"] = table#3 {
["datatype"] = "commonsMedia",
["datavalue"] = table#4 {
["type"] = "string",
["value"] = "Animal Farm - 1st edition.jpg",
},
["property"] = "P18",
["snaktype"] = "value",
},
["qualifiers"] = table#5 {
["P2096"] = table#6 {
table#7 {
["datatype"] = "monolingualtext",
["datavalue"] = table#8 {
["type"] = "monolingualtext",
["value"] = table#9 {
["language"] = "en",
["text"] = "First edition cover",
},
},
["hash"] = "719fdb5af8c9cf202f12c986beda9207ac699d04",
["property"] = "P2096",
["snaktype"] = "value",
},
table#10 {
["datatype"] = "monolingualtext",
["datavalue"] = table#11 {
["type"] = "monolingualtext",
["value"] = table#12 {
["language"] = "be",
["text"] = "Вокладка першага выдання, 1945 г.",
},
},
["hash"] = "9293fc3f943a84c3663df41728563a01e7ff6b43",
["property"] = "P2096",
["snaktype"] = "value",
},
},
},
["qualifiers-order"] = table#13 {
"P2096",
},
["rank"] = "normal",
["type"] = "statement",
},
}
{{#invoke:WikidataIB |examine |P18 |qid=Q1396889}}
→
table#1 {
table#2 {
["id"] = "Q1396889$152458fe-434e-a46e-299c-36f3ffdb2c6b",
["mainsnak"] = table#3 {
["datatype"] = "commonsMedia",
["datavalue"] = table#4 {
["type"] = "string",
["value"] = "Animal Farm - 1st edition.jpg",
},
["property"] = "P18",
["snaktype"] = "value",
},
["qualifiers"] = table#5 {
["P2096"] = table#6 {
table#7 {
["datatype"] = "monolingualtext",
["datavalue"] = table#8 {
["type"] = "monolingualtext",
["value"] = table#9 {
["language"] = "en",
["text"] = "First edition cover",
},
},
["hash"] = "719fdb5af8c9cf202f12c986beda9207ac699d04",
["property"] = "P2096",
["snaktype"] = "value",
},
table#10 {
["datatype"] = "monolingualtext",
["datavalue"] = table#11 {
["type"] = "monolingualtext",
["value"] = table#12 {
["language"] = "be",
["text"] = "Вокладка першага выдання, 1945 г.",
},
},
["hash"] = "9293fc3f943a84c3663df41728563a01e7ff6b43",
["property"] = "P2096",
["snaktype"] = "value",
},
},
},
["qualifiers-order"] = table#13 {
"P2096",
},
["rank"] = "normal",
["type"] = "statement",
},
}
{{#invoke:WikidataIB |examine |pid=P18 |Q1396889}}
→
table#1 {
table#2 {
["id"] = "Q1396889$152458fe-434e-a46e-299c-36f3ffdb2c6b",
["mainsnak"] = table#3 {
["datatype"] = "commonsMedia",
["datavalue"] = table#4 {
["type"] = "string",
["value"] = "Animal Farm - 1st edition.jpg",
},
["property"] = "P18",
["snaktype"] = "value",
},
["qualifiers"] = table#5 {
["P2096"] = table#6 {
table#7 {
["datatype"] = "monolingualtext",
["datavalue"] = table#8 {
["type"] = "monolingualtext",
["value"] = table#9 {
["language"] = "en",
["text"] = "First edition cover",
},
},
["hash"] = "719fdb5af8c9cf202f12c986beda9207ac699d04",
["property"] = "P2096",
["snaktype"] = "value",
},
table#10 {
["datatype"] = "monolingualtext",
["datavalue"] = table#11 {
["type"] = "monolingualtext",
["value"] = table#12 {
["language"] = "be",
["text"] = "Вокладка першага выдання, 1945 г.",
},
},
["hash"] = "9293fc3f943a84c3663df41728563a01e7ff6b43",
["property"] = "P2096",
["snaktype"] = "value",
},
},
},
["qualifiers-order"] = table#13 {
"P2096",
},
["rank"] = "normal",
["type"] = "statement",
},
}
{{#invoke:WikidataIB |examine |P18 |Q1396889}}
→
table#1 {
table#2 {
["id"] = "Q1396889$152458fe-434e-a46e-299c-36f3ffdb2c6b",
["mainsnak"] = table#3 {
["datatype"] = "commonsMedia",
["datavalue"] = table#4 {
["type"] = "string",
["value"] = "Animal Farm - 1st edition.jpg",
},
["property"] = "P18",
["snaktype"] = "value",
},
["qualifiers"] = table#5 {
["P2096"] = table#6 {
table#7 {
["datatype"] = "monolingualtext",
["datavalue"] = table#8 {
["type"] = "monolingualtext",
["value"] = table#9 {
["language"] = "en",
["text"] = "First edition cover",
},
},
["hash"] = "719fdb5af8c9cf202f12c986beda9207ac699d04",
["property"] = "P2096",
["snaktype"] = "value",
},
table#10 {
["datatype"] = "monolingualtext",
["datavalue"] = table#11 {
["type"] = "monolingualtext",
["value"] = table#12 {
["language"] = "be",
["text"] = "Вокладка першага выдання, 1945 г.",
},
},
["hash"] = "9293fc3f943a84c3663df41728563a01e7ff6b43",
["property"] = "P2096",
["snaktype"] = "value",
},
},
},
["qualifiers-order"] = table#13 {
"P2096",
},
["rank"] = "normal",
["type"] = "statement",
},
}
{{#invoke:WikidataIB |examine |Q1396889 |P18}}
→
table#1 {
table#2 {
["id"] = "Q1396889$152458fe-434e-a46e-299c-36f3ffdb2c6b",
["mainsnak"] = table#3 {
["datatype"] = "commonsMedia",
["datavalue"] = table#4 {
["type"] = "string",
["value"] = "Animal Farm - 1st edition.jpg",
},
["property"] = "P18",
["snaktype"] = "value",
},
["qualifiers"] = table#5 {
["P2096"] = table#6 {
table#7 {
["datatype"] = "monolingualtext",
["datavalue"] = table#8 {
["type"] = "monolingualtext",
["value"] = table#9 {
["language"] = "en",
["text"] = "First edition cover",
},
},
["hash"] = "719fdb5af8c9cf202f12c986beda9207ac699d04",
["property"] = "P2096",
["snaktype"] = "value",
},
table#10 {
["datatype"] = "monolingualtext",
["datavalue"] = table#11 {
["type"] = "monolingualtext",
["value"] = table#12 {
["language"] = "be",
["text"] = "Вокладка першага выдання, 1945 г.",
},
},
["hash"] = "9293fc3f943a84c3663df41728563a01e7ff6b43",
["property"] = "P2096",
["snaktype"] = "value",
},
},
},
["qualifiers-order"] = table#13 {
"P2096",
},
["rank"] = "normal",
["type"] = "statement",
},
}
Using wrapper template
{{examine|Q1396889 |P18}}
→
table#1 {
table#2 {
["id"] = "Q1396889$152458fe-434e-a46e-299c-36f3ffdb2c6b",
["mainsnak"] = table#3 {
["datatype"] = "commonsMedia",
["datavalue"] = table#4 {
["type"] = "string",
["value"] = "Animal Farm - 1st edition.jpg",
},
["property"] = "P18",
["snaktype"] = "value",
},
["qualifiers"] = table#5 {
["P2096"] = table#6 {
table#7 {
["datatype"] = "monolingualtext",
["datavalue"] = table#8 {
["type"] = "monolingualtext",
["value"] = table#9 {
["language"] = "en",
["text"] = "First edition cover",
},
},
["hash"] = "719fdb5af8c9cf202f12c986beda9207ac699d04",
["property"] = "P2096",
["snaktype"] = "value",
},
table#10 {
["datatype"] = "monolingualtext",
["datavalue"] = table#11 {
["type"] = "monolingualtext",
["value"] = table#12 {
["language"] = "be",
["text"] = "Вокладка першага выдання, 1945 г.",
},
},
["hash"] = "9293fc3f943a84c3663df41728563a01e7ff6b43",
["property"] = "P2096",
["snaktype"] = "value",
},
},
},
["qualifiers-order"] = table#13 {
"P2096",
},
["rank"] = "normal",
["type"] = "statement",
},
}
Some test cases for the function formatDate. Call like {{#invoke:WikidataIB |formatDate | 1 August 30 BCE |bc=BCE |df=dmy}}
Input date: 1 August 30 BCE, 12:39:56
no parameters
1 avgust 30 pr. n. št.
1 avgust 30 pr. n. št.
bc=BC
1 avgust 30 pr. n. št.
1 avgust 30 pr. n. št.
bc=BCE
1 August 30 pr. n. št.
1 August 30 pr. n. št.
bc=bc
1 August 30 pr. n. št.
1 August 30 pr. n. št.
bc=bce
1 August 30 pr. n. št.
1 August 30 pr. n. št.
bc=XYZ
1 August 30 pr. n. št.
1 August 30 pr. n. št.
df=dmy
1 August 30 pr. n. št.
1 August 30 pr. n. št.
df=DMY
1 August 30 pr. n. št.
1 August 30 pr. n. št.
df=mdy
August 1, 30 pr. n. št.
August 1, 30 pr. n. št.
df=MDY
August 1, 30 pr. n. št.
August 1, 30 pr. n. št.
df=ABC
1 August 30 pr. n. št.
1 August 30 pr. n. št.
df=y
30 pr. n. št.
30 pr. n. št.
bc=BCE df=dmy
1 August 30 pr. n. št.
1 August 30 pr. n. št.
bc=BCE df=mdy
1 August 30 pr. n. št.
1 August 30 pr. n. št.
bc=BCE df=y
30 pr. n. št.
30 pr. n. št.
bc=BC df=dmy
1 August 30 pr. n. št.
1 August 30 pr. n. št.
bc=BC df=mdy
August 1, 30 pr. n. št.
August 1, 30 pr. n. št.
bc=BC df=y
30 pr. n. št.
30 pr. n. št.
Input date: 20 January 2017, 12:39:56
no parameters
20 January 2017
20 January 2017
bc=BC
20 January 2017
20 January 2017
bc=BCE
20 January 2017
20 January 2017
bc=bc
20 January 2017
20 January 2017
bc=bce
20 January 2017
20 January 2017
bc=XYZ
20 January 2017
20 January 2017
df=dmy
20 January 2017
20 January 2017
df=DMY
20 January 2017
20 January 2017
df=mdy
January 20, 2017
January 20, 2017
df=MDY
January 20, 2017
January 20, 2017
df=ABC
20 January 2017
20 January 2017
df=y
2017
2017
bc=BCE df=dmy
20 January 2017
20 January 2017
bc=BCE df=mdy
20 January 2017
20 January 2017
bc=BCE df=y
2017
2017
bc=BC df=dmy
20 January 2017
20 January 2017
bc=BC df=mdy
January 20, 2017
January 20, 2017
bc=BC df=y
2017
2017