EntitySchema:E1: Difference between revisions

Updated Schema text
(Updated Schema text)
(Updated Schema text)
 
(One intermediate revision by the same user not shown)
Schema / Line 1: Schema / Line 1:
PREFIX wd: <https://mcje-data.wikibase.cloud/entity/>
PREFIX wd: <https://mcje-data.wikibase.cloud/entity/>
PREFIX wdt: <https://mcje-data.wikibase.cloud/prop/direct/>
PREFIX wdt: <https://mcje-data.wikibase.cloud/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>


start = @<item>
start = @<item>
Schema / Line 8: Schema / Line 10:
   wdt:P20 [wd:Q1298]; #part of item registry
   wdt:P20 [wd:Q1298]; #part of item registry
   wdt:P24 @<version>; #added in
   wdt:P24 @<version>; #added in
   wdt:P4 . +; # one or more resource location
   wdt:P4 xsd:string +; # one or more resource location
   wdt:P45 @<rarity> ?;
   wdt:P45 [wd:Q1677 wd:Q1678 wd:Q1679 wd:Q1680] ?;
  wdt:P46 @<item-tag> *;
}
}


Schema / Line 16: Schema / Line 19:
}
}


<rarity> {
<item-tag> {
   wdt:P1 [wd:Q1676];
   wdt:P1 [wd:Q1683];
}
}