EntitySchema:E1: Difference between revisions

Updated Schema text: fix prefix on period
(Updated Schema text: +EXTRA syntax, meaning that the specified predicate may be used in valid objects in a way outside that specified by the shape (i.e. it can be an instance of or subclass of something else too), which is currently required for Cradle's regex to identify it.)
(Updated Schema text: fix prefix on period)
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(3 intermediate revisions by the same user not shown)
Schema / Line 1: Schema / Line 1:
PREFIX wfd: <http://furry.wiki.opencura.com/entity/>
PREFIX wfd: <https://furry.wikibase.cloud/entity/>
PREFIX wfdt: <http://furry.wiki.opencura.com/prop/direct/>
PREFIX wfdt: <https://furry.wikibase.cloud/prop/direct/>
PREFIX wfp: <http://furry.wiki.opencura.com/prop/>
PREFIX wfps: <http://furry.wiki.opencura.com/prop/statement/>
PREFIX wfpq: <http://furry.wiki.opencura.com/prop/qualifier/>
 
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>  
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>  
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX edtf: <http://id.loc.gov/datatypes/edtf/>


/* validates with CORS Everywhere extension enabled with whitelist: /^https?...shex-simple.toolforge.org\//
/* query for all instances of ConFuzzled:
  using ShEx2 Validator: https://shex-simple.toolforge.org/wikidata/packages/shex-webapp/doc/shex-simple.html?data=Endpoint:%20https://furry.wiki.opencura.com/query/sparql&hideData&manifest=[]&textMapIsSparqlQuery&schemaURL=//furry.wiki.opencura.com%2Fwiki%2FSpecial%3AEntitySchemaText%2FE1
PREFIX wfd: <https://furry.wikibase.cloud/entity/>
PREFIX wfdt: <https://furry.wikibase.cloud/prop/direct/>
SELECT ?eventInstance { ?eventSeries wfdt:P2 wfd:Q2. ?eventInstance wfdt:P1 ?eventSeries.}


* query for all instances of ConFuzzled:
* validates using ShEx2 Validator: https://shex-simple.toolforge.org/wikidata/packages/shex-webapp/doc/shex-simple.html?data=Endpoint:%20https://furry.wikibase.cloud/query/sparql&hideData&manifest=[]&textMapIsSparqlQuery&schemaURL=//furry.wikibase.cloud%2Fwiki%2FSpecial%3AEntitySchemaText%2FE1
PREFIX wfd: <http://furry.wiki.opencura.com/entity/>
 
PREFIX wfdt: <http://furry.wiki.opencura.com/prop/direct/>
Previously needed CORS Everywhere extension enabled with whitelist: /^https?...shex-simple.toolforge.org\//
SELECT ?eventInstance { ?eventSeries wfdt:P2 wfd:Q2. ?eventInstance wfdt:P1 ?eventSeries.}


* alt direct query map: wfd:Q4@START
* alt direct query map: wfd:Q4@START
* selects: https://furry.wiki.opencura.com/wiki/Special:EntityData/Q4.ttl
* selects: https://furry.wikibase.cloud/wiki/Special:EntityData/Q4.ttl
*/
*/


Schema / Line 28: Schema / Line 26:
   # start time
   # start time
   wfdt:P6 xsd:dateTime +;
   wfdt:P6 xsd:dateTime +;
  # period
  wfdt:P16 edtf:EDTF ?;


   # attendance
   # attendance
Bureaucrats, emailconfirmed, Administrators
276

edits