Convention (E1)

From WikiFur Data
Revision as of 23:27, 12 April 2021 by GreenReaper (talk | contribs) (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.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
language codelabeldescriptionaliasesedit
enConvention(usually annual) instance of a organized gathering of furriesfurcon | furry conedit
PREFIX wfd: <>
PREFIX wfdt: <>
PREFIX wfp: <>
PREFIX wfps: <>
PREFIX wfpq: <>

PREFIX xsd: <> 
PREFIX geo: <>

/* validates with CORS Everywhere extension enabled with whitelist: /^https?\// 
   using ShEx2 Validator:[]&textMapIsSparqlQuery&schemaURL=//

* query for all instances of ConFuzzled:
PREFIX wfd: <>
PREFIX wfdt: <>
SELECT ?eventInstance { ?eventSeries wfdt:P2 wfd:Q2. ?eventInstance wfdt:P1 ?eventSeries.}

* alt direct query map: wfd:Q4@START
* selects:

start = @<Convention>

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

  # start time
  wfdt:P6 xsd:dateTime +;

  # attendance
  wfdt:P5 xsd:decimal ?;

  # official website
  wfdt:P4 IRI ?;

  # coordinate location
  wfdt:P3 geo:wktLiteral ?;

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