EntitySchema:E2: Difference between revisions
Jump to navigation
Jump to search
GreenReaper (talk | contribs) (Updated Schema text: Make period optional for now (probably, it will be the mandatory one in the future)) |
GreenReaper (talk | contribs) (Updated Schema British English label: Convention (Cradle-compatible)) |
||
(5 intermediate revisions by the same user not shown) | |||
Labels / en-gb | |||
Convention (Cradle-compatible) | |||
Schema / Line 1: | Schema / Line 1: | ||
PREFIX wd: < | PREFIX wd: <https://furry.wikibase.cloud/entity/> | ||
PREFIX wdt: < | PREFIX wdt: <https://furry.wikibase.cloud/prop/direct/> | ||
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/> | PREFIX edtf: <http://id.loc.gov/datatypes/edtf/> | ||
/* | /* query for all instances of ConFuzzled: | ||
PREFIX wd: <https://furry.wikibase.cloud/entity/> | |||
PREFIX wdt: <https://furry.wikibase.cloud/prop/direct/> | |||
SELECT ?eventInstance { ?eventSeries wdt:P2 wd:Q2. ?eventInstance wdt:P1 ?eventSeries.} | |||
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%2FE2 | |||
Previously needed CORS Everywhere extension enabled with whitelist: /^https?...shex-simple.toolforge.org\// | |||
* alt direct query map: wfd:Q4@START | * alt direct query map: wfd:Q4@START | ||
* selects: https://furry. | * selects: https://furry.wikibase.cloud/wiki/Special:EntityData/Q4.ttl | ||
*/ | */ | ||
Latest revision as of 15:32, 7 December 2023
language code | label | description | aliases | edit |
---|---|---|---|---|
en | Convention (Cradle-compatible) | edit | ||
en-gb | Convention (Cradle-compatible) | edit |
PREFIX wd: <https://furry.wikibase.cloud/entity/>
PREFIX wdt: <https://furry.wikibase.cloud/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX edtf: <http://id.loc.gov/datatypes/edtf/>
/* query for all instances of ConFuzzled:
PREFIX wd: <https://furry.wikibase.cloud/entity/>
PREFIX wdt: <https://furry.wikibase.cloud/prop/direct/>
SELECT ?eventInstance { ?eventSeries wdt:P2 wd:Q2. ?eventInstance wdt:P1 ?eventSeries.}
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%2FE2
Previously needed CORS Everywhere extension enabled with whitelist: /^https?...shex-simple.toolforge.org\//
* alt direct query map: wfd:Q4@START
* selects: https://furry.wikibase.cloud/wiki/Special:EntityData/Q4.ttl
*/
start = @<Convention>
<Convention> EXTRA wdt:P1 {
# instance of
wdt:P1 @<ConventionSeries> ;
# start time
wdt:P6 xsd:dateTime +;
# period
wdt:P16 edtf:EDTF ?;
# attendance
wdt:P5 xsd:decimal ?;
# official website
wdt:P4 IRI ?;
# coordinate location
wdt:P3 geo:wktLiteral ?;
}
<ConventionSeries> EXTRA wdt:P2 {
# subclass of furry convention
wdt:P2 [wd:Q2] ;
}