taxon name (E3)

Revision as of 13:13, 14 October 2020 by Andrawaag (talk | contribs) (Updated Schema text)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
language codelabeldescriptionaliasesedit
entaxon nameSchema on a taxon nameedit
PREFIX pq: <http://trex-taxonomy.wiki.opencura.com/prop/qualifier/>
PREFIX ps: <http://trex-taxonomy.wiki.opencura.com/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/direct/>
PREFIX trex: <https://trex-taxonomy.wiki.opencura.com/wiki/Item:>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
start = @<trex-taxonname>

<trex-taxonname> {
  p:P1 @<is_a> ;
  p:P15 @<hasTreatment> ;
  p:P27 @<authority> ;
}

<is_a> {
  ps:P1 [trex:Q20] ; # Q20= taxonname
}

<hasTreatment> {
  ps:P15 {p:P1 
    		{ps:P1 trex:Q22}; # is a treatment (Q22
         };
}

<authority> {
  ps:P27 xsd:string ;
}