EntitySchema:E2: Difference between revisions

From T-rex Taxonomy
Jump to navigation Jump to search
(Created a new Schema: specimen)
 
(Updated Schema text)
Schema / Line 1: Schema / Line 1:
PREFIX pq: <http://trex-taxonomy.wiki.opencura.com/prop/qualifier/>
PREFIX pq: <http://trex-taxonomy.wiki.opencura.com/prop/qualifier/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX ps: <http://trex-taxonomy.wiki.opencura.com//prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/direct/>
PREFIX trex: <https://trex-taxonomy.wiki.opencura.com/wiki/Item:>
PREFIX trex: <https://trex-taxonomy.wiki.opencura.com/wiki/Item:>

Revision as of 12:08, 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:~] ;
}