EntitySchema:E5: Difference between revisions
Jump to navigation
Jump to search
(Created a new Schema: Publication) |
(Updated Schema text) |
||
Schema / Line 1: | Schema / Line 1: | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |||
PREFIX pq: <http://trex-taxonomy.wiki.opencura.com/prop/qualifier/> | PREFIX pq: <http://trex-taxonomy.wiki.opencura.com/prop/qualifier/> | ||
PREFIX ps: <http://trex-taxonomy.wiki.opencura.com/prop/statement/> | PREFIX ps: <http://trex-taxonomy.wiki.opencura.com/prop/statement/> | ||
Schema / Line 23: | Schema / Line 24: | ||
p:P17 @<volume> ; | p:P17 @<volume> ; | ||
p:P7 @<date_of_publication> ; | p:P7 @<date_of_publication> ; | ||
p:P25 @<contains_treatment> | p:P25 @<contains_treatment>+ ; | ||
} | } | ||
Schema / Line 40: | Schema / Line 41: | ||
<author> { | <author> { | ||
ps:P22 E4:trex-human | ps:P22 E4:trex-human | ||
} | |||
<title> { | |||
ps:P16 rdf:langString ; | |||
} | |||
<volume> { | |||
ps:P17 xsd:string ; | |||
} | |||
<date_of_publication> { | |||
ps:P7 xsd:dateTime ; | |||
} | |||
<trex-publication> { | |||
ps:P25 E4:trex_treatment ; | |||
} | } |
Latest revision as of 18:00, 11 September 2020
language code | label | description | aliases | edit |
---|---|---|---|---|
en | Publication | Schama for a publication in trex-taxonomy | edit |
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
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
}
<title> {
ps:P16 rdf:langString ;
}
<volume> {
ps:P17 xsd:string ;
}
<date_of_publication> {
ps:P7 xsd:dateTime ;
}
<trex-publication> {
ps:P25 E4:trex_treatment ;
}