EntitySchema:E3: Difference between revisions

From Minecraft JE Data
Jump to navigation Jump to search
(Updated Schema text)
(Updated Schema text)
Schema / Line 10: Schema / Line 10:
start = @<version>
start = @<version>


<version> EXTRA wdt:P1 {
<version> {
   wdt:P1 [wd:Q1336 wd:Q1445 wd:Q1492 wd:Q1488 wd:Q1489 wd:Q1491]; # instance of
   wdt:P1 [wd:Q1336 wd:Q1445 wd:Q1492 wd:Q1488 wd:Q1489 wd:Q1491]; # instance of
   wdt:P10 xsd:edtf;          # upload time
   wdt:P10 xsd:edtf;          # upload time

Revision as of 14:22, 13 July 2022

language codelabeldescriptionaliasesedit
enversionstructure for a versionedit
PREFIX wd: <https://mcje-data.wikibase.cloud/entity/>
PREFIX wdt: <https://mcje-data.wikibase.cloud/prop/direct/>

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 

/*
https://shex-simple.toolforge.org/wikidata/packages/shex-webapp/doc/shex-simple.html?data=Endpoint:%20https://mcje-data.wikibase.cloud/query/sparql&hideData&manifest=[]&textMapIsSparqlQuery&schemaURL=//mcje-data.wikibase.cloud%2Fwiki%2FSpecial%3AEntitySchemaText%2FE3
*/

start = @<version>

<version> {
  wdt:P1 [wd:Q1336 wd:Q1445 wd:Q1492 wd:Q1488 wd:Q1489 wd:Q1491]; # instance of
  wdt:P10 xsd:edtf;          # upload time
  wdt:P10 xsd:dateTime; # upload time
  wdt:P18 xsd:decimal ?; # protocol version
  wdt:P17 xsd:decimal ?; # data version
  wdt:P8 xsd:string;          # client json file ID
}