EntitySchema:E5: Difference between revisions

From T-rex Taxonomy
Jump to navigation Jump to search
(Created a new Schema: Publication)
(No difference)

Revision as of 12:34, 11 September 2020

language codelabeldescriptionaliasesedit
enPublicationSchama for a publication in trex-taxonomyedit
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#>

# E1: treatment
IMPORT <https://trex-taxonomy.wiki.opencura.com/wiki/Special:EntitySchemaText/E1>
PREFIX E1: <https://trex-taxonomy.wiki.opencura.com/wiki/Special:EntitySchemaText/E1#>

# E4: treatment
IMPORT <https://trex-taxonomy.wiki.opencura.com/wiki/Special:EntitySchemaText/E4>
PREFIX E4: <https://trex-taxonomy.wiki.opencura.com/wiki/Special:EntitySchemaText/E4#>

start = @<trex-human>

<trex-publication> {
  	p:P1 @<is_a> ;
    p:P19 @<DOI> ;
	p:P12 @<authorString> ;
	p:P22 @<author> ;
	p:P14 @<title> ;
	p:P17 @<volume> ;
	p:P7 @<date_of_publication>  ;
	p:P25 @<contains_treatment> 
}

<is_a> {
  ps:P1 [trex:Q38] ; # Q38= Scholarly article
}

<DOI> {
  ps:P19 xsd:string ; # TODO see if this can be limited to DOI format
}

<authorString> {
  ps:P12 xsd:string ;
}

<author> {
  ps:P22 E4:trex-human
}