EntitySchema talk:E1: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 11: Line 11:
   wdt:P24 @<version>; #added in
   wdt:P24 @<version>; #added in
   wdt:P4 . +; # one or more resource location
   wdt:P4 . +; # one or more resource location
   wdt:P45 @<rarity> ?;
   wdt:P45 [wd:Q1677 wd:Q1678 wd:Q1679 wd:Q1680] ?;
  wdt:P46 @<item-tag> *;
}
}


Line 18: Line 19:
}
}


<rarity> {
<item-tag> {
   wdt:P1 [wd:Q1676];
   wdt:P1 [wd:Q1683];
}
}
|translation=start at <item>
|translation=start at <item>
Line 27: Line 28:
**1 {{P|P24}} which has shape <version>
**1 {{P|P24}} which has shape <version>
**1 or more {{P|P4}} with any value
**1 or more {{P|P4}} with any value
**0 or 1 {{P|P45}} which has shape <rarity>
**0 or 1 {{P|P45}} which is one of {{Q|Q1677}} {{Q|Q1678}} {{Q|Q1679}} {{Q|Q1680}}
**0 or more {{P|P46}} which has shape <item-tag>
*<version> with:
*<version> with:
**1 {{P|P1}} which is one of {{Q|Q1336}} {{Q|Q1445}} {{Q|Q1492}} {{Q|Q1488}} {{Q|Q1489}} {{Q|Q1491}}
**1 {{P|P1}} which is one of {{Q|Q1336}} {{Q|Q1445}} {{Q|Q1492}} {{Q|Q1488}} {{Q|Q1489}} {{Q|Q1491}}
*<rarity> with:
*<item-tag> with:
**1 {{P|P1}} which is one of {{Q|Q1676}}
**1 {{P|P1}} which is one of {{Q|Q1683}}
}}
}}