EntitySchema:E3: Difference between revisions

From Minecraft JE Data
Jump to navigation Jump to search
(Updated Schema text)
(Updated Schema text)
Schema / Line 11: Schema / Line 11:


<version> EXTRA wdt:P1 {
<version> EXTRA wdt:P1 {
   wdt:P1 @<versionType>;
   wdt:P1 [wd:Q1336];


   wdt:P10 xsd:dateTime ?;
   wdt:P10 xsd:dateTime ?;
   wdt:P18 xsd:decimal ?;
   wdt:P18 xsd:decimal ?;
   wdt:P17 xsd:decimal ?;
   wdt:P17 xsd:decimal ?;
}
<versionType> EXTRA wdt:P2 {
  # subclass of version
  wdt:P2 [wd:Q1484] ;
}
}

Revision as of 18:46, 6 July 2022

language codelabeldescriptionaliasesedit
enversionstructure for a versionedit
PREFIX wd: <http://mcje-data.wikibase.cloud/entity/>
PREFIX wdt: <http://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> EXTRA wdt:P1 {
  wdt:P1 [wd:Q1336];

  wdt:P10 xsd:dateTime ?;
  wdt:P18 xsd:decimal ?;
  wdt:P17 xsd:decimal ?;
}