Difference between revisions of "EntitySchema:E1"

From WikiFur Data
Jump to navigation Jump to search
(Updated Schema text)
(Updated Schema text: Fixup after testing with https://shex-simple.toolforge.org/wikidata/packages/shex-webapp/doc/shex-simple.html)
Schema / Line 1: Schema / Line 1:
PREFIX wfd: <http://furry.wiki.opencura.com/entity/>
PREFIX wfd: <https://furry.wiki.opencura.com/entity/>
PREFIX wfdt: <http://furry.wiki.opencura.com/prop/direct/>
PREFIX wfdt: <https://furry.wiki.opencura.com/prop/direct/>
PREFIX wfp: <http://furry.wiki.opencura.com/prop/>
PREFIX wfp: <https://furry.wiki.opencura.com/prop/>
PREFIX wfps: <http://furry.wiki.opencura.com/prop/statement/>
PREFIX wfps: <https://furry.wiki.opencura.com/prop/statement/>
PREFIX wfpq: <http://furry.wiki.opencura.com/prop/qualifier/>
PREFIX wfpq: <https://furry.wiki.opencura.com/prop/qualifier/>


PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>  
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>  


# query for confuzzled: select ?convention where { ?eventSeries wfdt:P2 wfd:Q2. ?convention wfd:P1 ?eventSeries }
# potential query for confuzzled: select ?convention where { ?eventSeries wfdt:P2 wfd:Q2. ?convention wfd:P1 ?eventSeries }


start = <Convention>
# validates on https://shex-simple.toolforge.org/wikidata/packages/shex-webapp/doc/shex-simple.html
# query map : wd:Q4@START
# tested against content of https://furry.wiki.opencura.com/wiki/Special:EntityData/Q4.ttl and parts of https://furry.wiki.opencura.com/wiki/Special:EntityData/Q1.ttl
 
start = @<Convention>


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


   # start time
   # start time
   wfd:P6 xsd:date;
   wfdt:P6 xsd:dateTime +;


   # attendance
   # attendance
   wfd:P5 xsd:int?;
   wfdt:P5 xsd:decimal ?;
}
}


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

Revision as of 21:40, 25 March 2021

language codelabeldescriptionaliasesedit
enConvention(usually annual) instance of a organized gathering of furriesfurcon | furry conedit
PREFIX wfd: <https://furry.wiki.opencura.com/entity/>
PREFIX wfdt: <https://furry.wiki.opencura.com/prop/direct/>
PREFIX wfp: <https://furry.wiki.opencura.com/prop/>
PREFIX wfps: <https://furry.wiki.opencura.com/prop/statement/>
PREFIX wfpq: <https://furry.wiki.opencura.com/prop/qualifier/>

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 

# potential query for confuzzled: select ?convention where { ?eventSeries wfdt:P2 wfd:Q2. ?convention wfd:P1 ?eventSeries }

# validates on https://shex-simple.toolforge.org/wikidata/packages/shex-webapp/doc/shex-simple.html
# query map : wd:Q4@START
# tested against content of https://furry.wiki.opencura.com/wiki/Special:EntityData/Q4.ttl and parts of https://furry.wiki.opencura.com/wiki/Special:EntityData/Q1.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] ;
}