EntitySchema:E1: Difference between revisions

Jump to navigation Jump to search
(Updated Schema text: Doesn't like https: in the prefixes. Add query.)
(Updated Schema text: Fixup instructions for validation)
Schema / Line 7: Schema / Line 7:
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>  
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>  


# query for all instances of ConFuzzled
/* validates with CORS Everywhere extension enabled with whitelist: /^https?...shex-simple.toolforge.org\//
# PREFIX wfd: <http://furry.wiki.opencura.com/entity/>
  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
# 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 for all instances of ConFuzzled:
# query map : wd:Q4@START
PREFIX wfd: <http://furry.wiki.opencura.com/entity/>
# 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
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>
start = @<Convention>