EntitySchema:E2: Difference between revisions

From T-rex Taxonomy
Jump to navigation Jump to search
(Updated Schema text)
(Updated Schema text)
 
Schema / Line 16: Schema / Line 16:


<is_a> {
<is_a> {
   ps:P1 trex:Q24 ; # Q24 = speciment
   ps:P1 [trex:Q24] ; # Q24 = speciment
}
}



Latest revision as of 12:10, 11 September 2020

language codelabeldescriptionaliasesedit
enspecimenschema about trex specimensedit
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-specimen>

<trex-specimen> {
  p:P1 @<is_a> ;
  p:P3 @<basisOfRecord> ;
  p:P4 @<collectionCode> ;
  p:P8 @<scientificName> ;
  p:P9 @<subject_has_role> ;
  p:P28 @<used_in> ;
}

<is_a> {
  ps:P1 [trex:Q24] ; # Q24 = speciment
}

<basisOfRecord> {
  ps:P3 [
    trex:Q26 # = Q26 PreservedSpecimen
  ];
}

<collectionCode> {
  ps:P4 xsd:string ;
}

<scientificName> {
  ps:P8 [trex:~] ; # TODO discuss with the network the shape of scientific names
  pq:P7 xsd:datetime ;
}

<subject_has_role> {
  ps:P9 [
    trex:Q37 # Q37 = Holotype
  ] ; # TODO complete this value set
  pq:P10 [trex:~] ; # of any trex item .
}

<used_in> {
  ps:P28 [trex:~] ;
}