Convention (E1)

From WikiFur Data
Revision as of 20:27, 1 April 2021 by GreenReaper (talk | contribs) (Updated Schema text: Fixup instructions for validation)
Jump to navigation Jump to search
language codelabeldescriptionaliasesedit
enConvention(usually annual) instance of a organized gathering of furriesfurcon | furry conedit
PREFIX wfd: <http://furry.wiki.opencura.com/entity/>
PREFIX wfdt: <http://furry.wiki.opencura.com/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#> 

/* validates with CORS Everywhere extension enabled with whitelist: /^https?...shex-simple.toolforge.org\// 
   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

* query for all instances of ConFuzzled:
PREFIX wfd: <http://furry.wiki.opencura.com/entity/>
PREFIX wfdt: <http://furry.wiki.opencura.com/prop/direct/>
SELECT ?eventInstance { ?eventSeries wfdt:P2 wfd:Q2. ?eventInstance wfdt:P1 ?eventSeries.}

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

start = @<Convention>

<Convention> {
  # instance of
  wfdt:P1 @<ConventionSeries> ;

  # start time
  wfdt:P6 xsd:dateTime +;

  # attendance
  wfdt:P5 xsd:decimal ?;
}

<ConventionSeries> {
  # subclass of furry convention
  wfdt:P2 [wfd:Q2] ;
}