EntitySchema:E3: Difference between revisions

From T-rex Taxonomy
Jump to navigation Jump to search
(Created a new Schema: taxon name)
 
(Updated Schema text)
 
Schema / Line 23: Schema / Line 23:


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

Latest revision as of 13:13, 14 October 2020

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 ;
}