EntitySchema:E3: Difference between revisions
Jump to navigation
Jump to search
(Updated Schema text) |
(Updated Schema text) |
||
Schema / Line 18: | Schema / Line 18: | ||
} | } | ||
<versionType> EXTRA | <versionType> EXTRA wdt:P2 { | ||
# subclass of version | # subclass of version | ||
wdt:P2 [wd:Q1484] ; | |||
} | } |
Revision as of 18:33, 6 July 2022
language code | label | description | aliases | edit |
---|---|---|---|---|
en | version | structure for a version | edit |
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] ;
}