EntitySchema:E3: Difference between revisions

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


<versionType> EXTRA wfdt:P2 {
<versionType> EXTRA wdt:P2 {
   # subclass of version
   # subclass of version
   wfdt:P2 [wfd:Q1484] ;
   wdt:P2 [wd:Q1484] ;
}
}

Revision as of 18:33, 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 @<versionType>;

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

<versionType> EXTRA wdt:P2 {
  # subclass of version
  wdt:P2 [wd:Q1484] ;
}