EntitySchema:E1: Difference between revisions
Jump to navigation
Jump to search
GreenReaper (talk | contribs) (Updated Schema text) |
GreenReaper (talk | contribs) (Updated Schema text: Doesn't like https: in the prefixes. Add query.) |
||
Schema / Line 1: | Schema / Line 1: | ||
PREFIX wfd: < | PREFIX wfd: <http://furry.wiki.opencura.com/entity/> | ||
PREFIX wfdt: < | PREFIX wfdt: <http://furry.wiki.opencura.com/prop/direct/> | ||
PREFIX wfp: < | PREFIX wfp: <http://furry.wiki.opencura.com/prop/> | ||
PREFIX wfps: < | PREFIX wfps: <http://furry.wiki.opencura.com/prop/statement/> | ||
PREFIX wfpq: < | 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#> | ||
# | # 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.} | |||
# validates on https://shex-simple.toolforge.org/wikidata/packages/shex-webapp/doc/shex-simple.html | # validates on https://shex-simple.toolforge.org/wikidata/packages/shex-webapp/doc/shex-simple.html | ||
Schema / Line 14: | Schema / Line 17: | ||
start = @<Convention> | start = @<Convention> | ||
<Convention> { | <Convention> { |
Revision as of 21:34, 27 March 2021
language code | label | description | aliases | edit |
---|---|---|---|---|
en | Convention | (usually annual) instance of a organized gathering of furries | furcon | furry con | edit |
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#>
# 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.}
# 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] ;
}